Star Trek Online Wiki
m (Removed protection from "Template:Mission": Allowed all users to edit this template (it was limited to admins))
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{ #if:{{{3|}}} | [[File:Faction {{{3}}}.png|24px|{{{3}}}]] |}} [[Mission: {{{1}}}|&ldquo;{{ #if:{{{2|}}} | {{{2}}} | {{{1}}} }}&rdquo;]]</includeonly><noinclude>
+
<includeonly>{{ #if:{{{3|}}} | [[File:Faction {{{3}}}.png|24x24px|link={{{3}}}|{{{3}}}]] |}} [[Mission: {{{1}}}|&ldquo;{{ #if:{{{2|}}} | {{{2}}} | {{{1}}} }}&rdquo;]]</includeonly><noinclude>
 
==Template Description==
 
==Template Description==
   
Line 6: Line 6:
 
==Usage==
 
==Usage==
   
<pre>{{mission|Name of mission|Differing display text, optional}}</pre>
+
<pre>{{mission|Name of mission|Differing display text, optional|Faction icon, optional}}</pre>
   
 
==Examples==
 
==Examples==
Line 13: Line 13:
   
 
* <nowiki>{{mission|The Cure (Federation)|The Cure}}</nowiki> <br /> will produce: {{mission|The Cure (Federation)|The Cure}}
 
* <nowiki>{{mission|The Cure (Federation)|The Cure}}</nowiki> <br /> will produce: {{mission|The Cure (Federation)|The Cure}}
  +
[[Category:Internal link templates]]</noinclude>
 
  +
* <nowiki>{{mission|The Cure (Federation)||ALL}}</nowiki> <br /> will produce: {{mission|The Cure (Federation)||ALL}}
 
[[Category:Internal link templates]]
  +
  +
;Icon codes
  +
{| class="wikitable"
  +
|-
  +
! Aim !! Code !! Result
  +
|-
  +
| [[Cross-Faction Content]]
  +
| Cross-faction
  +
| [[File:Faction Cross-faction.png|24px]]
  +
|-
  +
| [[Federation-aligned]]
  +
| FED-Allies
  +
| [[File:Faction FED-Allies.png|24px]]
  +
|-
  +
| [[Klingon-aligned]]
  +
| KDF-Allies
  +
| [[File:Faction KDF-Allies.png|24px]]
  +
|-
  +
| Starfleet (all)
  +
| FED
  +
| [[File:Faction FED.png|24px]]
  +
|-
  +
| [[Starfleet]] (25c)
  +
| FED25
  +
| [[File:Faction FED25.png|24px]]
  +
|-
  +
| [[DSC Starfleet]] only
  +
| DSC
  +
| [[File:Faction DSC.png|24px]]
  +
|-
  +
| [[TOS Starfleet]] only
  +
| FED23
  +
| [[File:Faction FED23.png|24px]]
  +
|-
  +
| [[Klingon Defense Force]] only
  +
| KDF
  +
| [[File:Faction KDF.png|24px]]
  +
|-
  +
| [[Romulan Republic]] only
  +
| ROM
  +
| [[File:Faction ROM.png|24px]]
  +
|-
  +
| [[Dominion]] only
  +
| Dominion
  +
| [[File:Faction Dominion.png|24px]]
  +
|}
  +
  +
</noinclude>

Latest revision as of 09:45, 28 June 2020

Template Description

This template is used to generate Mission wiki links.

Usage

{{mission|Name of mission|Differing display text, optional|Faction icon, optional}}

Examples

  • {{mission|The Cure (Federation)|The Cure}}
    will produce: “The Cure”
Icon codes
Aim Code Result
Cross-Faction Content Cross-faction Faction Cross-faction
Federation-aligned FED-Allies Faction FED-Allies
Klingon-aligned KDF-Allies Faction KDF-Allies
Starfleet (all) FED Faction FED
Starfleet (25c) FED25 Faction FED25
DSC Starfleet only DSC Faction DSC
TOS Starfleet only FED23 Faction FED23
Klingon Defense Force only KDF Faction KDF
Romulan Republic only ROM Faction ROM
Dominion only Dominion Faction Dominion