Difference between revisions of "Template:Skill Link table"

From Mushpedia
Jump to: navigation, search
m
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{:{{{1}}}}}| style="font-size:1.2em; vertical-align: top; padding: 5px;" |{{Skill|{{#var:Title}}}}
+
<onlyinclude><includeonly>| style="font-size:1.2em; vertical-align: top; padding: 5px;" |{{Skill|{{{1}}}}}
| style="padding: 5px;" |''{{#var:Description}}''
+
| style="padding: 5px;" |''{{#var: {{{1}}} Description}}''
{{#var:Effect}}
+
{{#var: {{{1}}} Effect}}
| style="text-align: center; padding: 5px;" |{{#var:Characters}}
+
{{#ifeq: {{{2}}}|no||{{!}} style="text-align: center; padding: 5px;" {{!}} {{#var: {{{1}}} Characters}}}}
| style="text-align: center; background-color: #{{Mush Status color|{{#var:Mush Status}};" |{{#var:Mush Status}}
+
{{#ifeq: {{{3|}}}|no||{{!}} class="{{Mush Status color|{{#var:Mush Status}}}}" {{!}} {{#var: {{{1}}} Mush Status}}}}
 
|-</includeonly></onlyinclude>
 
|-</includeonly></onlyinclude>
A template to handle the linking of skill data to the [[Skills]] and [[Characters]] pages.
+
{{Warn|Use [[Template:Skill Link]] instead of this, this is a development template}}
 
+
'''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}}
+
|}
+

Latest revision as of 21:49, 14 March 2014

Icon Warning: Use Template:Skill Link instead of this, this is a development template