<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hoodedhorse.com/Corsair_Cove/index.php?action=history&amp;feed=atom&amp;title=Module%3AShip_infobox%2Fdoc</id>
	<title>Module:Ship infobox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hoodedhorse.com/Corsair_Cove/index.php?action=history&amp;feed=atom&amp;title=Module%3AShip_infobox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Corsair_Cove/index.php?title=Module:Ship_infobox/doc&amp;action=history"/>
	<updated>2026-10-24T04:43:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.hoodedhorse.com/Corsair_Cove/index.php?title=Module:Ship_infobox/doc&amp;diff=1423&amp;oldid=prev</id>
		<title>76561197969631737: Created doc for module</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Corsair_Cove/index.php?title=Module:Ship_infobox/doc&amp;diff=1423&amp;oldid=prev"/>
		<updated>2026-08-07T19:02:40Z</updated>

		<summary type="html">&lt;p&gt;Created doc for module&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module builds the ship infobox HTML. It is invoked from [[Template:Ship infobox]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
{|class=wikitable&lt;br /&gt;
! Method invoked by template !! Argument from template !! Description of argument&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;main()&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || Canonical ship name, as seen in-game (e.g. &amp;lt;code&amp;gt;Bedlam&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Wrath Bringer&amp;lt;/code&amp;gt;).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Template Examples ===&lt;br /&gt;
&lt;br /&gt;
With a named argument:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#invoke:Ship infobox|main|name=Bedlam}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or a positional argument:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#invoke:Ship infobox|main|Bedlam}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== API ==&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;main()&amp;lt;/code&amp;gt;&lt;br /&gt;
: Entry point. Looks up the ship, builds the infobox, and returns HTML.&lt;br /&gt;
&lt;br /&gt;
No other functions are exported.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ship name is required&amp;#039;&amp;#039;&amp;#039; — &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; or positional arg missing or empty.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ship not found&amp;#039;&amp;#039;&amp;#039; — name not in [[Module:Ships_data]].&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* [[Module:Ships_data]] — ship stats, crew, construction, unlock data&lt;br /&gt;
* [[Module:ResourceData]] — construction resource icons&lt;br /&gt;
&lt;br /&gt;
=== Templates called at runtime ===&lt;br /&gt;
* [[Template:Ship tier icon]]&lt;br /&gt;
* [[Template:Pirate icon]]&lt;br /&gt;
* [[Template:Health]]&lt;br /&gt;
* [[Template:Crew]]&lt;br /&gt;
* [[Template:Supplies]]&lt;br /&gt;
* [[Template:Gun Damage icon]]&lt;br /&gt;
* [[Template:Boarding Damage icon]]&lt;br /&gt;
* [[Template:Speed icon]]&lt;br /&gt;
* [[Template:Manoeuvrability icon]]&lt;br /&gt;
* [[Template:Armour icon]]&lt;/div&gt;</summary>
		<author><name>76561197969631737</name></author>
	</entry>
</feed>