Difference between revisions of "Template:5Star"

From The Aruba Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#switch: {{{1|}}} |0=<span style="font-size:125%">☆☆☆☆☆</span>|1=<span style="font-size:125%"><span style="color:gold">★</span>☆☆☆☆</span>|2=<span style="font-size:125%"><span style="color:gold">★★</span>☆☆☆</span> |3=<span style="font-size:125%"><span style="color:gold">★★★</span>☆☆</span>|4=<span style="font-size:125%"><span style="color:gold">★★★★</span>☆</span>|5=<span style="font-size:125%"><span style="color:gold">★★★★★</span></span>|}}
+
{{#switch: {{{1|}}} |0=<span style="font-size:{{{starsize|125%}}}">☆☆☆☆☆</span>|1=<span style="font-size:{{{starsize|125%}}}"><span style="color:{{{fillstar|gold}}}">★</span>☆☆☆☆</span>|2=<span style="font-size:{{{starsize|125%}}}"><span style="color:{{{fillstar|gold}}}">★★</span>☆☆☆</span> |3=<span style="font-size:{{{starsize|125%}}}"><span style="color:{{{fillstar|gold}}}">★★★</span>☆☆</span>|4=<span style="font-size:{{{starsize|125%}}}"><span style="color:{{{fillstar|gold}}}">★★★★</span>☆</span>|5=<span style="font-size:{{{starsize|125%}}}"><span style="color:{{{fillstar|gold}}}">★★★★★</span></span>|}} {{{text|}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 +
{{PlainURL|1=Category:1-star Hotels|2={{5Star|4|text= Hotels}}}}
 +
 
{{5Star|4}}
 
{{5Star|4}}
 +
:Basic
 
<pre>
 
<pre>
 
{{5Star|4}}
 
{{5Star|4}}
 
</pre>
 
</pre>
 +
:Advance
 +
<pre>
 +
{{5Star|4|starsize|fillstar}}
 +
</pre>
 +
:'''1''' - Star Rating
 +
:'''fillstar''' - Set fill color for the star rating
 +
:'''starsize''' - Set star's font size
 
</noinclude>
 
</noinclude>

Latest revision as of 00:49, 12 August 2018


★★★★ Hotels


★★★★

Basic
{{5Star|4}}
Advance
{{5Star|4|starsize|fillstar}}
1 - Star Rating
fillstar - Set fill color for the star rating
starsize - Set star's font size