|
|
| (10 intermediate revisions by 6 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 }} }} |
| ===The Syntax===
| | | {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}} |
| <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> | | }}</includeonly><noinclude> |
| | | {{documentation}} |
| 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 :
| | </noinclude> |
| | |
| *box : the ship information will be displayed in a big blue box.
| |
| *tooltip : the resulting display is a hoverable text, with a tooltip displaying the ship information.
| |
| | |
| ===Example : Box===
| |
| 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>
| |
| | |
| this will give you the exact ship information like this :
| |
| | |
| <div style='border:1px dashed orange;padding:10px;text-align:center;height:350px'>{{Ship|Redeemer|box}}</div>
| |
| | |
| ===Example : 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==
| |
| (coming soon)
| |
| <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> | |