Difference between revisions of "Template:Skill Link table"
From Mushpedia
| Line 1: | Line 1: | ||
| − | <includeonly>| style="font-size:1.2em; vertical-align: top; padding: 5px;" |{{Skill|{{#var:Title}}}} | + | <onlyinclude><includeonly>{{:{{{1}}}}}| style="font-size:1.2em; vertical-align: top; padding: 5px;" |{{Skill|{{#var:Title}}}} |
| style="padding: 5px;" |''{{#var:Description}}'' | | style="padding: 5px;" |''{{#var:Description}}'' | ||
{{#var:Effect}} | {{#var:Effect}} | ||
| style="text-align: center; padding: 5px;" |{{#var:Characters}} | | style="text-align: center; padding: 5px;" |{{#var:Characters}} | ||
| style="text-align: center; background-color: {{Mush Status color|{{#var:Mush Status}};" |{{#var:Mush Status}} | | style="text-align: center; background-color: {{Mush Status color|{{#var:Mush Status}};" |{{#var:Mush Status}} | ||
| − | |-</includeonly> | + | |-</includeonly></onlyinclude> |
| + | A template to handle the linking of skill data to the [[Skills]] and [[Characters]] pages. | ||
| + | |||
| + | '''Usage:''' | ||
| + | <pre>[ INSERT TABLE CODE HERE ] | ||
| + | |||
| + | {{Skill Link table|Skill name}} | ||
| + | [ INSERT TABLE CODE HERE ]</pre> | ||
| + | |||
| + | '''Demo:''' | ||
| + | <pre>{| class="wikitable" style="width:100%;" | ||
| + | |- | ||
| + | ! scope="col" style="width: 200px" | Skill | ||
| + | ! scope="col" style="" | Description | ||
| + | ! scope="col" style="width: 100px" | Learned by: | ||
| + | ! scope="col" style="width: 100px;"| If {{Character|Mush}}: | ||
| + | |- | ||
| + | {{Skill Link table|Astrophysicist}} | ||
| + | |}</pre> | ||
| + | |||
| + | {| class="wikitable" style="width:100%;" | ||
| + | |- | ||
| + | ! scope="col" style="width: 200px" | Skill | ||
| + | ! scope="col" style="" | Description | ||
| + | ! scope="col" style="width: 100px" | Learned by: | ||
| + | ! scope="col" style="width: 100px;"| If {{Character|Mush}}: | ||
| + | |- | ||
| + | {{Skill Link table|Astrophysicist}} | ||
| + | |} | ||
Revision as of 10:24, 21 December 2013
A template to handle the linking of skill data to the Skills and Characters pages.
Usage:
[ INSERT TABLE CODE HERE ]
{{Skill Link table|Skill name}}
[ INSERT TABLE CODE HERE ]
Demo:
{| class="wikitable" style="width:100%;"
|-
! scope="col" style="width: 200px" | Skill
! scope="col" style="" | Description
! scope="col" style="width: 100px" | Learned by:
! scope="col" style="width: 100px;"| If {{Character|Mush}}:
|-
{{Skill Link table|Astrophysicist}}
|}
| Skill | Description | Learned by: | If |
|---|---|---|---|
| ' |