Difference between revisions of "Template:Skill Link table"

From Mushpedia
Jump to: navigation, search
(Undo revision 3769 by Ividyon (talk))
Line 1: Line 1:
 
<onlyinclude><includeonly>{{:{{{1}}}}}| style="font-size:1.2em; vertical-align: top; padding: 5px;" |{{Skill|{{#var:Title|Unknown Skill}}}}
 
<onlyinclude><includeonly>{{:{{{1}}}}}| style="font-size:1.2em; vertical-align: top; padding: 5px;" |{{Skill|{{#var:Title|Unknown Skill}}}}
{{#ifeq: {{{2}}} | no | |{{!}} style="text-align: center; padding: 5px;" {{!}} {{#var:Characters|{{Todo|Add characters}}}}}}
 
 
| style="padding: 5px;" |''{{#var:Description|{{Todo|Add in-game fluff/description of skill}}}}''
 
| style="padding: 5px;" |''{{#var:Description|{{Todo|Add in-game fluff/description of skill}}}}''
 
{{#var:Effect|*{{Todo|Add in-game list of effects (as unnumbered MediaWiki list)}}}}
 
{{#var:Effect|*{{Todo|Add in-game list of effects (as unnumbered MediaWiki list)}}}}
 +
{{#ifeq: {{{2}}} | no | |{{!}} style="text-align: center; padding: 5px;" {{!}} {{#var:Characters|{{Todo|Add characters}}}}}}
 
{{#ifeq: {{{3}}} | no | |{{!}} style="text-align: center; background-color: #{{Mush Status color|{{#var:Mush Status}}}};" {{!}} {{#var:Mush Status||{{Todo|Mush status}}}}}}
 
{{#ifeq: {{{3}}} | no | |{{!}} style="text-align: center; background-color: #{{Mush Status color|{{#var:Mush Status}}}};" {{!}} {{#var:Mush Status||{{Todo|Mush status}}}}}}
 
|-</includeonly></onlyinclude>
 
|-</includeonly></onlyinclude>

Revision as of 12:31, 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|no|no}}
[ 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}}
|}

{| class="wikitable" style="width:100%;"
|- 
! scope="col" style="width: 200px" | Skill 
! scope="col" style="" | Description
|-
{{Skill Link table|Astrophysicist|no|no}}
|}
Skill Description Learned by: If Icon Mush:
Icon Astrophysicist '
Skill Description
Icon Astrophysicist '