Template:RHRLums: Difference between revisions

Used wrong template in example
Shit, I was actually editing the wrong one
 
Line 1: Line 1:
<includeonly>{{RHRLumsIcon|L}}{{RHRLumsIcon|{{#if:{{#sub:{{{1}}}|0|1}}|{{#sub:{{{1}}}|0|1}}|Bla}}}}{{RHRLumsIcon|R}}</includeonly><noinclude>*Usage: <nowiki>{{RHRLums|7}}</nowiki>. Takes 1 digit.
<includeonly>{{RHRLumsIcon|L}}{{RHRLumsIcon|{{#if:{{#sub:{{{1}}}|1|1}}|{{#sub:{{{1}}}|0|1}}|Bla}}}}{{RHRLumsIcon|M}}{{RHRLumsIcon|{{#if:{{#sub:{{{1}}}|0|1}}|{{#sub:{{{1}}}|-1|1}}|Bla}}}}{{RHRLumsIcon|R}}</includeonly><noinclude>*Usage: <nowiki>{{RHRLums|9}}</nowiki>. Takes up to 2 digits.


*Example: {{RHRLums|7}}
*Example: {{RHRLums|9}}


*Note: This template is intended as a meta-template: a template used for constructing other templates. It is not meant for use directly in an article, but can be used on a one-off basis if required.
*Note: This template is intended as a meta-template: a template used for constructing other templates. It is not meant for use directly in an article, but can be used on a one-off basis if required.


[[Category:Meta-templates]]</noinclude>
[[Category:Meta-templates]]</noinclude>