Templates: Difference between revisions
m Small correction on untranslated text from character templates |
|||
| Line 240: | Line 240: | ||
|- | |- | ||
| {{Character|Paola}} | | {{Character|Paola}} | ||
| <code><nowiki>{{Character|< | | <code><nowiki>{{Character|<name>|<opt.:long>}}</nowiki></code> | ||
| <code><nowiki>{{Character|Paola}}</nowiki></code> | | <code><nowiki>{{Character|Paola}}</nowiki></code> | ||
| [[Template:Character]] | | [[Template:Character]] | ||
Revision as of 08:59, 20 May 2026
Templates are standard wiki pages whose content is designed to be embedded inside other pages. Templates follow a convention that the name is prefixed with "Template:", assigning it to the template namespace; besides this, you can create them like any other wiki page.
To embedded a template, you use double opening & closing curly brackets Template:Template name.
How to use a Template
To embedded a template, you use double opening & closing curly brackets Template:Template name :
{{Template Name|Parameter 1|Parameter 2|etc..}}
Parameters: Parameters allow to modify the behaviour of the template, so the resulting content is different.
For instance
{{glory}}{{glory|mush}}How to create a Template
To create a template, go to a new page
Template:<Template-Name>
, and copy the content of Template:Template so that we keep a common standard across the wiki.
Templates List
A red link means that the Template has not been created yet.
Callout
| Code | Plus d'info | |||
|---|---|---|---|---|
|
{{Info|Information utile.}}
|
Template:Info | ||
|
{{Attention|Information importante.}}
|
Template:Attention | ||
|
{{Warning|Vital information!}}
|
Template:Warning |
Callout (inline)
| Code | Plus d'info | |
|---|---|---|
| Template:Inline box | {{Info Inline|<Nom=nom de l'encadré>|Texte=Information.}}
|
Template:Info Inline |
| Template:Attention Inline | {{Attention Inline|Information.}}
|
Template:Attention Inline |
| Template:Bug Inline | {{Bug Inline|Text goes here}}
|
Template:Bug Inline |
{{Todo|Text goes here}}
|
Template:Todo | |
| Template:Confirm | {{Confirm|Text goes here}}
|
Template:Confirm |
| Template:Dirty Inline | {{Dirty Inline|probabilities}}
|
Template:Dirty Inline |
Daedalus' Resources
| Code | Template Page | Linked Page | |
|---|---|---|---|
{{Oxygen}}
|
Template:Oxygen | Oxygen | |
{{Oxygen|low}}
|
Template:Oxygen | Oxygen | |
{{Fuel}}
|
Template:Fuel | Fuel | |
{{Armor}}
|
Template:Armor | Armor and Shield | |
{{Shield}}
|
Template:Shield | Armor and Shield | |
{{Charges}}
|
Template:Charges | Charges |
Character's Resources
| Code | Template Page | Linked Page | |
|---|---|---|---|
{{AP}}
|
Template:AP | Action and Movement Points | |
{{MP}}
|
Template:MP | Action and Movement Points | |
{{HP}}
|
Template:HP | Health Points | |
{{Morale}}
|
Template:Morale | Morale Points | |
{{AP|IT}}
|
Template:AP | Action and Movement Points | |
{{AP|Garden}}
|
Template:AP | Action and Movement Points | |
{{AP|Repair}}
|
Template:AP | Action and Movement Points | |
{{AP|Cook}}
|
Template:AP | Action and Movement Points | |
{{AP|PILGRED}}
|
Template:AP | Action and Movement Points | |
{{AP|NERON}}
|
Template:AP | Action and Movement Points | |
{{AP|Heal}}
|
Template:AP | Action and Movement Points | |
{{AP|Shot}}
|
Template:AP | Action and Movement Points | |
{{AP|Torture}}
|
Template:AP | Action and Movement Points | |
{{Glory}}
|
Template:Glory | Glory | |
{{Glory|mush}}
|
Template:Glory | Glory | |
{{Glory|mix}}
|
Template:Glory | Glory | |
{{Spore}}
|
Template:Spore | Spores |
Shortcuts to game's content
| Rendu | Usage | Exemple | Modèle | Article correspondant |
|---|---|---|---|---|
{{Item|<item name>|<size>}}
|
{{Item|Post-its|16}}
|
Template:Item | Items | |
{{Skill|<nom>}}
|
{{Skill|Anonymush}}
|
Template:Skill | Skills | |
{{Character|<name>|<opt.:long>}}
|
{{Character|Paola}}
|
Template:Character | Playable Characters | |
{{NPC|<first name>|<opt.:long>}}
|
{{NPC|Kivanç}}
|
Template:NPC | Non-Player Characters | |
| Template:Trait | {{Trait|<Trait>}}
|
{{Traits|Pacifist}}
|
Template:Trait | Playable Characters |
{{Status|<Status>}}
|
{{Status|Inactive}}
|
Template:Status | Status | |
{{Disease}}
|
{{Disease}}
|
Template:Disease | List of diseases | |
| |
{{Disease|<name of disease>}}
|
{{Disease|Gastroenteritis}}
|
Template:Disease | List of diseases |
{{Disorder}}
|
{{Disorder}}
|
Template:Disorder | List of disorders | |
| |
{{Disorder|<name of disorder>}}
|
{{Disorder|Agoraphobia}}
|
Template:Disorder | List of disorders |
| |
{{Injury|<name of injury>}}
|
{{Injury|Hemmorrhage}}
|
Template:Injury | List of injuries |
{{Title|<title>}}
|
{{Title|Commander}}
|
Template:Title | Titles | |
{{Project|<project>}}
|
{{Project|Jukebox}}
|
Template:Project | Projects | |
{{Research|<Research>}}
|
{{Research|MycoAlarm}}
|
Template:Research | Research | |
Mankarog
|
{{Zone|<name>}}
|
{{Zone|Mankarog}}
|
Template:Zone | Zones |
| Template:Comms | {{Comms|<xyloph DB nickname>}}
|
{{Comms|<xyloph DB nickname>}}
|
Template:Comms | Xyloph |
| Template:Comms | {{Comms|<Rebel base or day>}}
|
{{Comms|<Rebel base or day>}}
|
Template:Comms | Rebel Bases |
{{Action|<text>|<opt.: coût>|<opt.: spécial>}}
|
{{Action|Shoot|1|Gun}}
|
Template:Action | List of actions |
Action Visibility Level
| Code | More info | Relevant article | |
|---|---|---|---|
| Invisible | {{Visibility|Invisible}}
|
Template:Visibility | Action Visibility |
| Private | {{Visibility|Private}}
|
Template:Visibility | Action Visibility |
{{Visibility|Covert}}
|
Template:Visibility | Action Visibility | |
{{Visibility|Secret}}
|
Template:Visibility | Action Visibility | |
{{Visibility|Spotted}}
|
Template:Visibility | Action Visibility | |
| Public | {{Visibility|Public}}
|
Template:Visibility | Action Visibility |
Misc.
| Code | Plus d'info | Lien contenu | |
|---|---|---|---|
{{QuickLink|Nom de l'article}}
|
Template:QuickLink | Variable | |
| Voir page template | {{Table Compétence|<nom de la compétence>}}
|
Template:Table Compétence | Compétences |
| Voir page template | {{Table Secteur|<nom du secteur>}}
|
Template:Table Secteur | Compétences |
{{NERON}}
|
Affiche NERON en gras avec son icon. | A créer |
Tooltips
Tooltips are usually displayed at the right of the page, formatting information about items, researches, ...
- Template:Tooltip Character
- Template:Tooltip Skill
- Template:Tooltip Skill Mush
- Template:Tooltip Project
- Template:Tooltip Research
- Template:Tooltip Item
- Template:Tooltip Equipment
- Template:Tooltip Végétal
- Template:Tooltip Portes
- Template:Tooltip Log
