Difference between revisions of "Template:Category handler/numbered"

From Diablo Wiki
Jump to: navigation, search
(Created page with "{{#iferror: {{#expr: 1 + {{{data|}}} }} | {{{data|}}} <!--Not a number, return "data" as is--> | {{{ {{{data|}}} |}}} <!--"data" is a number, return that numbered parameter...")
 
Line 1: Line 1:
{{#iferror: {{#expr: 1 + {{{data|}}} }}  
+
<!-- Copy and paste from Wikipedia.  I don't understand this code as of the date and time of this update.  If you can fix it, go ahead.{{#iferror: {{#expr: 1 + {{{data|}}} }}  
 
| {{{data|}}}  <!--Not a number, return "data" as is-->  
 
| {{{data|}}}  <!--Not a number, return "data" as is-->  
 
| {{{ {{{data|}}} |}}}  <!--"data" is a number, return that numbered parameter-->
 
| {{{ {{{data|}}} |}}}  <!--"data" is a number, return that numbered parameter-->
Line 7: Line 7:
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>
 +
-->

Revision as of 14:42, 29 May 2012

| }}

[create] 50px Template documentation

-->