Difference between revisions of "Template:World"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(CR got included. Fixed)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[{{{1}}} (world)|{{#if:{{#pos:{{{1}}}|(}}|{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|(}}}}|{{{1}}}}}]]/[[{{{3}}} Subsector|{{{3}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{4}}})<noinclude>
+
[[{{{1}}} (world)|{{#if:{{#pos:{{{1}}}|(}}|{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|(}}}}|{{{1}}}}}]]/[[{{{3}}} Subsector|{{#if:{{#pos:{{{3}}}|(}}|{{#sub:{{{3}}}|0|{{#pos:{{{3}}}|(}}}}|{{{3}}}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{4}}})<noinclude>
This template presents a world in standard format, see also <nowiki>{{worldS}}</nowiki><br>
+
 
 +
This template presents a world name in standard format, see also [[Template:WorldS]]
 +
 
 
e.g. {{World|Dinom|Spinward Marches|Lanth|1811}}
 
e.g. {{World|Dinom|Spinward Marches|Lanth|1811}}
  
 
This Template has been altered to detect worlds such as '''Antares (An 2421) (world)''' which should be entered as '''Antares (An 2421)''' - we could try to auto-determine these, but as the rules for the sector abbreviation is not simple, it would be difficult.
 
This Template has been altered to detect worlds such as '''Antares (An 2421) (world)''' which should be entered as '''Antares (An 2421)''' - we could try to auto-determine these, but as the rules for the sector abbreviation is not simple, it would be difficult.
 +
 +
[[Category: Templates|W]]
 +
[[Category: Text Expansion Templates|W]]
 +
[[Category: World templates|W]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:21, 2 September 2017

[[{{{1}}} (world)|{{{1}}}]]/[[{{{3}}} Subsector|{{{3}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{4}}})

This template presents a world name in standard format, see also Template:WorldS

e.g. Dinom/Lanth (Spinward Marches 1811)

This Template has been altered to detect worlds such as Antares (An 2421) (world) which should be entered as Antares (An 2421) - we could try to auto-determine these, but as the rules for the sector abbreviation is not simple, it would be difficult.