Template:Table Compétence: Difference between revisions

From eMushpedia
Jump to navigation Jump to search
imported>PrincessFelicie
m PrincessFelicie a déplacé la page Modèle:Skill Link vers Modèle:Table Compétence
imported>PrincessFelicie
No edit summary
Line 1: Line 1:
<includeonly><onlyinclude>{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Description}} | | {{#vardefine: {{{1}}} Description|{{#var:Description|{{Todo|Add in-game fluff/description of skill}}}} }} }}{{#if: {{#var: {{{1}}} Effet}} | | {{#vardefine: {{{1}}} Effet|{{#var:Effet|*{{Todo|Add in-game list of effects (as unnumbered MediaWiki list)}}}} }} }}{{#if: {{#var: {{{1}}} Personnages}} | | {{#vardefine: {{{1}}} Personnages|{{#var:Personnages|{{Todo|Add characters}}}} }} }}{{#if: {{#var: {{{1}}} Statut Mush}} | | {{#vardefine: {{{1}}} Statut Mush|{{#var:Statut Mush||{{Todo|Mush status}}}} }} }}{{#switch: {{{2|}}}
<includeonly><onlyinclude>{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Description}} | | {{#vardefine: {{{1}}} Description|{{#var:Description|{{Todo|Add in-game fluff/description of skill}}}} }} }}{{#if: {{#var: {{{1}}} Effet}} | | {{#vardefine: {{{1}}} Effet|{{#var:Effet|*{{Todo|Add in-game list of effects (as unnumbered MediaWiki list)}}}} }} }}{{#if: {{#var: {{{1}}} Personnages}} | | {{#vardefine: {{{1}}} Personnages|{{#var:Personnages|{{Todo|Add characters}}}} }} }}{{#if: {{#var: {{{1}}} Statut Mush}} | | {{#vardefine: {{{1}}} Statut Mush|{{#var:Statut Mush||{{Todo|Mush status}}}} }} }}{{#switch: {{{2|}}}
|Human|Humain={{Skill Link table|{{{1|}}}}}
|Human|Humain={{Cellule Table Compétence|{{{1|}}}}}
|Mush={{Skill Link table|{{{1|}}}||no}}
|Mush={{Cellule Table Compétence|{{{1|}}}||no}}
|Characters|Personnages={{Skill Link table|{{{1|}}}|no|no}}
|Characters|Personnages={{Cellule Table Compétence|{{{1|}}}|no|no}}
|{{Skill Link extended|{{{1|}}}}}<br>}}</onlyinclude></includeonly>
|{{Skill Link extended|{{{1|}}}}}<br>}}</onlyinclude></includeonly>


Line 8: Line 8:


'''Usage:'''
'''Usage:'''
<pre>{{Skill Link|Skill name}} - This will display a fancy little table containing the skill information.
<pre>{{Table Compétence|Nom de la compétence}} - This will display a fancy little table containing the skill information.
{{Skill Link|Skill name|Human}} - Displays part of a table containing the skill information. ONLY USED IN SKILLS ARTICLE
{{Table Compétence|Nom de la compétence|Humain}} - Affiche une cellule de table pré-déterminée. Utilisé dans la page [[Capacités Humaines]]
{{Skill Link|Skill name|Mush}} - Displays part of a table containing the skill information, minus whether or not it's kept as a Mush. ONLY USED IN SKILLS ARTICLE
{{Table Compétence|Nom de la compétence|Mush}} - Affiche une cellule de table pré-déterminée, sans la case "gardé en Mush". Utilisé dans la page [[Capacités Mush]]</pre>
{{Skill Link|Skill name|Characters}} - Displays part of a table containing the skill information minus Level and Mush information. ONLY USED IN CHARACTERS ARTICLE</pre>


As you can see, out of all this you should only be using the regular ''<nowiki>{{Skill Link|Skill name}}</nowiki>'' example.
As you can see, out of all this you should only be using the regular ''<nowiki>{{Skill Link|Skill name}}</nowiki>'' example.

Revision as of 23:34, 5 March 2025


A master template to handle the linking of detailed skill info throughout the wiki. This should hardly ever find any use outside of special pages (Template:Skill is used to provide short Skill links with fancy icons, after all), but is still operational on its own, since it might eventually be useful.

Usage:

{{Table Compétence|Nom de la compétence}} - This will display a fancy little table containing the skill information.
{{Table Compétence|Nom de la compétence|Humain}} - Affiche une cellule de table pré-déterminée. Utilisé dans la page [[Capacités Humaines]]
{{Table Compétence|Nom de la compétence|Mush}} - Affiche une cellule de table pré-déterminée, sans la case "gardé en Mush". Utilisé dans la page [[Capacités Mush]]

As you can see, out of all this you should only be using the regular {{Skill Link|Skill name}} example.

Demo:

{{Skill Link|Astrophysicien}}


AstrophysicienAstrophysicien Appris par: Si Icon Mush:
L'Astrophysicien est habilité à lancer des scans pour trouver des planètes à portée ou déterminer leur composition.
  • Scanner une nouvelle planète coûte 1 Point d'Action de moins.
  • Analyser une planète révèle une section de plus par analyse.
  • Bonus pour développer certains Projets NERON.
Icon Frieda
Icon Gioele
Icon Kuan Ti
Apprentron Apprentron
Gardée