Difference between revisions of "Template:Enumeration"

From AtlasWiki
Jump to: navigation, search
(adding autodiscovery of pages that declare themselves to use this enumeration)
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
|-
 
|-
 
! Description
 
! Description
| {{{description}}}
+
| {{{description}}} {{#set: description = {{{description}}} }}
 
{{#if:{{{references|}}}|  
 
{{#if:{{{references|}}}|  
 
   {{!}}-
 
   {{!}}-
Line 23: Line 23:
 
|}
 
|}
  
Used on: {{#ask: [[has enumeration:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}<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: