Category:Award Display Templates: Difference between revisions

Added in documentation.
(→‎Example: added in variant on request)
(Added in documentation.)
Line 31: Line 31:
</pre>
</pre>


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. This applies to AwardDisplayTable, AwardTable, AwardTableGen, PromotionsTable, PositionChangeTable
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. This applies to AwardDisplayTable, AwardTable, AwardTableGen, PromotionsTable, PositionChangeTable.
 
Only on AwardTable can you specify Stardate (by adding STARDATE=y) to replace the Ceremony with Stardate. If you don't want the stardate displayed in the Service Awards, use AwardHeaderVariant, instead of AwardHeader.


{| cellspacing="3" width="80%"  
{| cellspacing="3" width="80%"  
Line 40: Line 42:
*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>
|}
{| 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 AwardHeaderVariant===
*The first 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 presenter of the award.<br>
|}
|}


Line 98: Line 108:
If you use the variant for stardate, it'll look like this.
If you use the variant for stardate, it'll look like this.


{{AwardDisplayTable|NAME=Aenia Kthia|COLLAPSED=n|STARDATE
{{AwardDisplayTable|NAME=Aenia Kthia|COLLAPSED=n|STARDATE=y
|{{AwardTable|TITLE=Service Awards
|{{AwardTable|TITLE=Service Awards
|{{AwardHeaderVariant|{{USS|Blenheim|X}}|Fleet Commodore Ka'reitha Aronfast}}
|{{AwardHeaderVariant|{{USS|Blenheim|X}}|Fleet Commodore Ka'reitha Aronfast}}
7,850

edits