Difference between revisions of "Template:Dot/Main"

From Shadow of the Throne Wiki
Jump to: navigation, search
(Generates appropriate number of dots with spacing if needed)
m (Hard space)
Line 1: Line 1:
 
<includeonly>{{#ifexpr:{{#if:{{{separator}}}|1|0}} and (({{{1}}}>5) or ({{{2}}}>5))<!-- Only use complex version if absolutely necessary -->
 
<includeonly>{{#ifexpr:{{#if:{{{separator}}}|1|0}} and (({{{1}}}>5) or ({{{2}}}>5))<!-- Only use complex version if absolutely necessary -->
   |{{Dot/Basic|{{Min|{{{1}}}|5}}|{{Min|{{{2}}}|5}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}} {{Dot/Basic|{{#expr:{{{1}}}-5}}|{{#expr:{{{2}}}-5}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}
+
   |{{Dot/Basic|{{Min|{{{1}}}|5}}|{{Min|{{{2}}}|5}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}&nbsp;{{Dot/Basic|{{#expr:{{{1}}}-5}}|{{#expr:{{{2}}}-5}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}
 
   |{{Dot/Basic|{{{1}}}|{{{2}}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}}}</includeonly>
 
   |{{Dot/Basic|{{{1}}}|{{{2}}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}}}</includeonly>

Revision as of 03:21, 30 June 2011