Difference between revisions of "Template:Level"

From Mushpedia
Jump to: navigation, search
(Created page with "<includeonly>{{#if|{{{2|}}}|<span class="skill-level">{{{1}}}</span>|<span class="skill-level-mush">{{{1}}}</span>}}</includeonly><noinclude> A template to display the '''leve...")
 
(Not actually a useful template.)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if|{{{2|}}}|<span class="skill-level">{{{1}}}</span>|<span class="skill-level-mush">{{{1}}}</span>}}</includeonly><noinclude>
+
<includeonly><onlyinclude>{{#if: {{{2|}}}|<span class="skill-level-mush">[[Player Resources#Experience|{{{1}}}]]</span>|<span class="skill-level">[[Player Resources#Experience|{{{1}}}]]</span>}}</onlyinclude></includeonly>
 
A template to display the '''level requirement''' for a given [[Skills|Skill]]. '''"mush"''' is an optional parameter which colors the square differently to imply Mush level.
 
A template to display the '''level requirement''' for a given [[Skills|Skill]]. '''"mush"''' is an optional parameter which colors the square differently to imply Mush level.
  
Line 11: Line 11:
 
<pre>{{Level|11|mush}</pre>
 
<pre>{{Level|11|mush}</pre>
 
{{Level|11|mush}}
 
{{Level|11|mush}}
</noinclude>
 

Latest revision as of 07:23, 22 December 2013

A template to display the level requirement for a given Skill. "mush" is an optional parameter which colors the square differently to imply Mush level.

Usage:

{{Level|number|mush}}

Demo:

{{Level|3}}

3

{{Level|11|mush}

11