Difference between revisions of "Template:LEN"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m
(Update for numerical pages)
Line 4: Line 4:
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
<includeonly>[[Category:Library]][[Category:Non-canon]][[Category:{{#sub:{{PAGENAME}}|0|1}}]]</includeonly>
+
<includeonly>[[Category:Library]][[Category:Non-canon]][[Category:{{#if:{{#pos:0123456789|{{#sub:{{PAGENAME}}|0|1}}}}|0|{{#sub:{{PAGENAME}}|0|1}}}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
This template is a text substitution template designed to mark an article as part of the non-canon library and any other categories as required (up to 5). You must include the first category, but all others as optional. This also generates an entry for the first letter of the article name.
 
This template is a text substitution template designed to mark an article as part of the non-canon library and any other categories as required (up to 5). You must include the first category, but all others as optional. This also generates an entry for the first letter of the article name.

Revision as of 21:45, 3 March 2008




This template is a text substitution template designed to mark an article as part of the non-canon library and any other categories as required (up to 5). You must include the first category, but all others as optional. This also generates an entry for the first letter of the article name.

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