Difference between revisions of "Template:Enumeration"

From AtlasWiki
Jump to: navigation, search
(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|...")
 
(now possible to have either an enumeration page, and use the template there without a name argument, or to use it on a normal page and pass a name argument)
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

Revision as of 18:37, 11 April 2014

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

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