Category:Award Display Templates: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(documentation pass 4.)
(Updated link to Genesis award)
 
(8 intermediate revisions by 2 users not shown)
Line 15: Line 15:
|{{AwardTable|TITLE=Service Awards
|{{AwardTable|TITLE=Service Awards
|{{AwardHeader|328007.12|{{USS|Blenheim|X}}|Fleet Commodore Ka'reitha Aronfast}}
|{{AwardHeader|328007.12|{{USS|Blenheim|X}}|Fleet Commodore Ka'reitha Aronfast}}
|{{AwardRow|Innovation Ribbon|Pomp and Circumstance, Part II|ROWSPAN=2}}
|{{AwardRow|Innovation Ribbon|DISP=Pomp and Circumstance, Part II|ROWSPAN=2}}
|{{AwardRow|Explorer's Ribbon|NUM=11|DISP=Explorer's Ribbon (11th Citation)}}
|{{AwardRow|Explorer's Ribbon|NUM=11|DISP=Explorer's Ribbon (11th Citation)}}
}}
}}
{{PromotionsTable
{{PromotionsTable
|{{PromotionRow|Captain|Red|FC|328001.12|Commodore Ka'reitha Aronfast}}|We All Go Up One!}}
|{{PromotionRow|Captain|Red|FC|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
}}
{{PositionChangesTable|COLLAPSED=n  
{{PositionChangesTable|COLLAPSED=n  
Line 25: Line 25:
|{{PositionChange|Andromeda War Ops|Local Group War Ops|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
|{{PositionChange|Andromeda War Ops|Local Group War Ops|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
}}
{{AwardTableGen|General Awards|ShowRecipient=no
{{AwardTableGen|TITLE=General Awards|ShowRecipient=no
|{{AwardTableGenRow|Genesis Badge|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
|{{AwardTableGenRow|Genesis Award|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
}}
}}
}}
}}
</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 presenter of the award.<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>
|}
|}


Line 46: Line 56:
|- valign="top"
|- valign="top"
|bgcolor="beige" style="border:1px solid darkgreen; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
|bgcolor="beige" style="border:1px solid darkgreen; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
===Usage for AwardRow===
===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>
Line 84: Line 95:
}}
}}
{{PromotionsTable
{{PromotionsTable
|{{PromotionRow|Captain|Red|FC|328001.12|Commodore Ka'reitha Aronfast}}|We All Go Up One!}}
|{{PromotionRow|Captain|Red|FC|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
{{PositionChangesTable|COLLAPSED=n
|{{PositionChangeShipHeader|{{USS|Blenheim|X}}}}
|{{PositionChange|Andromeda War Ops|Local Group War Ops|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
{{AwardTableGen|TITLE=General Awards|ShowRecipient=no
|{{AwardTableGenRow|Genesis Award|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
}}
}}
 
If you use the variant for stardate, it'll look like this.
 
{{AwardDisplayTable|NAME=Aenia Kthia|COLLAPSED=n
|{{AwardTable|TITLE=Service Awards|STARDATE=y
|{{AwardHeaderVariant|Fleet Commodore Ka'reitha Aronfast|{{USS|Blenheim|X}}}}
|{{AwardRow|Innovation Ribbon|38012.12|ROWSPAN=2}}
|{{AwardRow|Explorer's Ribbon|NUM=11|DISP=Explorer's Ribbon (11th Citation)}}
}}
{{PromotionsTable
|{{PromotionRow|Captain|Red|FC|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
}}
{{PositionChangesTable|COLLAPSED=n  
{{PositionChangesTable|COLLAPSED=n  
Line 90: Line 121:
|{{PositionChange|Andromeda War Ops|Local Group War Ops|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
|{{PositionChange|Andromeda War Ops|Local Group War Ops|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
}}
{{AwardTableGen|General Awards|ShowRecipient=no
{{AwardTableGen|TITLE=General Awards|ShowRecipient=no
|{{AwardTableGenRow|Genesis Badge|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
|{{AwardTableGenRow|Genesis Award|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
}}
}}
}}
}}

Latest revision as of 11:11, 8 July 2017

This category is for award display templates.

Want to create your own template for awards, promotions and position changes?

Look no further!

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.

{{AwardDisplayTable|NAME=Aenia Kthia|COLLAPSED=n 
|{{AwardTable|TITLE=Service Awards
|{{AwardHeader|328007.12|{{USS|Blenheim|X}}|Fleet Commodore Ka'reitha Aronfast}}
|{{AwardRow|Innovation Ribbon|DISP=Pomp and Circumstance, Part II|ROWSPAN=2}}
|{{AwardRow|Explorer's Ribbon|NUM=11|DISP=Explorer's Ribbon (11th Citation)}}
}}
{{PromotionsTable
|{{PromotionRow|Captain|Red|FC|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
{{PositionChangesTable|COLLAPSED=n 
|{{PositionChangeShipHeader|{{USS|Blenheim|X}}}}
|{{PositionChange|Andromeda War Ops|Local Group War Ops|328001.12|Commodore Ka'reitha Aronfast|We All Go Up One!}}
}}
{{AwardTableGen|TITLE=General Awards|ShowRecipient=no
|{{AwardTableGenRow|Genesis Award|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
}}
}}

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.

Usage for AwardHeader

  • The stardate of the award goes first
  • The second variable is the name of the ship. You can use the {{USS|Shipname|Suffix}} 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.
  • The last variable is the presenter of the award.

Usage for AwardHeaderVariant

  • The first variable is the presenter of the award.
  • The second variable is the name of the ship. You can use the {{USS|Shipname|Suffix}} 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.


Usage for AwardRow

  • The first parameter is the name of the ribbon. Use the name from Template: Ribbons here.
  • The second parameter is the description or link.
  • 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.)
  • 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.

For PositionChangeShipHeader, insert the ship name these changes take place on.

Usage for Promotion Row

  • The first parameter is the new rank. Please use a rank that the Template:Pips template will recognize.
  • The second parameter is the color of pips.
  • The third parameter is the type of pips.
  • The fourth parameter is the stardate.
  • The fifth parameter is the presenter.
  • The sixth parameter is the ceremony link, or title if there is none.

The AwardTableGen is a more generalized table. It's meant to be used for General Awards, Staff Awards, Duty Post Awards, Special Awards, unlike the first three, which have specalized formats. Just copy the example code for each, when you get one.

NOTE: If you specify ShowRecipent=no or n for the AwardTableGen, please do not specify the recipent on the row.

It operates much like AwardRow, excluding it has no ROWSPAN optional. It does have a Number optional.

Example

And here's the example in code.

Starfleet instructor.png Aenia Kthia Awards History Starfleet instructor.png

If you use the variant for stardate, it'll look like this.

Starfleet instructor.png Aenia Kthia Awards History Starfleet instructor.png