Difference between revisions of "Template:Enumeration"
From AtlasWiki
(Created page with "<noinclude> Creates the table for an enumeration, a set of related tags, in this format: </noinclude>{| class="xcsgwidetable" ! Enumeration | {{#ifeq:{{PAGENAME}}|Enumeration|...") |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
</noinclude>{| class="xcsgwidetable" | </noinclude>{| class="xcsgwidetable" | ||
! Enumeration | ! Enumeration | ||
− | | {{#ifeq:{{PAGENAME}}|Enumeration|<nowiki>{{PAGENAME}}</nowiki>|{{PAGENAME}}}} | + | | {{#ifeq:{{PAGENAME}}|Enumeration|<nowiki>{{PAGENAME}}</nowiki>|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} |
|- | |- | ||
! Description | ! Description | ||
− | | {{{description}}} | + | | {{{description}}} {{#set: description = {{{description}}} }} |
{{#if:{{{references|}}}| | {{#if:{{{references|}}}| | ||
{{!}}- | {{!}}- | ||
Line 15: | Line 15: | ||
{| class="xcsgtable" | {| class="xcsgtable" | ||
|- | |- | ||
− | ! | + | ! {{#ifeq:{{PAGENAME}}|Enumeration|<nowiki>{{PAGENAME}}</nowiki>|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} !! Description |
<noinclude><!-- parse members of the --></noinclude> | <noinclude><!-- parse members of the --></noinclude> | ||
|-{{#arraydefine:members|{{{members|first,,description of first;;second,,description of second}}}|;;|}} | |-{{#arraydefine:members|{{{members|first,,description of first;;second,,description of second}}}|;;|}} | ||
Line 21: | Line 21: | ||
{{!}}- | {{!}}- | ||
{{!}}|var|{{#explode:var|,,|0}} {{!}}{{!}} {{#explode:var|,,|1}} }} | {{!}}|var|{{#explode:var|,,|0}} {{!}}{{!}} {{#explode:var|,,|1}} }} | ||
− | |}<noinclude> | + | |} |
+ | |||
+ | Used on: {{#ask: [[tagged with enumeration::{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}} | ||
+ | <includeonly>[[Category:XCSG Tags]]</includeonly><noinclude> | ||
[[Category:XCSG Templates]]</noinclude> | [[Category:XCSG Templates]]</noinclude> |
Latest revision as of 15:33, 15 October 2015
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: