Difference between revisions of "Template:Flexidot"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
imported>Felix
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | {{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:{{{{{dot-filled}}}|Dot-filled.png}}|{{{{{dot-size}}}|10px}}]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{{{dot-empty}}}|Dot.png}}|{{{{{dot-size}}}|10px}}]] }} }} }}</span></includeonly><noinclude>
+
<includeonly><span class="dot5" style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5  or {{{ 2 | 0 }}} > 5 | {{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:{{{dot-filled|Dot-filled.png}}}|{{{dot-size|10px}}}|link=]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:{{{dot-empty|Dot.png}}}|{{{dot-size|10px}}}|link=]] }} }} }}</span></includeonly><noinclude>
 
{|
 
{|
 
! colspan="2" | Basic usage
 
! colspan="2" | Basic usage
Line 40: Line 40:
 
! colspan="2" | Different images
 
! colspan="2" | Different images
 
|-
 
|-
|<nowiki>{{Flexidot|3|5|dot-empty=Choc-dot.png|dot-filled=Choc-dot-f.png|dot-size=10px}}</nowiki>
+
|<nowiki>{{Flexidot|3|5|dot-empty=Choc-dot.png|dot-filled=Choc-dot-f.png|dot-size=18px}}</nowiki>
|{{Flexidot|3|5|dot-empty=Choc-dot.png|dot-filled=Choc-dot-f.png|dot-size=10px}}
+
|{{Flexidot|3|5|dot-empty=Choc-dot.png|dot-filled=Choc-dot-f.png|dot-size=18px}}
 
|-
 
|-
|<nowiki>{{Flexidot|3|5}}</nowiki>
+
|<nowiki>{{Flexidot|7|10|dot-empty=Edgrndot.png|dot-filled=Fdgrndot.png|dot-size=8px}}</nowiki>
|{{Flexidot|3|5}}
+
|{{Flexidot|7|10|dot-empty=Edgrndot.png|dot-filled=Fdgrndot.png|dot-size=8px}}
|-
 
|<nowiki>{{Flexidot|3|10}}</nowiki>
 
|{{Flexidot|3|10}}
 
|-
 
|<nowiki>{{Flexidot|7|0}}</nowiki>
 
|{{Flexidot|7|0}}
 
|-
 
|<nowiki>{{Flexidot|7|5}}</nowiki>
 
|{{Flexidot|7|5}}
 
|-
 
|<nowiki>{{Flexidot|7|10}}</nowiki>
 
|{{Flexidot|7|10}}
 
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:14, 18 September 2016

Basic usage
{{Flexidot|1}} Dot-filled.pngDot.pngDot.pngDot.pngDot.png
{{Flexidot|2}} Dot-filled.pngDot-filled.pngDot.pngDot.pngDot.png
{{Flexidot|3}} Dot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.png
{{Flexidot|4}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot.png
{{Flexidot|5}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.png
Variable background
{{Flexidot|3|0}} Dot-filled.pngDot-filled.pngDot-filled.png
{{Flexidot|3|5}} Dot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.png
{{Flexidot|3|10}} Dot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.pngDot.pngDot.pngDot.pngDot.pngDot.png
{{Flexidot|7|0}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.png
{{Flexidot|7|5}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.pngDot.png
{{Flexidot|7|10}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.pngDot.png
Different images
{{Flexidot|3|5|dot-empty=Choc-dot.png|dot-filled=Choc-dot-f.png|dot-size=18px}} Choc-dot-f.pngChoc-dot-f.pngChoc-dot-f.pngChoc-dot.pngChoc-dot.png
{{Flexidot|7|10|dot-empty=Edgrndot.png|dot-filled=Fdgrndot.png|dot-size=8px}} Fdgrndot.pngFdgrndot.pngFdgrndot.pngFdgrndot.pngFdgrndot.pngFdgrndot.pngFdgrndot.pngEdgrndot.pngEdgrndot.pngEdgrndot.png