More actions
m Make missing parameter in syntax visible. |
Add Template data. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
; Syntax | ; Syntax | ||
: {{T|NPCTableRow|type|count|name| | : {{T|NPCTableRow|type|count|name|5=point= point|6=ewar= ewar|7=ewar2= ewar|8=ewar3= ewar|9=drop= drop|10=cargo= cargo|11=trigger= trigger|12=note= notes|end= end}} | ||
:; Parameters | :; Parameters | ||
:: type, count and name are anonymous (positional) parameters and must be ordered as written. | :: type, count and name are anonymous (positional) parameters and must be ordered as written. | ||
| Line 54: | Line 54: | ||
|- | |- | ||
| style="text-align: left;" | Commander Battlecruiser || [[image:icon_red_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_white_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_blue_battlecruiser.png|16px|link=|Commander Battlecruiser]] | | style="text-align: left;" | Commander Battlecruiser || [[image:icon_red_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_white_battlecruiser.png|16px|link=|Commander Battlecruiser]] || [[image:icon_blue_battlecruiser.png|16px|link=|Commander Battlecruiser]] | ||
|- | |||
| style="text-align: left;" | Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | |||
|- | |||
| style="text-align: left;" | Elite Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | |||
|- | |- | ||
| style="text-align: left;" | Overseer Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | | style="text-align: left;" | Overseer Battleship || [[image:icon_red_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_white_battleship.png|16px|link=|Overseer Battleship]] || [[image:icon_blue_battleship.png|16px|link=|Overseer Battleship]] | ||
| Line 154: | Line 158: | ||
* [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | * [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | ||
* {{T|NPCTableSeparator}} | * {{T|NPCTableSeparator}} | ||
; Template data | |||
: This is the [[mediawikiwiki:Help:TemplateData|TemplateData]] documentation for this template used by [[mediawikiwiki:VisualEditor|VisualEditor]] and other tools. | |||
:: <templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "type", | |||
"description": "Sets the type and size of an NPC ship or structure. It is displayed as the ships bracket icon and type. A prefix can be added to control the brackets color. See the tables on the template page for valid options.", | |||
"example": "Frigate", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "count", | |||
"description": "The number of NPCs of that type (e.g. 3). This is often a range, so feel free to use number ranges (e.g. 10-12). If the number is unknow a ? may be used", | |||
"example": "4", | |||
"required": true | |||
}, | |||
"3": { | |||
"label": "name", | |||
"description": "The NPC's name. Consolidate ships of the same type into a single line (e.g. Coreli Watchman/Patroller). If there are a large number of different ship types, list the most common three or four types followed by an ellipsis (e.g. Corelum Chief Guard/Defender/Protector/...). It is however perfectly fine to use a separate row to make it clear which ship type is using EWAR or triggers an action.", | |||
"example": "Arch Gistii Hijacker/Outlaw ", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"note": { | |||
"description": "Use to describe important information about an NPC (for instance, an NPC deals extremely high damage, is able to self-repair themselves quickly, ...).", | |||
"type": "string" | |||
}, | |||
"trigger": { | |||
"description": "If destroying an NPC causes an action (acceleration gates get unlocked, a new wave of enemies spawn, etc), use this parameter.", | |||
"example": "Triggers reinforcements", | |||
"type": "string" | |||
}, | |||
"point": { | |||
"description": "If an NPC has a Warp Disruptor, set to point= yes or point= point. If an NPC uses a Warp Scrambler (shuts off MWD and stops MJD) you can specify point= scram.", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"yes", | |||
"point", | |||
"scram" | |||
] | |||
}, | |||
"ewar": { | |||
"description": "Type of electronic warfare used by an NPC. Displayed as an icon", | |||
"example": "Web", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Damp", | |||
"ECM", | |||
"GD", | |||
"Neut", | |||
"TD", | |||
"TP", | |||
"Web" | |||
] | |||
}, | |||
"ewar2": { | |||
"description": "See ewar", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Damp", | |||
"ECM", | |||
"GD", | |||
"Neut", | |||
"TD", | |||
"TP", | |||
"Web" | |||
] | |||
}, | |||
"ewar3": { | |||
"description": "See ewar", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Damp", | |||
"ECM", | |||
"GD", | |||
"Neut", | |||
"TD", | |||
"TP", | |||
"Web" | |||
] | |||
}, | |||
"cargo": { | |||
"description": "If an NPC leaves behind notable loot (e.g. T1 ammo, a trade good)" | |||
}, | |||
"drop": { | |||
"description": "If an NPC leaves behind valuable loot (worth over 1M ISK e.g. faction modules, tech 2 salvage" | |||
} | |||
}, | |||
"description": "This template is used to create a content row in NPCTable. This template is not visual editor friendly so it is best to use it in text editor mode." | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | <includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||