Difference between revisions of "Template:WorldS"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(add category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[{{{1}}} (world)|{{{1}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{3}}})
+
[[{{{1}}} (world)|{{#if:{{#pos:{{{1}}}|(}}|{{#sub:{{{1}}}|0|{{#pos:{{{1}}}|(}}}}|{{{1}}}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{3}}})<noinclude>
 +
This is the standard template for the world references in articles.
 +
Parameters are
 +
# World Name
 +
# Sector Name
 +
# Hex Location
 +
 
 +
Example: <nowiki>{{WorldS|Regina|Spinward Marches|1910}}</nowiki> produces {{WorldS|Regina|Spinward Marches|1910}}
 +
[[Category: Templates|W]]
 +
[[Category: World templates|W]]
 +
</noinclude>

Latest revision as of 23:20, 17 August 2021

[[{{{1}}} (world)|{{{1}}}]] ([[{{{2}}} Sector|{{{2}}}]] {{{3}}}) This is the standard template for the world references in articles. Parameters are

  1. World Name
  2. Sector Name
  3. Hex Location

Example: {{WorldS|Regina|Spinward Marches|1910}} produces Regina (Spinward Marches 1910)