Template:Assignmentlocationlabel

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

This template is used to label individual locations on the galaxy map to indicate whether a given assignment may show up there or not. It is only useful inside {{Assignmentlocations}}, and depends on CSS in MediaWiki:Vector.css to function properly.

Usage:

{{Assignmentlocationlabel
  |left=number of pixels from left side (only specify this or right)
  |right=number of pixels from right side (only specify this or left)
  |top=number of pixels from top side (only specify this or bottom)
  |right=number of pixels from bottom side (only specify this or top)
  |found=yes if the assignment can be found here, no otherwise
  |page=the name of the page for the location
  |label=the text for the label, not needed if it is the same as the page
  |link=no to suppress making the label a link, yes to force it to be a link to page
  |spacefound=yes if the assignment can be found here while in space, no otherwise
  |spacepage=the name of the page for the space portion of this location
  |spacelink=no to suppress making the ship icon a link
  |groundfound=yes if the assignment can be found here while beamed down, no otherwise
  |groundpage=the name of the page for the ground portion of this location
  |groundlink=no to suppress making the person icon a link
}}

If spacepage and groundpage are specified, then the label will not be a link by default, but the ship and person icons will. You can use link=yes, spacelink=no, and groundlink=no to override this.

If spacepage and groundpage are not specified, the space and ground icons won't appear, and the label will be a link to page by default. You can use link=no to override this.

Results of specifying only spacepage or groundpage will likely not be as expected. If you don't need the space or ground values, use found, page, and label instead.