Difference between revisions of "Template:DEN"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Replace if template with string parser if)
m (fix categories)
Line 1: Line 1:
{{#if: {{{1|}}}|[[Category:{{{1}}}]]}}
+
{{#if: {{{1|}}}|[[Category:{{{1|}}}]]}}{{#if: {{{2|}}}|[[Category: {{{2}}}]]}}
{{#if: {{{2|}}}|[[Category: {{{2}}}]]}}
+
{{#if: {{{3|}}}|[[Category: {{{3}}}]]}}{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
{{#if: {{{3|}}}|[[Category: {{{3}}}]]}}
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
[[Category:Dictionary]][[Category:Non-canon]]
+
<includeonly>[[Category:Dictionary]][[Category:Non-canon]]</includeonly>
 
<noinclude>
 
<noinclude>
 
This template is a text subsitution template designed to mark an article as part of the non-canon dictionary and any other categories as required (up to 5). You must include the first category, but all others as optional.  
 
This template is a text subsitution template designed to mark an article as part of the non-canon dictionary and any other categories as required (up to 5). You must include the first category, but all others as optional.  
Line 16: Line 14:
 
}}
 
}}
 
</nowiki></pre>  
 
</nowiki></pre>  
 +
[[Category: Templates|Dictionary]]
 
</noinclude>
 
</noinclude>

Revision as of 20:19, 2 February 2008



This template is a text subsitution template designed to mark an article as part of the non-canon dictionary and any other categories as required (up to 5). You must include the first category, but all others as optional.

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