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| |
+ | <includeonly>{{ #if:{{{3|}}} | [[File:Faction {{{3}}}.png|24x24px|link={{{3}}}|{{{3}}}]] |}} [[Mission: {{{1}}}|“{{ #if:{{{2|}}} | {{{2}}} | {{{1}}} }}”]]</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}} |
||
+ | |||
⚫ | |||
+ | * <nowiki>{{mission|The Cure (Federation)||ALL}}</nowiki> <br /> will produce: {{mission|The Cure (Federation)||ALL}} |
||
⚫ | |||
+ | |||
+ | ;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)}}
will produce: “The Cure (Federation)”
- {{mission|The Cure (Federation)|The Cure}}
will produce: “The Cure”
- {{mission|The Cure (Federation)||ALL}}
will produce: “The Cure (Federation)”
- Icon codes
Aim | Code | Result |
---|---|---|
Cross-Faction Content | Cross-faction | |
Federation-aligned | FED-Allies | |
Klingon-aligned | KDF-Allies | |
Starfleet (all) | FED | |
Starfleet (25c) | FED25 | |
DSC Starfleet only | DSC | |
TOS Starfleet only | FED23 | |
Klingon Defense Force only | KDF | |
Romulan Republic only | ROM | |
Dominion only | Dominion |