Difference between revisions of "Template:Skill Tooltip"

From Mushpedia
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div style="float:right;margin-left: 10px">
+
<onlyinclude><includeonly>{{:{{{1}}}}}<div style="float:right;margin-left: 10px">
 
{| class="wikitable" style="width:400px"
 
{| class="wikitable" style="width:400px"
 
|-
 
|-
! colspan="4" style="font-size: 1.2em;"|{{Skill|{{{1}}}}}
+
! colspan="4" style="font-size: 1.2em;"|{{Skill|{{#var:Title}}}}}}
 
|-
 
|-
 
! style="width:80px; vertical-align:top;" |Description:
 
! style="width:80px; vertical-align:top;" |Description:
| colspan="3" |''{{{2}}}''
+
| colspan="3" |''{{#var:Description}}}}''
{{{3}}}
+
{{#var:Effect}}}}
 
|-
 
|-
 
! style="width:100px; vertical-align:top;" |Learned by:
 
! style="width:100px; vertical-align:top;" |Learned by:
|{{{4}}}
+
|{{#var:Characters}}}}
 
! style="width:100px;" |If {{Character|Mush}}:
 
! style="width:100px;" |If {{Character|Mush}}:
| style="text-align:center;" |{{{5}}}
+
| style="text-align:center; background-color: #{{Mush Status color|{{#var:Mush Status}}}}" |{{#var:Mush Status}}}}
|}</div></includeonly><noinclude>
+
|}</div></includeonly></onlyinclude>
  
 
Shows the content of the Skill tooltip in a table on the right side of the Skill page.
 
Shows the content of the Skill tooltip in a table on the right side of the Skill page.
 
{| class="wikitable"
 
|-
 
! Parameter !! Description
 
|-
 
! #1
 
| The name of the Skill (e.g. "Astrophycisist")
 
|-
 
! #2
 
| The first lines of the Skill's description.
 
|-
 
! #3
 
| The list of effects as a MediaWiki unnumbered list.
 
|-
 
! #4
 
| The list of characters who learn the Skill, in format ''<nowiki>{{Character Level|<char name>|<level>}} or {{Character|Mage Book}}</nowiki>''. (e.g. {{Character Level|Frieda|3}}, {{Character|Mage Book}}, {{Character Level|Mush|5}})
 
|-
 
! #5
 
| Whether or not the skill is kept when the character turns to {{Character|Mush}}. (e.g. "Kept" / "Lost")
 
|}
 
 
  
 
'''Usage:'''
 
'''Usage:'''
 
<pre>
 
<pre>
{{Skill Tooltip
+
{{Skill Tooltip|Skill name}}
| #1
+
| #2
+
| #3
+
| #4
+
| #5
+
}}
+
 
</pre>
 
</pre>
  
 
'''Demo:'''
 
'''Demo:'''
 
<pre>
 
<pre>
{{Skill Tooltip
+
{{Skill Tooltip|Astrophysicist}}
| Astrophysicist
+
| Skilled in scanning for planets in range or to determine their composition.
+
|*The '''Analyze''' action discovers +1 property per use.
+
*The '''Planet Scan''' action costs 1 {{AP}} less.
+
| {{Character Level|Frieda|1}}<br>{{Character Level|Gioele|4}}<br>{{Character Level|Kuan Ti|4}}
+
| Kept
+
}}
+
 
</pre>
 
</pre>
{{Skill Tooltip
+
{{Skill Tooltip|Astrophysicist}}
| Astrophysicist
+
| Skilled in scanning for planets in range or to determine their composition.
+
| *The '''Analyze''' action discovers +1 property per use.
+
*The '''Planet Scan''' action costs 1 {{AP}} less.
+
| {{Character Level|Frieda|1}}<br>{{Character Level|Gioele|4}}<br>{{Character Level|Kuan Ti|4}}
+
| Kept
+
}}
+
 
+
</noinclude>
+

Revision as of 10:37, 21 December 2013


Shows the content of the Skill tooltip in a table on the right side of the Skill page.

Usage:

{{Skill Tooltip|Skill name}}

Demo:

{{Skill Tooltip|Astrophysicist}}
Icon Unknown skill
Description: Icon TODO: Add in-game fluff/description of skill
  • Icon TODO: Add in-game list of effects (as unnumbered MediaWiki list)
Learned by: Icon TODO: Add characters If Icon Mush: