|
|
| Line 1: |
Line 1: |
| '''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 name}}.
| |
|
| |
| == How to use a Template ==
| |
|
| |
|
| |
| To embedded a template, you use double opening & closing curly brackets {{template name}} :
| |
|
| |
| <pre>{{Template Name|Parameter 1|Parameter 2|etc..}}</pre>
| |
|
| |
| '''Parameters''': Parameters allow to modify the behaviour of the template, so the resulting content is different.
| |
|
| |
| For instance <pre>{{glory}}</pre> result in {{glory}} while <pre>{{glory|mush}}</pre> result in {{glory|mush}}.
| |
|
| |
| == How to create a Template ==
| |
|
| |
| To create a template, go to a new page <pre>Template:<Template-Name></pre>, 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.
| |
|
| |
| <div class="table">
| |
| <div class="table-cell">
| |
| === Callout ===
| |
| {| class="wikitable"
| |
| !
| |
| ! Code
| |
| ! Plus d'info
| |
| |-
| |
| | {{Info|Information utile.}}
| |
| | <code><nowiki>{{Info|Information utile.}}</nowiki></code>
| |
| | [[Template:Info]]
| |
| |-
| |
| | {{Attention|Information importante.}}
| |
| | <code><nowiki>{{Attention|Information importante.}}</nowiki></code>
| |
| | [[Template:Attention]]
| |
| |-
| |
| | {{Avertissement|Information vitale!}}
| |
| | <code><nowiki>{{Avertissement|Information vitale!}}</nowiki></code>
| |
| | [[Template:Avertissement]]
| |
| |}
| |
| </div>
| |
| <div class="table-cell">
| |
|
| |
| === Callout (inline) ===
| |
| {| class="wikitable"
| |
| !
| |
| ! Code
| |
| ! Plus d'info
| |
| |-
| |
| | {{Info Inline|Texte=Information.}}
| |
| | <code><nowiki>{{Info Inline|<Nom=nom de l'encadré>|Texte=Information.}}</nowiki></code>
| |
| | [[Template:Info Inline]]
| |
| |-
| |
| | {{Attention Inline|Information.}}
| |
| | <code><nowiki>{{Attention Inline|Information.}}</nowiki></code>
| |
| | [[Template:Attention Inline]]
| |
| |-
| |
| | {{Bug Inline|Text goes here}}
| |
| | <code><nowiki>{{Bug Inline|Text goes here}}</nowiki></code>
| |
| | [[Template:Bug Inline]]
| |
| |-
| |
| | {{Todo|Text goes here|nocat}}
| |
| | <code><nowiki>{{Todo|Text goes here}}</nowiki></code>
| |
| | [[Template:Todo]]
| |
| |-
| |
| | {{Confirm|Text goes here|nocat}}
| |
| | <code><nowiki>{{Confirm|Text goes here}}</nowiki></code>
| |
| | [[Template:Confirm]]
| |
| |-
| |
| | {{Salissant Inline|probabilités si disponibles}}
| |
| | <code><nowiki>{{Salissant Inline|probas}}</nowiki></code>
| |
| | [[Template:Salissant Inline]]
| |
| |}
| |
| </div>
| |
| </div>
| |
| <div class="table">
| |
| <div class="table-cell">
| |
|
| |
| === Daedalus' Resources ===
| |
| {| class="wikitable"
| |
| !
| |
| ! Code
| |
| ! Template Page
| |
| ! Linked Page
| |
| |-
| |
| | {{Oxygen}}
| |
| | <code><nowiki>{{Oxygen}}</nowiki></code>
| |
| | [[Template:Oxygen]]
| |
| | [[Oxygen]]
| |
| |-
| |
| | {{Oxygen|low}}
| |
| | <code><nowiki>{{Oxygen|low}}</nowiki></code>
| |
| | [[Template:Oxygen]]
| |
| | [[Oxygen]]
| |
| |-
| |
| | {{Fuel}}
| |
| | <code><nowiki>{{Fuel}}</nowiki></code>
| |
| | [[Template:Fuel]]
| |
| | [[Fuel]]
| |
| |-
| |
| | {{Armor}}
| |
| | <code><nowiki>{{Armor}}</nowiki></code>
| |
| | [[Template:Armor]]
| |
| | [[Armor and Shield]]
| |
| |-
| |
| | {{Shield}}
| |
| | <code><nowiki>{{Shield}}</nowiki></code>
| |
| | [[Template:Shield]]
| |
| | [[Armor and Shield]]
| |
| |-
| |
| | {{Charges}}
| |
| | <code><nowiki>{{Charges}}</nowiki></code>
| |
| | [[Template:Charges]]
| |
| | [[Charges]]
| |
| |-
| |
| |}
| |
| </div>
| |
| <div class="table-cell">
| |
|
| |
| === Character's Resources ===
| |
|
| |
| {| class="wikitable"
| |
| !
| |
| ! Code
| |
| ! Template Page
| |
| ! Linked Page
| |
| |-
| |
| | {{AP}}
| |
| | <code><nowiki>{{AP}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{MP}}
| |
| | <code><nowiki>{{MP}}</nowiki></code>
| |
| | [[Template:MP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{HP}}
| |
| | <code><nowiki>{{HP}}</nowiki></code>
| |
| | [[Template:HP]]
| |
| | [[Health Points]]
| |
| |-
| |
| | {{Morale}}
| |
| | <code><nowiki>{{Morale}}</nowiki></code>
| |
| | [[Template:Morale]]
| |
| | [[Morale Points]]
| |
| |-
| |
| | {{AP|IT}}
| |
| | <code><nowiki>{{AP|IT}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|Garden}}
| |
| | <code><nowiki>{{AP|Garden}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|Repair}}
| |
| | <code><nowiki>{{AP|Repair}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|Cook}}
| |
| | <code><nowiki>{{AP|Cook}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|PILGRED}}
| |
| | <code><nowiki>{{AP|PILGRED}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|NERON}}
| |
| | <code><nowiki>{{AP|NERON}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|Heal}}
| |
| | <code><nowiki>{{AP|Heal}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|Shot}}
| |
| | <code><nowiki>{{AP|Shot}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{AP|Torture}}
| |
| | <code><nowiki>{{AP|Torture}}</nowiki></code>
| |
| | [[Template:AP]]
| |
| | [[Action and Movement Points]]
| |
| |-
| |
| | {{Glory}}
| |
| | <code><nowiki>{{Glory}}</nowiki></code>
| |
| | [[Template:Glory]]
| |
| | [[Glory]]
| |
| |-
| |
| | {{Glory|mush}}
| |
| | <code><nowiki>{{Glory|mush}}</nowiki></code>
| |
| | [[Template:Glory]]
| |
| | [[Glory]]
| |
| |-|
| |
| | {{Glory|mix}}
| |
| | <code><nowiki>{{Glory|mix}}</nowiki></code>
| |
| | [[Template:Glory]]
| |
| | [[Glory]]
| |
| |-
| |
| | {{Spore}}
| |
| |<code><nowiki>{{Spore}}</nowiki></code>
| |
| | [[Template:Spore]]
| |
| | [[Spores]]
| |
| |}
| |
| </div>
| |
| </div>
| |
| <div class="table">
| |
| <div class="table-cell">
| |
|
| |
| === Shortcuts to game's content ===
| |
| {| class="wikitable"
| |
| ! Rendu
| |
| ! Usage
| |
| ! Exemple
| |
| ! Modèle
| |
| ! Article correspondant
| |
| |-
| |
| | {{Item|Post-its|16}}
| |
| | <code><nowiki>{{Item|<item name>|<size>}}</nowiki></code>
| |
| | <code><nowiki>{{Item|Post-its|16}}</nowiki></code>
| |
| | [[Template:Item]]
| |
| | [[Items]]
| |
| |-
| |
| | {{Skill|Anonymush}}
| |
| | <code><nowiki>{{Skill|<nom>}}</nowiki></code>
| |
| | <code><nowiki>{{Skill|Anonymush}}</nowiki></code>
| |
| | [[Template:Skill]]
| |
| | [[Skills]]
| |
| |-
| |
| | {{Character|Paola}}
| |
| | <code><nowiki>{{Character|<prénom>|<opt.:long>}}</nowiki></code>
| |
| | <code><nowiki>{{Character|Paola}}</nowiki></code>
| |
| | [[Template:Character]]
| |
| | [[Playable Characters]]
| |
| |-
| |
| | {{PNJ|Kivanç}}
| |
| | <code><nowiki>{{PNJ|<prénom>|<opt.:long>}}</nowiki></code>
| |
| | <code><nowiki>{{PNJ|Kivanç}}</nowiki></code>
| |
| | [[Template:PNJ]]
| |
| | [[Personnages Non Jouables]]
| |
| |-
| |
| | {{Traits|Pacifiste}}
| |
| | <code><nowiki>{{Traits|<Trait>}}</nowiki></code>
| |
| | <code><nowiki>{{Traits|Pacifiste}}</nowiki></code>
| |
| | [[Template:Traits]]
| |
| | [[Personnages jouables]]
| |
| |-
| |
| | {{Status|Inactive}}
| |
| | <code><nowiki>{{Status|<name du statut>}}</nowiki></code>
| |
| | <code><nowiki>{{Status|Inactive}}</nowiki></code>
| |
| | [[Template:Status]]
| |
| | [[Status]]
| |
| |-
| |
| | {{Maladie}}
| |
| | <code><nowiki>{{Maladie}}</nowiki></code>
| |
| | <code><nowiki>{{Maladie}}</nowiki></code>
| |
| | [[Template:Maladie]]
| |
| | [[Liste des maladies]]
| |
| |-
| |
| | {{Maladie|Gastroenteritis}}
| |
| | <code><nowiki>{{Maladie|<nom de la maladie>}}</nowiki></code>
| |
| | <code><nowiki>{{Maladie|Gastroenteritis}}</nowiki></code>
| |
| | [[Template:Maladie]]
| |
| | [[Liste des maladies]]
| |
| |-
| |
| | {{Psychique}}
| |
| | <code><nowiki>{{Psychique}}</nowiki></code>
| |
| | <code><nowiki>{{Psychique}}</nowiki></code>
| |
| | [[Template:Psychique]]
| |
| | [[Liste des troubles psychiques]]
| |
| |-
| |
| | {{Psychique|Agoraphobie}}
| |
| | <code><nowiki>{{Psychique|<nom du trouble>}}</nowiki></code>
| |
| | <code><nowiki>{{Psychique|Agoraphobie}}</nowiki></code>
| |
| | [[Template:Psychique]]
| |
| | [[Liste des troubles psychiques]]
| |
| |-
| |
| | {{Blessure|Hémorragie}}
| |
| | <code><nowiki>{{Blessure|<nom de la blessure>}}</nowiki></code>
| |
| | <code><nowiki>{{Blessure|Hémorragie}}</nowiki></code>
| |
| | [[Template:Blessure]]
| |
| | [[Liste des blessures]]
| |
| |-
| |
| | {{Titre|Commandant}}
| |
| | <code><nowiki>{{Titre|<titre>}}</nowiki></code>
| |
| | <code><nowiki>{{Titre|Commandant}}</nowiki></code>
| |
| | [[Template:Titre]]
| |
| | [[Titres]]
| |
| |-
| |
| | {{Projet|Jukebox}}
| |
| | <code><nowiki>{{Projet|<projet>}}</nowiki></code>
| |
| | <code><nowiki>{{Projet|Jukebox}}</nowiki></code>
| |
| | [[Template:Projet]]
| |
| | [[Projets]]
| |
| |-
| |
| | {{Recherches|MycoAlarm}}
| |
| | <code><nowiki>{{Recherches|<Recherche>}}</nowiki></code>
| |
| | <code><nowiki>{{Recherches|MycoAlarm}}</nowiki></code>
| |
| | [[Template:Recherches]]
| |
| | [[Recherches]]
| |
| |-
| |
| | {{Secteur|Mankarog}}
| |
| | <code><nowiki>{{Secteur|<nom>}}</nowiki></code>
| |
| | <code><nowiki>{{Secteur|Mankarog}}</nowiki></code>
| |
| | [[Template:Secteur]]
| |
| | [[Secteurs]]
| |
| |-
| |
| | {{Comms|Ghost Chun}}
| |
| | <code><nowiki>{{Comms|<xyloph DB nickname>}}</nowiki></code>
| |
| | <code><nowiki>{{Comms|<xyloph DB nickname>}}</nowiki></code>
| |
| | [[Template:Comms]]
| |
| | [[Communications#Xyloph Database|Xyloph]]
| |
| |-
| |
| | {{Comms|Sirius}}
| |
| | <code><nowiki>{{Comms|<Rebel base or day>}}</nowiki></code>
| |
| | <code><nowiki>{{Comms|<Rebel base or day>}}</nowiki></code>
| |
| | [[Template:Comms]]
| |
| | [[Communications#Rebel Bases|Rebel Bases]]
| |
| |-
| |
| | {{Action|Tirer|1|Gun}}
| |
| | <code><nowiki>{{Action|<text>|<opt.: coût>|<opt.: spécial>}}</nowiki></code>
| |
| | <code><nowiki>{{Action|Tirer|1|Gun}}</nowiki></code>
| |
| | [[Template:Action]]
| |
| | [[Liste des actions]]
| |
| |}
| |
| </div>
| |
| <div class="table-cell">
| |
|
| |
| === Action Visibility Level === | | === Action Visibility Level === |
| {| class="wikitable" | | {| class="wikitable" |
| Line 345: |
Line 6: |
| ! Relevant article | | ! Relevant article |
| |- | | |- |
| | {{Visibilité|Invisible}} | | | {{Visibility|Invisible}} |
| | <code><nowiki>{{Visibilité|Invisible}}</nowiki></code> | | | <code><nowiki>{{Visibility|Invisible}}</nowiki></code> |
| | [[Template:Visibilité]] | | | [[Template:Visibility]] |
| | [[Visibilité des actions]] | | | [[Action Visibility]] |
| |-
| |
| | {{Visibilité|Privé}}
| |
| | <code><nowiki>{{Visibilité|Privé}}</nowiki></code>
| |
| | [[Template:Visibilité]]
| |
| | [[Visibilité des actions]]
| |
| |-
| |
| | {{Visibilité|Furtif}}
| |
| | <code><nowiki>{{Visibilité|Furtif}}</nowiki></code>
| |
| | [[Template:Visibilité]]
| |
| | [[Visibilité des actions]]
| |
| |-
| |
| | {{Visibilité|Discret}}
| |
| | <code><nowiki>{{Visibilité|Discret}}</nowiki></code>
| |
| | [[Template:Visibilité]]
| |
| | [[Visibilité des actions]]
| |
| |-
| |
| | {{Visibilité|Révélé}}
| |
| | <code><nowiki>{{Visibilité|Révélé}}</nowiki></code>
| |
| | [[Template:Visibilité]]
| |
| | [[Visibilité des actions]]
| |
| |-
| |
| | {{Visibilité|Public}}
| |
| | <code><nowiki>{{Visibilité|Public}}</nowiki></code>
| |
| | [[Template:Visibilité]]
| |
| | [[Visibilité des actions]]
| |
| |}
| |
| </div>
| |
| </div>
| |
| <div class="table">
| |
| <div class="table-cell">
| |
| | |
| === Misc. ===
| |
| {| class="wikitable"
| |
| !
| |
| ! Code
| |
| ! Plus d'info
| |
| ! Lien contenu
| |
| |- | | |- |
| | {{QuickLink|Personnages jouables}} | | | {{Visibility|Private}} |
| | <code><nowiki>{{QuickLink|Nom de l'article}}</nowiki></code> | | | <code><nowiki>{{Visibility|Private}}</nowiki></code> |
| | [[Template:QuickLink]] | | | [[Template:Visibility]] |
| | Variable | | | [[Action Visibility]] |
| |- | | |- |
| | Voir page template | | | {{Visibility|Covert}} |
| | <code><nowiki>{{Table Compétence|<nom de la compétence>}}</nowiki></code> | | | <code><nowiki>{{Visibility|Covert}}</nowiki></code> |
| | [[Template:Table Compétence]] | | | [[Template:Visibility]] |
| | [[Compétences]] | | | [[Action Visibility]] |
| |- | | |- |
| | Voir page template | | | {{Visibility|Discret}} |
| | <code><nowiki>{{Table Secteur|<nom du secteur>}}</nowiki></code> | | | <code><nowiki>{{Visibility|Secret}}</nowiki></code> |
| | [[Template:Table Secteur]] | | | [[Template:Visibility]] |
| | [[Compétences]] | | | [[Action Visibility]] |
| |- | | |- |
| | {{NERON}} | | | {{Visibility|Spotted}} |
| | <code><nowiki>{{NERON}}</nowiki></code> | | | <code><nowiki>{{Visibility|Spotted}}</nowiki></code> |
| | Affiche NERON en gras avec son icon. | | | [[Template:Visibility]] |
| | A créer | | | [[Action Visibility]] |
| |- | | |- |
| | | {{Visibility|Public}} |
| | | <code><nowiki>{{Visibility|Public}}</nowiki></code> |
| | | [[Template:Visibility]] |
| | | [[Action Visibility]] |
| |} | | |} |
| </div>
| |
| </div>
| |
| <div class="table">
| |
| <div class="table-cell">
| |
|
| |
|
| |
| === Tooltips ===
| |
|
| |
|
| |
| Tooltips are usually displayed at the right of the page, formatting information about items, researches, ...
| |
|
| |
| * [[Template:Tooltip Personnage]]
| |
| * [[Template:Tooltip Compétence]]
| |
| * [[Template:Tooltip Compétence Mush]]
| |
| * [[Template:Tooltip Projet]]
| |
| * [[Template:Tooltip Recherche]]
| |
| * [[Template:Tooltip Objet]]
| |
| * [[Template:Tooltip Equipement]]
| |
| * [[Template:Tooltip Végétal]]
| |
| * [[Template:Tooltip Portes]]
| |
| * [[Template:Tooltip Log]]
| |
|
| |
|
| |
|
| |
| {{Language|en|fr=Pages Template}}
| |