Template:Projset: Difference between revisions

From stacky wiki
No edit summary
No edit summary
Line 2: Line 2:
<div style="position: relative; height: 99px; width: 77px;">
<div style="position: relative; height: 99px; width: 77px;">
<div style="position: absolute; left: 0px; top: 0px; padding: 0;">[[File:projset00000.png]]</div>
<div style="position: absolute; left: 0px; top: 0px; padding: 0;">[[File:projset00000.png]]</div>
{{#ifexpr:{{{1}}}>=10000|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
{{#ifexpr:{{{1}}}>=100000|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
[[File:projset10000.png]]</div>}}
[[File:projset10000.png]]</div>}}
{{#ifexpr:{{#expr: {{{1}}} mod 100000}}>=10000|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
[[File:projset02000.png]]</div>}}
{{#ifexpr:{{#expr: {{{1}}} mod 10000}}>=1000|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
{{#ifexpr:{{#expr: {{{1}}} mod 10000}}>=1000|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
[[File:projset01000.png]]</div>}}
[[File:projset03000.png]]</div>}}
{{#ifexpr:{{#expr: {{{1}}} mod 1000}}>=100|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
{{#ifexpr:{{#expr: {{{1}}} mod 1000}}>=100|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
[[File:projset00100.png]]</div>}}
[[File:projset00100.png]]</div>}}
Line 17: Line 19:
<noinclude>
<noinclude>
==Usage==
==Usage==
There are five places which can be zero or 1 (you can use other digits, but they'll be treated like 1's). For example, <code><nowiki>{{projset|10011}}</nowiki></code> produces {{projset|10011}}.
There are five places which can be zero or 1 (you can use other digits, but they'll be treated like 1's). For example, <code><nowiki>{{projset|110011}}</nowiki></code> produces {{projset|110011}}.
</noinclude>
</noinclude>

Revision as of 19:50, 8 November 2011


Usage

There are five places which can be zero or 1 (you can use other digits, but they'll be treated like 1's). For example, {{projset|110011}} produces



.