7,850
edits
(documentation, part 1.) |
(documentation, part 2.) |
||
Line 7: | Line 7: | ||
This page will tell you how to create your very own awards display with collapsible tables. | This page will tell you how to create your very own awards display with collapsible tables. | ||
== | ==To Create== | ||
To start the template out, replace the placeholders with your name. After this example, we will explain the options. | To start the template out, replace the placeholders with your name. After this example, we will explain the options. | ||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
If you want it to be | If you want it to be collapsed, you can leave COLLAPSED off, but if you put no or n, it will not be collapsed on the first line. | ||
{ | {| cellspacing="3" width="80%" | ||
|- valign="top" | |||
|bgcolor="beige" style="border:1px solid darkgreen; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"| | |||
===Usage for AwardHeader=== | |||
*The stardate of the award goes first<br> | *The stardate of the award goes first<br> | ||
*The second variable is the name of the ship. You can use the <nowiki>{{USS|Shipname|Suffix}}</nowiki> format, or you can just put USS-Shipname-A. *For Starbase 118 Ops, the Embassy or any other installation, a link will need to be inserted in wikicode.<br> | *The second variable is the name of the ship. You can use the <nowiki>{{USS|Shipname|Suffix}}</nowiki> format, or you can just put USS-Shipname-A. *For Starbase 118 Ops, the Embassy or any other installation, a link will need to be inserted in wikicode.<br> | ||
*The last variable is the presenter of the award.<br> | *The last variable is the presenter of the award.<br> | ||
|} | |||
Usage for AwardRow | {| cellspacing="3" width="80%" | ||
|- valign="top" | |||
|bgcolor="beige" style="border:1px solid darkgreen; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"| | |||
===Usage for AwardRow=== | |||
*The first parameter is the name of the ribbon. Use the name from [[Template: Ribbons]] here.<br> | *The first parameter is the name of the ribbon. Use the name from [[Template: Ribbons]] here.<br> | ||
*The second parameter is the description or link.<br> | *The second parameter is the description or link.<br> | ||
*Use NUM= if you have received the citation more than once. (Up to 11. If you've gotten something 12 times, you'll need to start displaying it again.)<br> | |||
*Use NUM= if you have | *USE ROWSPAN= if you received multiple citations in one sim. Only specify this on the '''first''' citation. '''Do not specify it on the citations after the first.''' | ||
*USE ROWSPAN= if you | |} | ||
==Example== | |||
And here's the example in code. | |||
{{AwardDisplayTable|NAME=Aenia Kthia|COLLAPSED=n | |||
|{{AwardTable|TITLE=Service Awards | |||
|{{AwardHeader|328007.12|{{USS|Blenheim|X}}|Fleet Commodore Ka'reitha Aronfast}} | |||
|{{AwardRow|Innovation Ribbon|Pomp and Circumstance, Part II|ROWSPAN=2}} | |||
|{{AwardRow|Explorer's Ribbon|NUM=11|DISP=Explorer's Ribbon (11th Citation)}} | |||
}} | |||
}} |
edits