Template:World
Revision as of 03:33, 7 October 2017 by Rigil Kent (talk | contribs) (Created page with "[[{{{1}}} (world)|{{#if:{{#pos:{{{1}}}|(}}|{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|(}}}}|{{{1}}}}}]]/{{{3}}} Subsector|{{#if:{{#pos:{{{3}}}|(}}|{{#sub:{{{3}}}|0|{{#pos:{{{3}}}|(}}}}...")
[[{{{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}}})
This template presents a world name in standard format, see also Template:WorldS
e.g. {{#if:{{#pos:Dinom|(}}|{{#sub:Dinom|0|{{#pos:Dinom|(}}}}|Dinom}}/{{#if:{{#pos:Lanth|(}}|{{#sub:Lanth|0|{{#pos:Lanth|(}}}}|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.