Template:Table Skill: Difference between revisions
Jump to navigation
Jump to search
Created template |
m more fixes |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Description}} | | {{#vardefine: {{{1}}} Description|{{#var:Description|{{Todo|Description | <includeonly><onlyinclude>{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Description}} | | {{#vardefine: {{{1}}} Description|{{#var:Description|{{Todo|Description missing}}}} }} }}{{#if: {{#var: {{{1}}} Effect}} | | {{#vardefine: {{{1}}} Effect|{{#var:Effect|{{Todo|Effects missing}}}} }} }}{{#if: {{#var: {{{1}}} Characters}} | | {{#vardefine: {{{1}}} Characters|{{#var:Characters|{{Todo|source missing}}}} }} }}{{#if: {{#var: {{{1}}} Status Mush}} | | {{#vardefine: {{{1}}} Status Mush|{{#var:Status Mush||{{Todo|Inconnu}}}} }} }}{{#switch: {{{2|}}} | ||
| | |Full={{Table Skill Cell|{{{1|}}}}} | ||
| | |WithoutIfMush={{Table Skill Cell|{{{1|}}}||no}} | ||
|Simple={{ | |Simple={{Table Skill Cell|{{{1|}}}|no|no}} | ||
|{{Table Skill Solo|{{{1|}}}}}<br>}}</onlyinclude></includeonly> | |{{Table Skill Solo|{{{1|}}}}}<br>}}</onlyinclude></includeonly> | ||
| Line 9: | Line 9: | ||
'''Usage:''' | '''Usage:''' | ||
<pre>{{Table Skill|Nom de la compétence}} - Affiche une table entière qui ne contient que la compétence. | <pre>{{Table Skill|Nom de la compétence}} - Affiche une table entière qui ne contient que la compétence. | ||
{{Table Skill|Nom de la compétence| | {{Table Skill|Nom de la compétence|Full}} - Affiche une ligne de table pré-déterminée. Utilisé dans la page [[Capacités Humaines]]. Nécessite de l'appeler dans une table. | ||
{{Table Skill|Nom de la compétence| | {{Table Skill|Nom de la compétence|WithoutIfMush}} - Affiche une ligne de table pré-déterminée, sans la case "If Mush:". Utilisé dans la page [[Capacités Mush]]. Nécessite de l'appeler dans une table. | ||
{{Table Skill|Nom de la compétence|Simple}} - Affiche une ligne de table pré-déterminée, sans les cases "Appris par:" ni " | {{Table Skill|Nom de la compétence|Simple}} - Affiche une ligne de table pré-déterminée, sans les cases "Appris par:" ni "If Mush:". Utilisé dans les pages spécifiques aux Characters. Nécessite de l'appeler dans une table.</pre> | ||
Dans la plupart des cas, la version simple ''<nowiki>{{Table Skill|Nom de la compétence}}</nowiki>'' suffit amplement. Ce modèle est particulièrement complexe -- n'hésitez pas à contacter #wiki-emush si vous avez besoin d'un tutoriel plus | Dans la plupart des cas, la version simple ''<nowiki>{{Table Skill|Nom de la compétence}}</nowiki>'' suffit amplement. Ce modèle est particulièrement complexe -- n'hésitez pas à contacter #wiki-emush si vous avez besoin d'un tutoriel plus Full. | ||
==Démo== | ==Démo== | ||
| Line 23: | Line 23: | ||
{{Table Skill|Astrophysicist}} | {{Table Skill|Astrophysicist}} | ||
{{Table Skill|Apprentice}} | {{Table Skill|Apprentice}} | ||
=== | ===Full=== | ||
<pre>{| class="wikitable" style="width:100%;" | <pre>{| class="wikitable" style="width:100%;" | ||
|- | |- | ||
| Line 31: | Line 31: | ||
! scope="col" style="width: 100px;"| Si {{Character|Mush}}: | ! scope="col" style="width: 100px;"| Si {{Character|Mush}}: | ||
|- | |- | ||
{{Table Skill|Astrophysicist| | {{Table Skill|Astrophysicist|Full}} | ||
{{Table Skill|Apprentice| | {{Table Skill|Apprentice|Full}} | ||
|} | |} | ||
</pre> | </pre> | ||
| Line 43: | Line 43: | ||
! scope="col" style="width: 100px;"| Si {{Character|Mush}}: | ! scope="col" style="width: 100px;"| Si {{Character|Mush}}: | ||
|- | |- | ||
{{Table Skill|Astrophysicist| | {{Table Skill|Astrophysicist|Full}} | ||
{{Table Skill|Apprentice| | {{Table Skill|Apprentice|Full}} | ||
|} | |} | ||
=== | ===WithoutIfMush=== | ||
<pre>{| class="wikitable" style="width:100%;" | <pre>{| class="wikitable" style="width:100%;" | ||
|- | |- | ||
| Line 53: | Line 53: | ||
! scope="col" style="width: 100px" | Appris par: | ! scope="col" style="width: 100px" | Appris par: | ||
|- | |- | ||
{{Table Skill|Astrophysicist| | {{Table Skill|Astrophysicist|WithoutIfMush}} | ||
{{Table Skill|Apprentice| | {{Table Skill|Apprentice|WithoutIfMush}} | ||
|} | |} | ||
</pre> | </pre> | ||
| Line 64: | Line 64: | ||
! scope="col" style="width: 100px" | Appris par: | ! scope="col" style="width: 100px" | Appris par: | ||
|- | |- | ||
{{Table Skill|Astrophysicist| | {{Table Skill|Astrophysicist|WithoutIfMush}} | ||
{{Table Skill|Apprentice| | {{Table Skill|Apprentice|WithoutIfMush}} | ||
|} | |} | ||
===Simple=== | ===Simple=== | ||
Latest revision as of 08:31, 15 April 2026
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 Skill|Nom de la compétence}} - Affiche une table entière qui ne contient que la compétence.
{{Table Skill|Nom de la compétence|Full}} - Affiche une ligne de table pré-déterminée. Utilisé dans la page [[Capacités Humaines]]. Nécessite de l'appeler dans une table.
{{Table Skill|Nom de la compétence|WithoutIfMush}} - Affiche une ligne de table pré-déterminée, sans la case "If Mush:". Utilisé dans la page [[Capacités Mush]]. Nécessite de l'appeler dans une table.
{{Table Skill|Nom de la compétence|Simple}} - Affiche une ligne de table pré-déterminée, sans les cases "Appris par:" ni "If Mush:". Utilisé dans les pages spécifiques aux Characters. Nécessite de l'appeler dans une table.
Dans la plupart des cas, la version simple {{Table Skill|Nom de la compétence}} suffit amplement. Ce modèle est particulièrement complexe -- n'hésitez pas à contacter #wiki-emush si vous avez besoin d'un tutoriel plus Full.
Démo
Solo
{{Table Skill|Astrophysicist}}
{{Table Skill|Apprentice}}
| Learned by: | If | |
|---|---|---|
| Skilled in scanning for planets in range or to determine their composition. | Kept |
| Learned by: | If | |
|---|---|---|
By attentively watching what their mentor does, the apprentice can quicky pick up the same knowledge and actions.
|
Kept |
Full
{| class="wikitable" style="width:100%;"
|-
! scope="col" style="width: 200px" | Compétence
! scope="col" style="" | Description
! scope="col" style="width: 100px" | Appris par:
! scope="col" style="width: 100px;"| Si {{Character|Mush}}:
|-
{{Table Skill|Astrophysicist|Full}}
{{Table Skill|Apprentice|Full}}
|}
| Compétence | Description | Appris par: | Si |
|---|---|---|---|
| Skilled in scanning for planets in range or to determine their composition. | Kept | ||
By attentively watching what their mentor does, the apprentice can quicky pick up the same knowledge and actions.
|
Kept |
WithoutIfMush
{| class="wikitable" style="width:100%;"
|-
! scope="col" style="width: 200px" | Compétence
! scope="col" style="" | Description
! scope="col" style="width: 100px" | Appris par:
|-
{{Table Skill|Astrophysicist|WithoutIfMush}}
{{Table Skill|Apprentice|WithoutIfMush}}
|}
| Compétence | Description | Appris par: |
|---|---|---|
| Skilled in scanning for planets in range or to determine their composition. | ||
By attentively watching what their mentor does, the apprentice can quicky pick up the same knowledge and actions.
|
Simple
{| class="wikitable" style="width:100%;"
|-
! scope="col" style="width: 200px" | Compétence
! scope="col" style="" | Description
|-
{{Table Skill|Astrophysicist|Simple}}
{{Table Skill|Apprentice|Simple}}
|}
Anonymush| style="font-size:1.2em; vertical-align: top; padding: 5px;" || Compétence | Description |
|---|---|
Skilled in scanning for planets in range or to determine their composition.
| |
By attentively watching what their mentor does, the apprentice can quicky pick up the same knowledge and actions.
| |
By attentively watching what their mentor does, the apprentice can quicky pick up the same knowledge and actions.
|