|
|
| (7 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| Using this template, you can embed any ship information available in our wiki to any other articles. If you want to browse through the currently available ship list, please visit this page [[:Category:Ship Database|Ship Database]].
| | <includeonly>{{ #if:{{{1|}}} |
| ==Usage Guide==
| | | {{ :{{{1}}}|mode= {{#if: {{{2|}}} | {{{2}}} | tooltip }} }} |
| This template may be deprecated. See [[Template:ShipArticle]] for a version in the current style.
| | | {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}} |
| | | }}</includeonly><noinclude> |
| ===The Syntax===
| | {{documentation}} |
| <pre><nowiki>{{Ship | <ship name> | <tooltip/box> }}</nowiki></pre> | | </noinclude> |
| | |
| ;ship name
| |
| :Use the exact name of the ship, as listed in the database (the names are case-sensitive)
| |
| | |
| ;tooltip/box
| |
| :Use <code>tooltip</code> to display a small tooltip, or <code>box</code> for a large box of information. | |
| | |
| === Examples ===
| |
| | |
| :<code><nowiki>{{Ship|Redeemer|box}}</nowiki></code> gives:
| |
| | |
| {{Ship|Redeemer|box}} | |
| | |
| :<code><nowiki>{{Ship|Redeemer|tooltip}}</nowiki></code> gives (mouse over the link to see the information box):
| |
| | |
| {{Ship|Redeemer|tooltip}}
| |
| | |
| ==Editing The Ship Articles==
| |
| (coming soon)
| |
| | |
| [[Category:Template]]
| |
| <onlyinclude><includeonly>{{
| |
| #if:{{{1|}}}
| |
| |{{#if: {{{2}}} | |
| |{{:{{{1}}}|mode={{{2|tooltip}}}}}
| |
| |{{:{{{1}}}|mode=tooltip}}
| |
| }}
| |
| |[[Template:Ship#Usage Guide|no ship data specified (please read the usage guide!)]]
| |
| }}</includeonly></onlyinclude> | |