Difference between revisions of "Template:World"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Updated this to fit the standard formal naming convention)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[{{{1}}} (world)|{{{1}}}]]/[[{{{3}}} Subsector|{{{3}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{4}}})
+
[[{{{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 name in standard format, see also [[Template:WorldS]]
 +
 
 +
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.
 +
 
 +
[[Category: Templates|W]]
 +
[[Category: Text Expansion Templates|W]]
 +
[[Category: World templates|W]]
 +
</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.