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)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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}}}}}&nbsp;{{Dot/Basic|{{#expr:{{{1}}}-5}}|{{#expr:{{{2}}}-5}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}} |{{Dot/Basic|{{{1}}}|{{{2}}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}}}</includeonly>
+
<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|{{{1}}}|{{{2}}}|fillchar={{{fillchar}}}|hollowchar={{{hollowchar}}}}}}}</includeonly>

Revision as of 22:35, 8 June 2011