Difference between revisions of "Template:OXPLevel"

From Elite Wiki
m (Levelindicator template)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
Usage:
 
Usage:
   
<code><nowiki>{{OXPLevel|0}}</nowiki></code>
+
<code><nowiki>{{OXPLevel|0|5}}</nowiki></code>
   
  +
Parameters:<br>
  +
min - starting difficulty<br>
  +
max - optional. If used, pic will be choosen to reflect max<br>
 
Parameter range is 0 - 6, default is 0.
 
Parameter range is 0 - 6, default is 0.
 
</noinclude>
 
</noinclude>
[[Image:Levelindicator{{{1|0}}}.png|Difficulty {{{1|0}}}|100px|right]]
+
<div style="position: relative">[[Image:Levelindicator{{{2|{{{1|0}}}}}}.png|100px|right|link=OXP_Levelindicators]]
  +
<div style="position: absolute; right: 75px; top: 3px">
  +
{| border=0; style="background: transparent; color:#ffffff"
  +
|-
  +
|'''{{{1|0}}}'''<span style="display:{{{2|none}}}">-'''{{{2}}}'''</span>
  +
|}
  +
</div>
  +
</div>

Latest revision as of 10:04, 14 August 2010

This template gives users a level indicator for the difficulty of this oxp.

Usage:

{{OXPLevel|0|5}}

Parameters:
min - starting difficulty
max - optional. If used, pic will be choosen to reflect max
Parameter range is 0 - 6, default is 0.

Levelindicator0.png
0-{{{2}}}