Difference between revisions of "User:Evon R'al/Sandbox template/doc"

From EVE University Wiki
Jump to: navigation, search
m (Blank page for next project.)
Tag: Blanking
m (Coding and testing.)
Line 1: Line 1:
 +
; Description
 +
: This template is used to create a content row in an NPCTable.
  
 +
; Dependencies:
 +
:; Requires
 +
:: {{T|NPCTableCSS}} once on the page one or more NPCTables are used on.
 +
:: {{T|NPCTableHead}}
 +
 +
; Syntax
 +
: {{T|NPCTableRow|type|count|name(s)|point= point|5=ewar= ewar|6=cargo= cargo|7=drop= drop|8=trigger= trigger|9=note= notes}}
 +
:; Parameters
 +
::; type : sets the [[NPC naming conventions|type and size]] of the NPC ship or structure. Is displayed as the ships bracket icon and class. A prefix can be added to control the brackets color.
 +
{| class= "wikitable collapsible" style="text-align: center;"
 +
|+ Ships
 +
|-
 +
! rowspan= 2 | Name || colspan= 3 | Prefix
 +
|-
 +
| ''none'' || Neutral || Friendly
 +
|-
 +
| style="text-align: left;" | Barge || [[image:icon_red_mining_barge.png|16px|link=|Barge]] || [[image:icon_white_mining_barge.png|16px|link=|Barge]] || [[image:icon_blue_mining_barge.png|16px|link=|Barge]]
 +
|-
 +
| style="text-align: left;" | Hauler || [[image:icon_red_industrial.png|16px|link=|Hauler]] ||[[image:icon_white_industrial.png|16px|link=|Hauler]] || [[image:icon_blue_industrial.png|16px|link=|Industrial]]
 +
|-
 +
| style="text-align: left;" | Freighter || [[image:icon_red_industrial_capital.png|16px|link=|Freighter]] || [[image:icon_white_industrial_capital.png|16px|link=|Freighter]] || [[image:icon_blue_industrial_capital.png|16px|link=|Freighter]]
 +
|-
 +
| style="text-align: left;" | Drone || [[image:icon_red_drone.png|16px|link=|Drone]] || [[image:icon_bracket_drone.png|16px|link=|Drone]] || [[image:icon_blue_drone.png|16px|link=|Drone]]
 +
|-
 +
| style="text-align: left;" | Fighter || [[image:icon_red_fighter.png|16px|link=|Fighter]]|| [[image:icon_bracket_fighter.png|16px|link=|Fighter]]|| [[image:icon_blue_fighter.png|16px|link=|Fighter]]
 +
|-
 +
| style="text-align: left;" | Frigate || [[image:icon_red_frigate.png|16px|link=|Frigate]]|| [[image:icon_white_frigate.png|16px|link=|Frigate]]|| [[image:icon_blue_frigate.png|16px|link=|Frigate]]
 +
|-
 +
| style="text-align: left;" | Elite Frigate || [[image:icon_red_frigate.png|16px|link=|Commander Frigate]] || [[image:icon_white_frigate.png|16px|link=|Commander Frigate]] || [[image:icon_blue_frigate.png|16px|link=|Commander Frigate]]
 +
|-
 +
| style="text-align: left;" | Commander Frigate || [[image:icon_red_frigate.png|16px|link=|Commander Frigate]] || [[image:icon_white_frigate.png|16px|link=|Commander Frigate]] || [[image:icon_blue_frigate.png|16px|link=|Commander Frigate]]
 +
|-
 +
| style="text-align: left;" | Overseer Frigate || [[image:icon_red_frigate.png|16px|link=|Overseer Frigate]] || [[image:icon_white_frigate.png|16px|link=|Overseer Frigate]] || [[image:icon_blue_frigate.png|16px|link=|Overseer Frigate]]
 +
|}
 +
 +
; Sample
 +
{{NPCTableCSS}}
 +
: <code><nowiki>{{NPCTableHead|Initial defenders}}</nowiki></code>
 +
: <code><nowiki>{{NPCTableRow|Barge| |}}</nowiki></code>
 +
: <code><nowiki>|}</nowiki></code>
 +
:: gives...
 +
{{NPCTableHead|Initial defenders}}
 +
{{NPCTableRow|Barge| |}}
 +
|}
 +
 +
 +
; See also
 +
* [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]]
 +
 +
<includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:10, 25 May 2023

Description
This template is used to create a content row in an NPCTable.
Dependencies
Requires
{{NPCTableCSS}} once on the page one or more NPCTables are used on.
{{NPCTableHead}}
Syntax
{{NPCTableRow|<type>|<count>|<name(s)>|<ewar= ewar>|<cargo= cargo>|<drop= drop>|<trigger= trigger>|<note= notes>}}
Parameters
type
sets the type and size of the NPC ship or structure. Is displayed as the ships bracket icon and class. A prefix can be added to control the brackets color.
Ships
Name Prefix
none Neutral Friendly
Barge Barge Barge Barge
Hauler Hauler Hauler Industrial
Freighter Freighter Freighter Freighter
Drone Drone Drone Drone
Fighter Fighter Fighter Fighter
Frigate Frigate Frigate Frigate
Elite Frigate Commander Frigate Commander Frigate Commander Frigate
Commander Frigate Commander Frigate Commander Frigate Commander Frigate
Overseer Frigate Overseer Frigate Overseer Frigate Overseer Frigate
Sample
{{NPCTableHead|Initial defenders}}
{{NPCTableRow|Barge| |}}
|}
gives...
Initial defenders
WD EWAR L


Barge Barge


See also