More actions
m Update information about how {{ShipBoxTooltip}} works. |
m Add analyzing/developing notes. |
||
| Line 1: | Line 1: | ||
{{Work in progress|Analyzing the code and related templates and articles to write the doc|date= | {{Work in progress|Analyzing the code and related templates and articles to write the doc,|date= 14:49, 1 May 2022 (UTC)}} | ||
For usage guide please see [[Template:Ship|Ship Template]] | For usage guide please see [[Template:Ship|Ship Template]] | ||
| Line 15: | Line 15: | ||
: Can <em>not</em> be used on its own. | : Can <em>not</em> be used on its own. | ||
: {{T|ShipBoxTooltip}} is called when a ship article is called with mode= tooltip. e.g. <nowiki>{{:Vexor|mode= tooltip}}</nowiki> gives {{:Vexor|mode= tooltip}} | : {{T|ShipBoxTooltip}} is called when a ship article is called with mode= tooltip. e.g. <nowiki>{{:Vexor|mode= tooltip}}</nowiki> gives {{:Vexor|mode= tooltip}} | ||
; Notes (temp) | |||
: The template does testing for unknown shipname(wel it is actually testing if the parameter contains anything beside white-space), if there is an article about the called ship the shipname should have something in it. If there is no article then ShipBoxTooltip is not called anyway. | |||
<includeonly>[[Category:Template]]<!-- Any categories for the template itself --></includeonly> | <includeonly>[[Category:Template]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||