Template:Table Compétence: Difference between revisions
Jump to navigation
Jump to search
imported>PrincessFelicie Page créée avec « <includeonly><onlyinclude>{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Description}} | | {{#vardefine: {{{1}}} Description|{{#var:Description|{{Todo|Add in-game fluff/description of skill}}}} }} }}{{#if: {{#var: {{{1}}} Effect}} | | {{#vardefine: {{{1}}} Effect|{{#var:Effect|*{{Todo|Add in-game list of effects (as unnumbered MediaWiki list)}}}} }} }}{{#if: {{#var: {{{1}}} Characters}} | | {{#vardefine: {{{1}}} Characters|{{#var:Characters|{{Todo|Add characters}}}} }} }}{{#... » |
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}}} | <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={{Skill Link table|{{{1|}}}}} | |Human|Humain={{Skill Link table|{{{1|}}}}} | ||
|Mush={{Skill Link table|{{{1|}}}||no}} | |Mush={{Skill Link table|{{{1|}}}||no}} | ||
|Characters={{Skill Link table|{{{1|}}}|no|no}} | |Characters|Personnages={{Skill Link table|{{{1|}}}|no|no}} | ||
|{{Skill Link extended|{{{1|}}}}}<br>}}</onlyinclude></includeonly> | |{{Skill Link extended|{{{1|}}}}}<br>}}</onlyinclude></includeonly> | ||
| Line 16: | Line 16: | ||
'''Demo:''' | '''Demo:''' | ||
<pre>{{Skill Link| | <pre>{{Skill Link|Astrophysicien}} | ||
{{Skill Link|Solid}}</pre> | {{Skill Link|Solid}}</pre> | ||
{{Skill Link| | {{Skill Link|Astrophysicien}} | ||
{{Skill Link| | |||
{{Skill Link|Robuste}} (buggué parce que pas fait!) | |||
[[Category:Templates]] | [[Category:Templates]] | ||
Revision as of 23:16, 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:
{{Skill Link|Skill name}} - 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
{{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
{{Skill Link|Skill name|Characters}} - Displays part of a table containing the skill information minus Level and Mush information. ONLY USED IN CHARACTERS ARTICLE
As you can see, out of all this you should only be using the regular {{Skill Link|Skill name}} example.
Demo:
{{Skill Link|Astrophysicien}}
{{Skill Link|Solid}}
| Appris par: | Si Icon Mush: | |
|---|---|---|
| L'Astrophysicien est habilité à lancer des scans pour trouver des planètes à portée ou déterminer leur composition. | Icon Kuan Ti |
Gardée |
| Appris par: | Si Icon Mush: | |
|---|---|---|
Vous n'avez aucune pénalité lorsque vous transportez un objet lourd. Pratique aussi pour les combats au corps-à-corps.
|
Gardée |
(buggué parce que pas fait!)