Category:Award Display Templates: Difference between revisions

documentation pass 4.
(documentation, part 2.)
(documentation pass 4.)
Line 1: Line 1:
This category is for award display templates. Will contain documentation later.
This category is for award display templates.  
{{bluebox|Want to create your own template for awards, promotions and position changes?
{{bluebox|Want to create your own template for awards, promotions and position changes?


Line 17: Line 17:
|{{AwardRow|Innovation Ribbon|Pomp and Circumstance, Part II|ROWSPAN=2}}
|{{AwardRow|Innovation Ribbon|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
|{{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|General Awards|ShowRecipient=no
|{{AwardTableGenRow|Genesis Badge|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.
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


{| cellspacing="3" width="80%"  
{| cellspacing="3" width="80%"  
Line 43: Line 53:
|}
|}


For PositionChangeShipHeader, insert the ship name these changes take place on.
{| 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 Promotion Row===
*The first parameter is the new rank. Please use a rank that the [[Template:Pips]] template will recognize.<br>
*The second parameter is the color of pips.<br>
*The third parameter is the type of pips.<br>
*The fourth parameter is the stardate.<br>
*The fifth parameter is the presenter. <br>
*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==
==Example==
Line 53: Line 82:
|{{AwardRow|Innovation Ribbon|Pomp and Circumstance, Part II|ROWSPAN=2}}
|{{AwardRow|Innovation Ribbon|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
|{{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|General Awards|ShowRecipient=no
|{{AwardTableGenRow|Genesis Badge|327912.31|Captain Ka'reitha Aronfast|REDACTED}}
}}
}}
}}
}}
7,850

edits