Difference between revisions of "Template:Enumeration"

From AtlasWiki
Jump to: navigation, search
(now using the name of the enumeration for the header of the table listing the members)
(adding autodiscovery of pages that declare themselves to use this enumeration)
Line 21: Line 21:
 
{{!}}-
 
{{!}}-
 
{{!}}|var|{{#explode:var|,,|0}} {{!}}{{!}} {{#explode:var|,,|1}} }}
 
{{!}}|var|{{#explode:var|,,|0}} {{!}}{{!}} {{#explode:var|,,|1}} }}
|}<noinclude>
+
|}
 +
 
 +
Used on: {{#ask: [[has enumeration:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}<noinclude>
 
[[Category:XCSG Templates]]</noinclude>
 
[[Category:XCSG Templates]]</noinclude>

Revision as of 13:20, 14 April 2014

Creates the table for an enumeration, a set of related tags, in this format:

Enumeration {{PAGENAME}}
Description {{{description}}}
{{PAGENAME}} Description
first description of first
second description of second

Used on: