Difference between revisions of "Template:World summary allegiance.layout"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#switch: {{#sub: {{{5|}}}|0|2}}
 
{{#switch: {{#sub: {{{5|}}}|0|2}}
|Na=* It is a {{{2|}}} [[{{{1}}}]] world in the {{{4}}} of {{{3}}}.<includeonly>[[Category:{{{1}}} worlds]]</includeonly>
+
|Na=* It is a {{{2|}}} [[{{{1}}}]] world in the {{{4}}} of {{{3}}}.<includeonly>[[Category:{{{1}}} worlds]]{{#if: {{{6|}}}|[[Category: {{{6}}} worlds]]|}}</includeonly>
 
|Cs=* It is a [[client state]] of [[{{{2}}}]] in the {{{4}}} of {{{3}}}.<includeonly>[[Category: {{{2}}} {{{1}}} worlds]]</includeonly>
 
|Cs=* It is a [[client state]] of [[{{{2}}}]] in the {{{4}}} of {{{3}}}.<includeonly>[[Category: {{{2}}} {{{1}}} worlds]]</includeonly>
 
|* It is a member of [[{{{1}}}]] in the {{{4}}} of {{{3}}}{{#if: {{{2|}}}|&nbsp;and in the [[{{{2|}}}]]|}}{{#if: {{{6|}}}|&nbsp;and the [[{{{6|}}}]]|}}.<includeonly>[[Category: {{{1}}} worlds]]{{#if: {{{2|}}}|[[Category: {{{2}}} worlds]]|}} {{#if: {{{6|}}}|[[Category: {{{6}}} worlds]]|}}</includeonly>}}<noinclude>  
 
|* It is a member of [[{{{1}}}]] in the {{{4}}} of {{{3}}}{{#if: {{{2|}}}|&nbsp;and in the [[{{{2|}}}]]|}}{{#if: {{{6|}}}|&nbsp;and the [[{{{6|}}}]]|}}.<includeonly>[[Category: {{{1}}} worlds]]{{#if: {{{2|}}}|[[Category: {{{2}}} worlds]]|}} {{#if: {{{6|}}}|[[Category: {{{6}}} worlds]]|}}</includeonly>}}<noinclude>  

Revision as of 02:11, 23 August 2016

  • It is a member of [[{{{1}}}]] in the {{{4}}} of {{{3}}}.

Expands the Template:World summary allegiance query for use in the world summary paragraph.