Templates

From eMushpedia
Revision as of 08:59, 20 May 2026 by Relda (talk | contribs) (Small correction on untranslated text from character templates)
Jump to navigation Jump to search

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}}

result in Glory while

{{glory|mush}}

result in 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
Useful information.
{{Info|Information utile.}} Template:Info
Important information.
{{Attention|Information importante.}} Template:Attention
Vital information!
{{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
Icon TODO: Text goes here {{Todo|Text goes here}} Template:Todo
Template:Confirm {{Confirm|Text goes here}} Template:Confirm
Template:Dirty Inline {{Dirty Inline|probabilities}} Template:Dirty Inline

Shortcuts to game's content

Rendu Usage Exemple Modèle Article correspondant
Post-its Post-its {{Item|<item name>|<size>}} {{Item|Post-its|16}} Template:Item Items
AnonymushAnonymush {{Skill|<nom>}} {{Skill|Anonymush}} Template:Skill Skills
Icon Paola {{Character|<name>|<opt.:long>}} {{Character|Paola}} Template:Character Playable Characters
Icon Kivanç {{NPC|<first name>|<opt.:long>}} {{NPC|Kivanç}} Template:NPC Non-Player Characters
Template:Trait {{Trait|<Trait>}} {{Traits|Pacifist}} Template:Trait Playable Characters
Inactive {{Status|<Status>}} {{Status|Inactive}} Template:Status Status
Diseases {{Disease}} {{Disease}} Template:Disease List of diseases
  Gastroenteritis   {{Disease|<name of disease>}} {{Disease|Gastroenteritis}} Template:Disease List of diseases
Disorders {{Disorder}} {{Disorder}} Template:Disorder List of disorders
  Agoraphobia   {{Disorder|<name of disorder>}} {{Disorder|Agoraphobia}} Template:Disorder List of disorders
  Hemmorrhage   {{Injury|<name of injury>}} {{Injury|Hemmorrhage}} Template:Injury List of injuries
 Commander {{Title|<title>}} {{Title|Commander}} Template:Title Titles
icon Jukebox {{Project|<project>}} {{Project|Jukebox}} Template:Project Projects
icon MycoAlarm {{Research|<Research>}} {{Research|MycoAlarm}} Template:Research Research
Mankarog 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 Point or Free Shot Shoot {{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
Icon Covert {{Visibility|Covert}} Template:Visibility Action Visibility
Icon Discret {{Visibility|Secret}} Template:Visibility Action Visibility
Icon Spotted {{Visibility|Spotted}} Template:Visibility Action Visibility
Public {{Visibility|Public}} Template:Visibility Action Visibility

Misc.

Code Plus d'info Lien contenu
More info Main article: Personnages jouables. {{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 {{NERON}} Affiche NERON en gras avec son icon. A créer