Template:Rating: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
No edit summary
(Make it possible to show the rating without being in the category)
Line 1: Line 1:
[[Category:Level {{{1|{{{level|0}}}}}} Tutorials]]<table style="font-size:95%; line-height:1.5em; padding:0.25em; float:right; margin: 0 0 8px 15px; clear:right; border:1px solid #aaaaaa; background:#eee; text-align:center;{{{2|}}};"><!--
{{{2|[[Category:Level {{{1|{{{level|0}}}}}} Tutorials]]}}}<table style="font-size:95%; line-height:1.5em; padding:0.25em; float:right; margin: 0 0 8px 15px; clear:right; border:1px solid #aaaaaa; background:#eee; text-align:center;{{{2|}}};"><!--


--><tr><th>Difficulty level</th></tr><tr><td>[[Image:Difficulty {{{1|{{{level|0}}}}}}.png]]<br />{{If|{{Eq|{{{1|{{{level|0}}}}}}|0}}|Not rated|{{If|{{Eq|{{{1|{{{level|0}}}}}}|1}}|Beginner|{{If|{{Eq|{{{1|{{{level|0}}}}}}|2}}|Medium|{{If|{{Eq|{{{1|{{{level|0}}}}}}|3}}|Advanced|Master}}}}}}}}</td></tr><!--
--><tr><th>Difficulty level</th></tr><tr><td>[[Image:Difficulty {{{1|{{{level|0}}}}}}.png]]<br />{{If|{{Eq|{{{1|{{{level|0}}}}}}|0}}|Not rated|{{If|{{Eq|{{{1|{{{level|0}}}}}}|1}}|Beginner|{{If|{{Eq|{{{1|{{{level|0}}}}}}|2}}|Medium|{{If|{{Eq|{{{1|{{{level|0}}}}}}|3}}|Advanced|Master}}}}}}}}</td></tr><!--
Line 7: Line 7:
<pre>
<pre>
{{Rating|3}}
{{Rating|3}}
{{Rating|3|no-categorize}}
</pre>
</pre>
Use the following levels:
Use the following levels:

Revision as of 03:20, 20 September 2014

Difficulty level

Template:If

Usage:

{{Rating|3}}
{{Rating|3|no-categorize}}

Use the following levels:

  • 0 or not specified: Not rated
  • 1: Beginner
  • 2: Medium
  • 3: Advanced
  • 4: Master