Difference between revisions of "Template:L"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{#if: {{{1|}}}|[[Category: {{{1}}}]]}}{{#if: {{{2|}}}|[[Category: {{{2}}}]]}}{{#if: {{{3|}}}|[[Category: {{{3}}}]]}}{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}<includeonly>[[Category:Library]]
 
{{#if: {{{1|}}}|[[Category: {{{1}}}]]}}{{#if: {{{2|}}}|[[Category: {{{2}}}]]}}{{#if: {{{3|}}}|[[Category: {{{3}}}]]}}{{#if: {{{4|}}}|[[Category: {{{4}}}]]}}{{#if: {{{5|}}}|[[Category: {{{5}}}]]}}<includeonly>[[Category:Library]]
[[Category:{{#if:{{#pos:0123456789|{{#sub:{{PAGENAME}}|0|1}}}}|0|{{#ifeq: {{#sub:{{PAGENAME}}|0|1}}|&|?|{{#sub:{{PAGENAME}}|0|1}}}}}}]]</includeonly><noinclude>
+
{{Lead character category}}</includeonly><noinclude>
 
This template is a text substitution template designed to mark an article as part of the library (neither canon or non-canon) and any other categories as required (up to 5). 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 library (neither canon or non-canon) and any other categories as required (up to 5). This also generates an entry for the first letter of the article name.
 
<pre><nowiki>
 
<pre><nowiki>

Latest revision as of 12:27, 22 July 2018

This template is a text substitution template designed to mark an article as part of the library (neither canon or non-canon) and any other categories as required (up to 5). This also generates an entry for the first letter of the article name.

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