Difference between revisions of "Template:Skill Tooltip"

From Mushpedia
Jump to: navigation, search
(playing with margin now)
m
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="float:right;margin-left: 10 px">
+
<onlyinclude><includeonly><div style="float:right;margin-left: 10px">
{| class="wikitable" style="width:350px"
+
{| class="wikitable" style="width:400px"
 
|-
 
|-
! colspan="2" | {{{1}}}
+
! colspan="4" style="font-size: 1.3em;"|{{Skill|{{#var:Title|Unknown Skill}}}}
 
|-
 
|-
! style="width:80px" | Description:
+
! style="width:80px; vertical-align:top;" |Description:
| {{{2}}}
+
| colspan="3" |''{{#var:Description|{{Todo|Add in-game fluff/description of skill}}}}''
 +
{{#var:Effect|*{{Todo|Add in-game list of effects (as unnumbered MediaWiki list)}}}}
 
|-
 
|-
! Effects:
+
! style="width:100px; vertical-align:top;" |Learned by:
| {{{3}}}
+
|{{#var:Characters|{{Todo|Add characters}}}}
|}</div></includeonly><noinclude>
+
! style="width:100px;" |If {{Character|Mush}}:
 
+
| class="{{Mush Status color|{{#var:Mush Status}}}}" |{{#var:Mush Status||{{Todo|Mush status}}}}
Shows the content of the skilltooltip in a table on the right side of the page.
+
|}</div></includeonly></onlyinclude>
 
+
Shows the content of the Skill tooltip in a table on the right side of the Skill page.
== Synopsis ==
+
{{Warn|Strictly for use on Skill pages.}}
  
 +
'''Usage:'''
 
<pre>
 
<pre>
{{SkillTooltip
+
{{Skill Tooltip}}
| #1
+
| #2
+
|
+
#3
+
}}
+
 
</pre>
 
</pre>
 
{| class="wikitable"
 
|-
 
! Parameter !! Description
 
|-
 
! #1
 
| The name of the skill (eg "Astrophycisist")
 
|-
 
! #2
 
| The first lines of the skills description.
 
|-
 
! #3
 
| The list of effects as a MediaWiki unnumbered list (each item with an asterisk), make sure you have a newline before the first item, and a newline after each one or it wont display properly in the table!
 
|}
 
</noinclude>
 

Latest revision as of 05:57, 10 February 2014

Shows the content of the Skill tooltip in a table on the right side of the Skill page. Icon Warning: Strictly for use on Skill pages.

Usage:

{{Skill Tooltip}}