Template:Mmg stars: Difference between revisions

From Darkan
Jump to navigation Jump to search
imported>Suppa chuppa
mNo edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span style="font-weight:bold; font-size:175%; {{#switch:{{{1}}}
<includeonly><span style="font-weight:bold; font-size:175%; {{#switch:{{{1}}}
| 0 = color:#5D5D5D;"><span style="display:none;">0</span>*****</span>
| 0 = color:#5D5D5D;"><span style="display:none;">0</span>*****</span>
| 1 = color:#000099;"><span style="display:none;">1</span>*</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">****</span>
| 1 = color:green;"><span style="display:none;">1</span>*</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">****</span>
| 2 = color:#000099;"><span style="display:none;">2</span>**</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">***</span>
| 2 = color:green;"><span style="display:none;">2</span>**</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">***</span>
| 3 = color:#000099;"><span style="display:none;">3</span>***</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">**</span>
| 3 = color:green;"><span style="display:none;">3</span>***</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">**</span>
| 4 = color:#000099;"><span style="display:none;">4</span>****</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">*</span>
| 4 = color:green;"><span style="display:none;">4</span>****</span><span style="font-weight:bold; font-size:175%; color:#5D5D5D;">*</span>
| 5 = color:#000099;"><span style="display:none;">5</span>*****</span>
| 5 = color:green;"><span style="display:none;">5</span>*****</span>
| #default = color:#4B4B4B;"><span style="display:none;">0</span>*****</span>}}</includeonly><noinclude>{{/doc}}[[Category:Transclusion templates|{{PAGENAME}}]]</noinclude>
| #default = color:#4B4B4B;"><span style="display:none;">0</span>*****</span>}}</includeonly><noinclude>{{/doc}}[[Category:Transclusion templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 00:09, 14 February 2024

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Mmg stars/doc.

Mmg stars is a template similar to {{difficulty}} which displays a number of stars out of 5 based on the parameter.

Usage

{{mmg stars|number of stars}}

Example

{{mmg stars|4}}

gives:
4*****