Difference between revisions of "Template:DEN"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 2: Line 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}}}]]}}
<includeonly>[[Category:Dictionary]][[Category:Non-canon]][[Category:{{#sub:{{PAGENAME}}|0|1}}]]</includeonly>
+
<includeonly>[[Category:Dictionary]][[Category:Non-canon]][[Category:{{#if:{{#pos:0123456789|{{#sub:{{PAGENAME}}|0|1}}}}|0|{{#ifeq: {{#sub:{{PAGENAME}}|0|1}}|&|?|{{#sub:{{PAGENAME}}|0|1}}}}}}]]</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.  

Revision as of 03:14, 22 July 2018



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>
}}