Difference between revisions of "Template:Skill Link table"

From Mushpedia
Jump to: navigation, search
Line 2: Line 2:
 
| style="padding: 5px;" |''{{#var:Description}}''
 
| style="padding: 5px;" |''{{#var:Description}}''
 
{{#var:Effect}}
 
{{#var:Effect}}
| style="text-align: center; padding: 5px;" |{{#var:Characters}}
+
{{#ifeq: {{{2|}}} | no || style="text-align: center; padding: 5px;" |{{#var:Characters}}}}
| style="text-align: center; background-color: #{{Mush Status color|{{#var:Mush Status}}}};" |{{#var:Mush Status}}
+
{{#ifeq: {{{3|}}} | no || style="text-align: center; background-color: #{{Mush Status color|{{#var:Mush Status}}}};" |{{#var:Mush Status}}}}
 
|-</includeonly></onlyinclude>
 
|-</includeonly></onlyinclude>
 
A template to handle the linking of skill data to the [[Skills]] and [[Characters]] pages.
 
A template to handle the linking of skill data to the [[Skills]] and [[Characters]] pages.
Line 9: Line 9:
 
'''Usage:'''
 
'''Usage:'''
 
<pre>[ INSERT TABLE CODE HERE ]
 
<pre>[ INSERT TABLE CODE HERE ]
 
+
{{Skill Link table|Skill name|no|no}}
{{Skill Link table|Skill name}}
+
 
[ INSERT TABLE CODE HERE ]</pre>
 
[ INSERT TABLE CODE HERE ]</pre>
  
Line 22: Line 21:
 
|-
 
|-
 
{{Skill Link table|Astrophysicist}}
 
{{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}}
 
|}</pre>
 
|}</pre>
  
Line 32: Line 39:
 
|-
 
|-
 
{{Skill Link table|Astrophysicist}}
 
{{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}}
 
|}
 
|}

Revision as of 10:44, 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 '