Templates: Difference between revisions
→Shortcuts to game's content: Fixed link to Skills template |
m added link to the spanish page for templates |
||
| (15 intermediate revisions by 3 users not shown) | |||
| Line 30: | Line 30: | ||
! Plus d'info | ! Plus d'info | ||
|- | |- | ||
| {{Info| | | {{Info|Useful information.}} | ||
| <code><nowiki>{{Info|Information utile.}}</nowiki></code> | | <code><nowiki>{{Info|Information utile.}}</nowiki></code> | ||
| [[Template:Info]] | | [[Template:Info]] | ||
|- | |- | ||
| {{Attention| | | {{Attention|Important information.}} | ||
| <code><nowiki>{{Attention|Information importante.}}</nowiki></code> | | <code><nowiki>{{Attention|Information importante.}}</nowiki></code> | ||
| [[Template:Attention]] | | [[Template:Attention]] | ||
|- | |- | ||
| {{ | | {{Warning|Vital information!}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Warning|Vital information!}}</nowiki></code> | ||
| [[Template: | | [[Template:Warning]] | ||
|} | |} | ||
</div> | </div> | ||
| Line 51: | Line 51: | ||
! Plus d'info | ! Plus d'info | ||
|- | |- | ||
| {{Info Inline| | | {{Info Inline|Text=Information.}} | ||
| <code><nowiki>{{Info Inline|<Nom=nom de l'encadré>|Texte=Information.}}</nowiki></code> | | <code><nowiki>{{Info Inline|<Nom=nom de l'encadré>|Texte=Information.}}</nowiki></code> | ||
| [[Template:Info Inline]] | | [[Template:Info Inline]] | ||
| Line 71: | Line 71: | ||
| [[Template:Confirm]] | | [[Template:Confirm]] | ||
|- | |- | ||
| {{ | | {{Dirty Inline|probabilities if available}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Dirty Inline|probabilities}}</nowiki></code> | ||
| [[Template: | | [[Template:Dirty Inline]] | ||
|} | |} | ||
</div> | </div> | ||
| Line 84: | Line 84: | ||
! | ! | ||
! Code | ! Code | ||
! | ! Template Page | ||
! | ! Linked Page | ||
|- | |- | ||
| {{ | | {{Oxygen}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Oxygen}}</nowiki></code> | ||
| [[Template: | | [[Template:Oxygen]] | ||
| [[ | | [[Oxygen]] | ||
|- | |- | ||
| {{ | | {{Oxygen|low}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Oxygen|low}}</nowiki></code> | ||
| [[Template: | | [[Template:Oxygen]] | ||
| [[ | | [[Oxygen]] | ||
|- | |- | ||
| {{Fuel}} | | {{Fuel}} | ||
| Line 102: | Line 102: | ||
| [[Fuel]] | | [[Fuel]] | ||
|- | |- | ||
| {{ | | {{Armor}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Armor}}</nowiki></code> | ||
| [[ | | [[Template:Armor]] | ||
| [[ | | [[Armor and Shield]] | ||
|- | |- | ||
| {{ | | {{Shield}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Shield}}</nowiki></code> | ||
| [[Template: | | [[Template:Shield]] | ||
| [[ | | [[Armor and Shield]] | ||
|- | |- | ||
| {{Charges}} | | {{Charges}} | ||
| Line 227: | Line 227: | ||
! Article correspondant | ! Article correspondant | ||
|- | |- | ||
| {{ | | {{Item|Post-its|16}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Item|<item name>|<size>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Item|Post-its|16}}</nowiki></code> | ||
| [[Template: | | [[Template:Item]] | ||
| [[ | | [[Items]] | ||
|- | |- | ||
| {{Skill|Anonymush}} | | {{Skill|Anonymush}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Skill|<nom>}}</nowiki></code> | ||
| <code><nowiki>{{Skill|Anonymush}}</nowiki></code> | | <code><nowiki>{{Skill|Anonymush}}</nowiki></code> | ||
| [[Template:Skill]] | | [[Template:Skill]] | ||
| [[Skills]] | | [[Skills]] | ||
|- | |- | ||
| {{ | | {{Character|Paola}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Character|<name>|<opt.:long>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Character|Paola}}</nowiki></code> | ||
| [[Template: | | [[Template:Character]] | ||
| [[ | | [[Playable Characters]] | ||
|- | |- | ||
| {{ | | {{NPC|Kivanç}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{NPC|<first name>|<opt.:long>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{NPC|Kivanç}}</nowiki></code> | ||
| [[Template: | | [[Template:NPC]] | ||
| [[ | | [[Non-Player Characters]] | ||
|- | |- | ||
| {{ | | {{Trait|Pacifist}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Trait|<Trait>}}</nowiki></code> | ||
| <code><nowiki>{{Traits| | | <code><nowiki>{{Traits|Pacifist}}</nowiki></code> | ||
| [[Template: | | [[Template:Trait]] | ||
| [[ | | [[Playable Characters]] | ||
|- | |- | ||
| {{Status|Inactive}} | | {{Status|Inactive}} | ||
| <code><nowiki>{{Status|< | | <code><nowiki>{{Status|<Status>}}</nowiki></code> | ||
| <code><nowiki>{{Status|Inactive}}</nowiki></code> | | <code><nowiki>{{Status|Inactive}}</nowiki></code> | ||
| [[Template:Status]] | | [[Template:Status]] | ||
| [[Status]] | | [[Status]] | ||
|- | |- | ||
| {{ | | {{Disease}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disease}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disease}}</nowiki></code> | ||
| [[Template: | | [[Template:Disease]] | ||
| [[ | | [[List of diseases]] | ||
|- | |- | ||
| {{ | | {{Disease|Gastroenteritis}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disease|<name of disease>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disease|Gastroenteritis}}</nowiki></code> | ||
| [[Template: | | [[Template:Disease]] | ||
| [[ | | [[List of diseases]] | ||
|- | |- | ||
| {{ | | {{Disorder}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disorder}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disorder}}</nowiki></code> | ||
| [[Template: | | [[Template:Disorder]] | ||
| [[ | | [[List of disorders]] | ||
|- | |- | ||
| {{ | | {{Disorder|Agoraphobia}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disorder|<name of disorder>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Disorder|Agoraphobia}}</nowiki></code> | ||
| [[Template: | | [[Template:Disorder]] | ||
| [[ | | [[List of disorders]] | ||
|- | |- | ||
| {{ | | {{Injury|Hemmorrhage}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Injury|<name of injury>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Injury|Hemmorrhage}}</nowiki></code> | ||
| [[Template: | | [[Template:Injury]] | ||
| [[ | | [[List of injuries]] | ||
|- | |- | ||
| {{ | | {{Title|Commander}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Title|<title>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Title|Commander}}</nowiki></code> | ||
| [[Template: | | [[Template:Title]] | ||
| [[ | | [[Titles]] | ||
|- | |- | ||
| {{ | | {{Project|Jukebox}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Project|<project>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Project|Jukebox}}</nowiki></code> | ||
| [[Template: | | [[Template:Project]] | ||
| [[ | | [[Projects]] | ||
|- | |- | ||
| {{ | | {{Research|MycoAlarm}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Research|<Research>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Research|MycoAlarm}}</nowiki></code> | ||
| [[Template: | | [[Template:Research]] | ||
| [[ | | [[Research]] | ||
|- | |- | ||
| {{ | | {{Zone|Mankarog}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Zone|<name>}}</nowiki></code> | ||
| <code><nowiki>{{ | | <code><nowiki>{{Zone|Mankarog}}</nowiki></code> | ||
| [[Template: | | [[Template:Zone]] | ||
| [[ | | [[Zones]] | ||
|- | |- | ||
| {{Comms|Ghost Chun}} | | {{Comms|Ghost Chun}} | ||
| Line 329: | Line 329: | ||
| [[Communications#Rebel Bases|Rebel Bases]] | | [[Communications#Rebel Bases|Rebel Bases]] | ||
|- | |- | ||
| {{Action| | | {{Action|Shoot|1|Gun}} | ||
| <code><nowiki>{{Action|<text>|<opt.: coût>|<opt.: spécial>}}</nowiki></code> | | <code><nowiki>{{Action|<text>|<opt.: coût>|<opt.: spécial>}}</nowiki></code> | ||
| <code><nowiki>{{Action| | | <code><nowiki>{{Action|Shoot|1|Gun}}</nowiki></code> | ||
| [[Template:Action]] | | [[Template:Action]] | ||
| [[ | | [[List of actions]] | ||
|} | |} | ||
</div> | </div> | ||
| Line 345: | Line 345: | ||
! Relevant article | ! Relevant article | ||
|- | |- | ||
| {{ | | {{Visibility|Invisible}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Visibility|Invisible}}</nowiki></code> | ||
| [[Template: | | [[Template:Visibility]] | ||
| [[ | | [[Action Visibility]] | ||
|- | |- | ||
| {{ | | {{Visibility|Private}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Visibility|Private}}</nowiki></code> | ||
| [[Template: | | [[Template:Visibility]] | ||
| [[ | | [[Action Visibility]] | ||
|- | |- | ||
| {{ | | {{Visibility|Covert}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Visibility|Covert}}</nowiki></code> | ||
| [[Template: | | [[Template:Visibility]] | ||
| [[ | | [[Action Visibility]] | ||
|- | |- | ||
| {{ | | {{Visibility|Discret}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Visibility|Secret}}</nowiki></code> | ||
| [[Template: | | [[Template:Visibility]] | ||
| [[ | | [[Action Visibility]] | ||
|- | |- | ||
| {{ | | {{Visibility|Spotted}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Visibility|Spotted}}</nowiki></code> | ||
| [[Template: | | [[Template:Visibility]] | ||
| [[ | | [[Action Visibility]] | ||
|- | |- | ||
| {{ | | {{Visibility|Public}} | ||
| <code><nowiki>{{ | | <code><nowiki>{{Visibility|Public}}</nowiki></code> | ||
| [[Template: | | [[Template:Visibility]] | ||
| [[ | | [[Action Visibility]] | ||
|} | |} | ||
=== Misc. === | === Misc. === | ||
| Line 419: | Line 415: | ||
Tooltips are usually displayed at the right of the page, formatting information about items, researches, ... | Tooltips are usually displayed at the right of the page, formatting information about items, researches, ... | ||
* [[Template:Tooltip | * [[Template:Tooltip Character]] | ||
* [[Template:Tooltip | * [[Template:Tooltip Skill]] | ||
* [[Template:Tooltip | * [[Template:Tooltip Skill Mush]] | ||
* [[Template:Tooltip | * [[Template:Tooltip Project]] | ||
* [[Template:Tooltip | * [[Template:Tooltip Research]] | ||
* [[Template:Tooltip | * [[Template:Tooltip Item]] | ||
* [[Template:Tooltip | * [[Template:Tooltip Equipment]] | ||
* [[Template:Tooltip Végétal]] | * [[Template:Tooltip Végétal]] | ||
* [[Template:Tooltip Portes]] | * [[Template:Tooltip Portes]] | ||
| Line 432: | Line 428: | ||
{{Language|en|fr=Pages Template}} | {{Language|en|fr=Pages Template|es=Plantillas de Página}} | ||
Latest revision as of 09:37, 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
