Difference between revisions of "Template:World"
Jump to navigation
Jump to search
(One intermediate revision by the same user 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 | + | |
+ | 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}} | ||
Line 6: | Line 8: | ||
[[Category: Templates|W]] | [[Category: Templates|W]] | ||
+ | [[Category: Text Expansion Templates|W]] | ||
+ | [[Category: World templates|W]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17: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.