More actions
m Add default value to parameters that have one. Add 'Required" and "Optional" labels. |
Salartarium (talk | contribs) m quick fixes |
||
| Line 3: | Line 3: | ||
; Description | ; Description | ||
: This template is being used to create a "graphical" of | : This template is being used to create a "graphical" of a ship's information on the [[:Category:Ship Database|Ship Database]] pages. | ||
; Dependencies | ; Dependencies | ||
| Line 138: | Line 138: | ||
:; Parameters | :; Parameters | ||
::; shipid {{Co|palegreen|[Preferred]}} : EVE Online database ID for the ship. See [[How to get ID]] for how to find it. Used for: <br>* External links to zKillboard, EVE workbench, evepraisal and | ::; shipid {{Co|palegreen|[Preferred]}} : EVE Online database ID for the ship. See [[How to get ID]] for how to find it. Used for: <br>* External links to zKillboard, EVE workbench, evepraisal and EVE Ref: <br>* Ship image from CCP image server when no local image available. | ||
:;; shipimg {{Co|palegreen|[Preferred]}} : Name of the local image file with extension. Used to show the image. Overrules the use of the CCP image server (see '''shipid''') | :;; shipimg {{Co|palegreen|[Preferred]}} : Name of the local image file with extension. Used to show the image. Overrules the use of the CCP image server (see '''shipid''') | ||
:;; shipname {{Co|palegreen|[Required]}} : The name of the ship. Exactly as written in-game. Must be identical to the article name. Used for: <br>* Breadcrumbs; <br>* Show ship name when hovering over the image; <br>* Naming of external links, (see '''shipid'''). | :;; shipname {{Co|palegreen|[Required]}} : The name of the ship. Exactly as written in-game. Must be identical to the article name. Used for: <br>* Breadcrumbs; <br>* Show ship name when hovering over the image; <br>* Naming of external links, (see '''shipid'''). | ||
| Line 248: | Line 248: | ||
|} | |} | ||
::; grouping {{Co|palegreen|[Required]}} : Name of the market group the ship belongs to. Used for: <br>* Ship category in breadcrumbs; <br>* Ship category under ship image; <br>* Determine (default) number of calibration points (in combination with '''class''') | ::; grouping {{Co|palegreen|[Required]}} : Name of the market group the ship belongs to. Used for: <br>* Ship category in breadcrumbs; <br>* Ship category under ship image; <br>* Determine (default) number of calibration points (in combination with '''class''') | ||
::; hulltype : Ships basic hulltype. The Tech1 shipname when there | ::; hulltype : Ships basic hulltype. The Tech1 shipname when there are variations i.e. The [[Vexor]], [[Guardian-Vexor]], [[Ishtar]] and [[Vexor Navy Issue]] all have Vexor for their hulltype. Otherwise use the shipname. <br>Used for: <''Hull type''> Class under ship image. The word Class must be included. | ||
::; faction {{Co|palegreen|[Required]}} : Name of the faction the ship belongs to. Used for: <br>* Faction name under ship image; <br>* Faction logo under ship image; <br>* Show faction name when hovering over the logo. | ::; faction {{Co|palegreen|[Required]}} : Name of the faction the ship belongs to. Used for: <br>* Faction name under ship image; <br>* Faction logo under ship image; <br>* Show faction name when hovering over the logo. | ||
::; race : {{Co|red|Not used}} in {{Tl|ShipArticle}} (Need to check for <s>{{Tl|ShipBoxLarge}}</s> and <s>{{Tl|ShipBoxTooltip}}</s> | ::; race : {{Co|red|Not used}} in {{Tl|ShipArticle}} (Need to check for <s>{{Tl|ShipBoxLarge}}</s> and <s>{{Tl|ShipBoxTooltip}}</s> | ||
::; roles : List of ship role(s). Defaults to: ''unspecified''<br> ''Needs more info'' | ::; roles : List of ship role(s). Defaults to: ''unspecified''<br> ''Needs more info'' | ||
::; variations : List of ship variations. Defaults to: ''none''<br>Use the template {{Tl|Ship}}. If more | ::; variations : List of ship variations. Defaults to: ''none''<br>Use the template {{Tl|Ship}}. If more than one, separate by ",<space>". | ||
::; tech : The ships tech "level". Unused for Tech1 ships (2 for Tech2, 3 for Tech3 and F for faction) Used for: <br>* Techcorner on ship image; <br>* Determine the (default) number of rigs (in combination with '''class''') | ::; tech : The ships tech "level". Unused for Tech1 ships (2 for Tech2, 3 for Tech3 and F for faction) Used for: <br>* Techcorner on ship image; <br>* Determine the (default) number of rigs (in combination with '''class''') | ||
::; ecmprio : Priority in which the ship should be an ECM target (0 = none, 1 = low, 2 = normal, 3 = high, 4 = highest). Defaults to: unknown.<br> "''Somebody's''" interpretation. Used for: <br>* ECM priority block under ship image; <br>* ECM priority info on the ECM priority block "what's this?" pop-up | ::; ecmprio : Priority in which the ship should be an ECM target (0 = none, 1 = low, 2 = normal, 3 = high, 4 = highest). Defaults to: unknown.<br> "''Somebody's''" interpretation. Used for: <br>* ECM priority block under ship image; <br>* ECM priority info on the ECM priority block "what's this?" pop-up | ||
| Line 269: | Line 269: | ||
::; mass : The | ::; mass : The ship's mass. Including the unit i.e. 1,100,000 kg. Defaults to: 0 kg | ||
::; volume : The | ::; volume : The ship's volume (unpackaged). Including the unit i.e. 115,000 <nowiki>{{m3}}</nowiki>. Defaults to: 0 {{m3}} | ||
| Line 333: | Line 333: | ||
::; forumlinks {{Co|wheat|Optional}} : List of relevant forum links. (not visible when not used) | ::; forumlinks {{Co|wheat|Optional}} : List of relevant forum links. (not visible when not used) | ||
::; wikireferences : List of relevant UniWiki articles (Has some build-in). | ::; wikireferences : List of relevant UniWiki articles (Has some build-in). | ||
::; externallinks : List of relevant external links (zKillboard, EVE Workbench, evepraisal and EVE | ::; externallinks : List of relevant external links (zKillboard, EVE Workbench, evepraisal and EVE Ref are build in). | ||
::; highlights<''x''> {{Co|wheat|Optional}} : <''x''> is 1 till 4. highlights. (not visible when not used) | ::; highlights<''x''> {{Co|wheat|Optional}} : <''x''> is 1 till 4. highlights. (not visible when not used) | ||
| Line 450: | Line 450: | ||
To automatically generate template code for an existing ship, you can use the tool located [https://ubik2.github.io/eveuniversity-wiki-helpers/ship_template.html here]. | To automatically generate template code for an existing ship, you can use the tool located [https://ubik2.github.io/eveuniversity-wiki-helpers/ship_template.html here]. | ||
2022-12-10 See [https://github.com/ubik2/eveuniversity-wiki-helpers GitHub for the source] which had its last update in | 2022-12-10 See [https://github.com/ubik2/eveuniversity-wiki-helpers GitHub for the source] which had its last update in june 2014. | ||
---> | ---> | ||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||