Difference between revisions of "Template:DE"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (experimenting)
m (fix categories)
Line 4: Line 4:
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
[[Category:Dictionary]][[Category:Canon]]
+
<includeonly>[[Category:Dictionary]][[Category:Canon]][[Category:{{#sub:{{PAGENAME}}|0|1}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
This template is a text subsitution template designed to mark an article as part of the canon dictionary and any other categories as required (up to 5). All the categories are optional.  
 
This template is a text subsitution template designed to mark an article as part of the canon dictionary and any other categories as required (up to 5). All the categories are optional.  
Line 16: Line 16:
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 +
[[Category: Templates|Dictionary]]
 
</noinclude>
 
</noinclude>

Revision as of 20:24, 2 February 2008




This template is a text subsitution template designed to mark an article as part of the canon dictionary and any other categories as required (up to 5). All the categories are optional.

{{DE
  |<category 1>
  |<category 2>
  |<category 3>
  |<category 4>
  |<category 5>
}}