Template:Projset: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
< | <span style="position: relative; width: 77px;"> | ||
{{#ifexpr:{{{1}}}>=10000|< | {{#ifexpr:{{{1}}}>=10000|<span style="position: absolute; left: 0px; top: 0px; padding: 0;"> | ||
[[File:projset10000.png]]</ | [[File:projset10000.png]]</span>}} | ||
{{#ifexpr:{{#expr: {{{1}}} mod 10000}}>=1000|< | {{#ifexpr:{{#expr: {{{1}}} mod 10000}}>=1000|<span style="position: absolute; left: 0px; top: 0px; padding: 0;"> | ||
[[File:projset01000.png]]</ | [[File:projset01000.png]]</span>}} | ||
{{#ifexpr:{{#expr: {{{1}}} mod 1000}}>=100|< | {{#ifexpr:{{#expr: {{{1}}} mod 1000}}>=100|<span style="position: absolute; left: 0px; top: 0px; padding: 0;"> | ||
[[File:projset00100.png]]</ | [[File:projset00100.png]]</span>}} | ||
{{#ifexpr:{{#expr: {{{1}}} mod 100}}>=10|< | {{#ifexpr:{{#expr: {{{1}}} mod 100}}>=10|<span style="position: absolute; left: 0px; top: 0px; padding: 0;"> | ||
[[File:projset00010.png]]</ | [[File:projset00010.png]]</span>}} | ||
{{#ifexpr:{{#expr: {{{1}}} mod 10}}>=1|< | {{#ifexpr:{{#expr: {{{1}}} mod 10}}>=1|<span style="position: absolute; left: 0px; top: 0px; padding: 0;"> | ||
[[File:projset00001.png]]</ | [[File:projset00001.png]]</span>}} | ||
[[File:projset00000.png]]</ | [[File:projset00000.png]]</span><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:24, 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