Difference between revisions of "Template:DE"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 4: Line 4:
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
<includeonly>[[Category:Dictionary]][[Category:Canon]][[Category:{{#sub:{{PAGENAME}}|0|1}}]]</includeonly>
+
<includeonly>[[Category:Dictionary]][[Category: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 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.  

Revision as of 03:13, 22 July 2018




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