More actions
m Update doc. |
m Replace hard-coded color with design-token. |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
; Description | ; Description | ||
: Creates a info box with a subset of the ships stats. | |||
: {{Color box | : {{Color box | ||
|color= | | color= var(--background-color-error-subtle) | ||
|border= # | | border= #2F8F2F | ||
|This template is a part of Ship Database template and designed to be used in conjunction with the templates on that category and is not meant to be used or called directly!.<br>If you're looking on how to use the '''Ship''' template please see [[Template:Ship|this page]] instead.<br><br>DO NOT EDIT THE CONTENTS OF THIS TEMPLATE IF YOU ARE NOT SURE ON WHAT YOU ARE DOING.}} | | This template is a part of the Ship Database template set and designed to be used in conjunction with the templates on that category and is not meant to be used or called directly!.<br>If you're looking on how to use the '''Ship''' template please see [[Template:Ship|this page]] instead.<br><br>DO NOT EDIT THE CONTENTS OF THIS TEMPLATE IF YOU ARE NOT SURE ON WHAT YOU ARE DOING. | ||
}} | |||
; Dependencies | ; Dependencies | ||
| Line 9: | Line 11: | ||
:: [[:file:no-image.png|no-image.png]] Default ship image when <kbd>shipimg</kbd> is not given. | :: [[:file:no-image.png|no-image.png]] Default ship image when <kbd>shipimg</kbd> is not given. | ||
:: [[:File:Helpicon.png|Helpicon.png]] Default faction logo when <kbd>faction</kbd> is empty or unknown. | :: [[:File:Helpicon.png|Helpicon.png]] Default faction logo when <kbd>faction</kbd> is empty or unknown. | ||
:: {{Tl|Imageserver}} When no local image of ship is available and <kbd>shipid</kbd> is known. | |||
:: Part of the parameter set of {{Tl|ShipArticle}} | :: Part of the parameter set of {{Tl|ShipArticle}} | ||
::; Build-in UniWiki links to | ::; Build-in UniWiki links to | ||
| Line 15: | Line 18: | ||
::: [https://zkillboard.com/ zKillboard] | ::: [https://zkillboard.com/ zKillboard] | ||
::: [https://www.eveworkbench.com/ EVE Workbench] | ::: [https://www.eveworkbench.com/ EVE Workbench] | ||
::: [https:// | ::: [https://janice.e-351.com/ Janice] | ||
::: [https://everef.net/ EVE Ref] | ::: [https://everef.net/ EVE Ref] | ||
; Syntax | ; Syntax | ||
: ShipBoxLarge is not to be used on its own. It is to be called by using the wrapper template {{Tl|Ship}} | : ShipBoxLarge is not to be used on its own. It is to be called by using the wrapper template {{Tl|Ship}} | ||
; Template set | |||
: {{T|ShipArticle}} | |||
: {{T|Ship}} | |||
:: {{T|ShipBoxLarge}} | |||
:: {{T|ShipBoxTooltip}} | |||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Latest revision as of 09:08, 9 June 2025
- Description
- Creates a info box with a subset of the ships stats.
- Dependencies
-
- Uses
- no-image.png Default ship image when shipimg is not given.
- Helpicon.png Default faction logo when faction is empty or unknown.
{{Imageserver}}When no local image of ship is available and shipid is known.- Part of the parameter set of
{{ShipArticle}}- Build-in UniWiki links to
- Ships
- Build-in external links to
- zKillboard
- EVE Workbench
- Janice
- EVE Ref
- Syntax
- ShipBoxLarge is not to be used on its own. It is to be called by using the wrapper template
{{Ship}}
- Template set
- {{ShipArticle}}
- {{Ship}}
- {{ShipBoxLarge}}
- {{ShipBoxTooltip}}