Star Trek Online Wiki
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 30: Line 30:
 
<div class="dataset">
 
<div class="dataset">
 
<div class="label">NPC-Rank:</div>
 
<div class="label">NPC-Rank:</div>
<div class="entry">[[File:Critter_Rank_{{{pips}}}_icon.png]]</div>
+
<div class="entry">[[File:Critter_Rank_{{{pips}}}_icon.png]]{{#if:{{{endeavor|}}}|<span style="font-size:0.80em;">[[File:Endeavor_icon.png|20px|link=Endeavor System]]''Captain''</span>[[Category:Endeavor Captains]]}}</div>
 
</div>
 
</div>
 
}}{{ #if: {{{location|}}} |
 
}}{{ #if: {{{location|}}} |
Line 52: Line 52:
 
<div class="label">Death year:</div>
 
<div class="label">Death year:</div>
 
<div class="entry">{{{died}}}</div>
 
<div class="entry">{{{died}}}</div>
</div>}}{{ #if: {{{voice|}}} |
+
</div>}}{{ #if: {{{status|}}} |
 
<div class="dataset">
 
<div class="label">Status:</div>
  +
<div class="entry">{{{status}}}</div>
  +
</div>
 
}}{{ #if: {{{voice|}}} |
 
<div class="dataset">
 
<div class="dataset">
 
<div class="label">Voiced by:</div>
 
<div class="label">Voiced by:</div>
 
<div class="entry">[[Voice acting|{{{voice}}}]]</div>
 
<div class="entry">[[Voice acting|{{{voice}}}]]</div>
 
</div>}}</div>[[Category:Non-player characters]]{{ #if: {{{rank|}}} | {{ #ifeq: {{{rank|}}} | Crewman | [[Category:Crewmen]] | [[Category:{{{rank}}}s]]}}}} {{ #if: {{{faction|}}} |
</div>}}{{ #if: {{{endeavor|}}} |
 
 
{{#switch: {{lc:{{{faction}}}}} | reman resistance | true way = [[Category:{{{faction}}} NPCs]]}}}} {{ #if: {{{profession|}}} |
<div class="dataset">
 
<div class="label">Endeavor:
 
</div><div class="entry">[[File:Endeavor_icon.png|22px|link=Endeavor System]]{{{endeavor}}}[[Category:Endeavor Captains]]</div>
 
</div>}}</div>[[Category:Non-player characters]]{{ #if: {{{rank|}}} | {{ #ifeq: {{{rank|}}} | Crewman | [[Category:Crewmen]] | [[Category:{{{rank}}}s]]}}}}
 
{{ #if: {{{faction|}}} |
 
{{#switch: {{lc:{{{faction}}}}} | reman resistance | true way = [[Category:{{{faction}}} NPCs]]}}}}
 
{{ #if: {{{profession|}}} |
 
 
[[Category:{{{profession}}}s]]}} {{#if: {{#pos:{{lc:{{{profession|}}}}}|vendor}} | [[Category:Vendors]] }}
 
[[Category:{{{profession}}}s]]}} {{#if: {{#pos:{{lc:{{{profession|}}}}}|vendor}} | [[Category:Vendors]] }}
 
{{ #if: {{{location|}}} |
 
{{ #if: {{{location|}}} |

Latest revision as of 09:05, 27 November 2020

The following documentation is transcluded from Template:NPCinfo/doc (edit):

Note: This template is not intended for use on user pages or anywhere other than normal mainspace articles. {{PCinfo}} (which functions identically except for having no automatic categorization) or {{PCInfo}} (which has different parameters) are available for use on userpages. {{ugcnpcinfo}} is available for use on foundry mission subpages.

To use this template:

{{NPCinfo
| name =
| image =
| faction =
| rank =
| level =
| pips = 
| location =
| location2 =
| location3 =
| location4 =
| location5 =
| race =
| profession =
| profession2 =
| profession3 =
| profession4 =
| profession5 =
| born =
| died =
| status =
| voice = 
| endeavor = 
|}}

Variables

  • All variables are optional
name
Name of the NPC - Defaults to the page name. Only required if the NPC is named differently. (mainly to include the rank in the infobox title).
image
Filename of an image, without the "File:" namespace prefix - Should be an image of the NPC in .jpg format as per Wiki Guidelines (Screenshots). Defaults to, and will automatically find "PAGENAME.jpg" (or .png for compatibility). Only needs to be specified in rare cases where the image file is named differently.
faction
Federation, Klingon, Romulan Republic, True Way, Terran Empire, Object, or the short name of any other valid faction, ie: Voth, Breen, Vaadwuar. (Default: Neutral)
rank
Military Rank of the NPC as given by dialoge or other story driven information.
level
The level of the NPC as indicated by the HUD in-game
pips
The number of rank-pips displayed by the HUD when selecting the NPC in-game (might differ from rank)
location
Where to find the NPC; this will hyperlink automatically.
location2
Another place to find the NPC; this will hyperlink automatically.
location3
Another place to find the NPC; this will hyperlink automatically.
location4
Another place to find the NPC; this will hyperlink automatically.
location5
Another place to find the NPC; this will hyperlink automatically.
race
The race of the NPC; this will hyperlink automatically.
race2
For hybrid NPCs, this identifies the other race of the NPC's heritage. For assimilated NPCs, this identifies the NPC's original race.
profession
The profession of the NPC; this will auto-categorize.
profession2
Another profession of the NPC; this will auto-categorize.
profession3
Another profession of the NPC; this will auto-categorize.
profession4
Another profession of the NPC; this will auto-categorize.
profession5
Another profession of the NPC; this will auto-categorize.
born
Date of birth for the NPC if available.
died
Date of death for the NPC if available.
status
Last known status, when needed
voice
The voice actor that provided dialogue for the NPC, if any
endeavor
Add "Captain" if NPC qualifies for Defeat Captain endeavor