Difference between revisions of "Template:LE"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (Replace if template with string parser if)
m (Fix category inclusion)
Line 4: Line 4:
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
 
{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}
[[Category:Library]][[Category:Canon]]
+
<includeonly>[[Category:Library]][[Category:Canon]]</includeonly>
 
<noinclude>
 
<noinclude>
This template is a text subsitution template designed to mark an article as part of the canon library and any other categories as required (up to 5). All the categories are optional.  
+
This template is a text substitution template designed to mark an article as part of the canon library and any other categories as required (up to 5). All the categories are optional.  
 
<pre><nowiki>
 
<pre><nowiki>
 
{{LE
 
{{LE
Line 16: Line 16:
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 +
[[Category: Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:58, 21 September 2007




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

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