Template:Projset: Difference between revisions

From stacky wiki
No edit summary
No edit summary
Line 1: Line 1:
<div style="width: 77px;">
<div style="position: relative; width: 77px;">
{{#ifexpr:{{{1}}}>=10000|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
{{#ifexpr:{{{1}}}>=10000|<div style="position: relative; left: 0px; top: 0px; padding: 0;">
[[File:projset10000.png]]</div>}}
[[File:projset10000.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: relative; left: 0px; top: 0px; padding: 0;">
[[File:projset01000.png]]</div>}}
[[File:projset01000.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: relative; left: 0px; top: 0px; padding: 0;">
[[File:projset00100.png]]</div>}}
[[File:projset00100.png]]</div>}}
{{#ifexpr:{{#expr: {{{1}}} mod 100}}>=10|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
{{#ifexpr:{{#expr: {{{1}}} mod 100}}>=10|<div style="position: relative; left: 0px; top: 0px; padding: 0;">
[[File:projset00010.png]]</div>}}
[[File:projset00010.png]]</div>}}
{{#ifexpr:{{#expr: {{{1}}} mod 10}}>=1|<div style="position: absolute; left: 0px; top: 0px; padding: 0;">
{{#ifexpr:{{#expr: {{{1}}} mod 10}}>=1|<div style="position: relative; left: 0px; top: 0px; padding: 0;">
[[File:projset00001.png]]</div>}}
[[File:projset00001.png]]</div>}}
<div style="position: absolute; left: 0px; top: 0px; padding: 0;">[[File:projset00000.png]]</div>
[[File:projset00000.png]]</div><noinclude>
</div><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|10011}}</nowiki></code> produces {{projset|10011}}.
</noinclude>
</noinclude>

Revision as of 20:37, 17 October 2011

Expression error: Unrecognized punctuation character "{". Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator.


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|10011}} produces


.