STO Awakening.jpg

Template:Assignmentlocations

From Star Trek Online Wiki
Jump to: navigation, search
The following documentation is transcluded from Template:Assignmentlocations/doc (edit):

This template displays a galaxy map-like display, showing a link for all locations where a given duty officer assignment is available. It also sets Property:Has possible location for that page. It relies heavily on {{Assignmentlocationlabel}}, CSS in MediaWiki:Vector.css, and on File:Assignment locations map.jpg, all of which perform the actual heavy lifting for the template; the contents of this template are more data than functionality.

Positioning notes: When adding a new location to the map, you use the following parameters to {{Assignmentlocationlabel}} to determine its position.

  • Horizontal: use only one of the following:
    • left: Where the left side of the label should be, measured in number of pixels from the left edge of the map.
    • right: Where the right side of the label should be, measured in number of pixels from the right edge of the map.
  • Vertical: use only one of the following:
    • top: Where the top edge of the label should be, measured in number of pixels from the top edge of the map.
      • Note: due to invisible padding at the top of the label, subtract 3 from the position of a place marker to get the best positioning.
    • bottom: Where the bottom edge of the label should be, measured in number of pixels from the bottom edge of the map.

It is recommended that you copy the usage provided below and leave every line intact as a convenience to the next editor. While the template will function if you delete lines with a no, it's easier for future editors to add a yes value if the line they need is already there. Similarly, if you add a new location, please add the appropriate line to Boilerplate:Assignment article to give it the best chance of being added to new assignment articles.

Usage:

{{assignmentlocations
  |aenigmanebula=no
  |afehirrnebula=no
  |alphacentauri=no
  |alphatrianguli=no
  |andoria=no
  |andoriasystem=no
  |arucanisarm=no
  |azlesaexpanse=no
  |bajor=no
  |bajorsystem=no
  |battlegroupomega=no
  |betaursae=no
  |betrekanebula=no
  |btrancluster=no
  |captainstable=no
  |deepspacek7=no
  |shermansystem=no
  |deepspace9=no
  |deepspace9space=no
  |defera=no
  |deferasystem=no
  |deltavolanis=no
  |dkelstarcluster=no
  |drozanastation=no
  |drozanasystem=no
  |earthspacedock=no
  |eridanbelt=no
  |eridonnebula=no
  |etaeridani=no
  |firstcity=no
  |gammaorionis=no
  |ganaldastation=no
  |ganaldasystem=no
  |hromicluster=no
  |iotapavonis=no
  |khazancluster=no
  |klingonacademy=no
  |newromuluscommand=no
  |newromulusembassy=no
  |omegaleonis=no
  |orellius=no
  |picanis=no
  |psivelorum=no
  |qonossystem=no
  |qwinterwonderland=no
  |regulus=no
  |risa=no
  |risasystem=no
  |rolornebula=no
  |romulussystem=no
  |rurapenthe=no
  |sirius=no
  |solsystem=no
  |sphereallied=no
  |spherecontested=no
  |spherebattlezone=no
  |starbase39sierra=no
  |sierrasystem=no
  |starfleetacademy=no
  |taudewa=no
  |tekara=no
  |tongnebula=no
  |vulcan=no
  |vulcansystem=no
  |vyntadi=no
  |wolf359system=no
  |zenasexpanse=no
  |zetaandromedae=no
}}

If the assignment is possible in a given location, change no to yes.