|
|
| Line 2: |
Line 2: |
| ==Usage Guide== | | ==Usage Guide== |
| ===The Syntax=== | | ===The Syntax=== |
| <div style='border:2px dashed green;padding:10px;text-align:center;'><nowiki>{{Ship|</nowiki><i>exact_case_sensitive_name_of_the_ship</i><nowiki>|</nowiki><font style='color:yellow'>tooltip</font>/<font style='color:orange'>box</font><nowiki>}}</nowiki></div> | | <pre><nowiki>{{Ship | <ship name> | <tooltip/box> }}</nowiki></pre> |
|
| |
|
| Type the Ship template name, after the | symbol, type the ship name exactly the same as listed on the database (they're also case-sensitive) so make sure you type the ship name correctly, then after the other | symbol, type your display selection, at the moment there are two options :
| | ;ship name |
| | :Use the exact name of the ship, as listed in the database (the names are case-sensitive) |
|
| |
|
| *box : the ship information will be displayed in a big blue box.
| | ;tooltip/box |
| *tooltip : the resulting display is a hoverable text, with a tooltip displaying the ship information.
| | :Use <code>tooltip</code> to display a small tooltip, or <code>box</code> for a large box of information. |
|
| |
|
| ===Example : Box=== | | === Examples === |
| You don't have to write anything else besides defining what ship you want to display, for example, to display a Redeemer ship information box on your article, just type them like this :
| |
|
| |
|
| <div style='border:1px dashed orange;padding:10px;text-align:center;'><nowiki>{{Ship|Redeemer|box}}</nowiki></div> | | :<code><nowiki>{{Ship|Redeemer|box}}</nowiki></code> gives: |
|
| |
|
| this will give you the exact ship information like this :
| | {{Ship|Redeemer|box}} |
|
| |
|
| <div style='border:1px dashed orange;padding:10px;text-align:center;height:350px'>{{Ship|Redeemer|box}}</div> | | :<code><nowiki>{{Ship|Redeemer|tooltip}}</nowiki></code> gives (mouse over the link to see the information box): |
|
| |
|
| ===Example : Tooltip===
| | {{Ship|Redeemer|tooltip}} |
| <div style='border:1px dashed yellow;padding:10px;text-align:center;'><nowiki>{{Ship|Redeemer|tooltip}}</nowiki><br>or<br><nowiki>{{Ship|Redeemer}}</nowiki></div>
| |
| | |
| this will give you the exact ship information like this :
| |
| | |
| <div style='border:1px dashed yellow;padding:10px;text-align:center;height:50px'>{{Ship|Redeemer}}</div>
| |
|
| |
|
| ==Editing The Ship Articles== | | ==Editing The Ship Articles== |