Template:PromotionAwardsTable: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Creating promotions table)
 
m (.. could use correct name.,)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|style="background:black; color:black;" border='0' cellspacing='1' width=100%
{|class="collapsible collapsed" style="background:black; color:black;" border='0' cellspacing='1' width="100%"
! colspan=100% style="background:#000; color:#fff; text-align: center;" | [[File:Starfleet instructor.png|20px]] Promotions [[File:Starfleet instructor.png|20px]]
! style="background:#C0C0C0;" colspan=3;|{{{URL|}}}
|-
|-
|colspan=100%|
! style="background:#c4bfb8; width:120px;" |Decoration
! style="background:#c4bfb8; width:250px;" |Name of Award
! style="background:#c4bfb8;" |Recipient
|-
|-
{{#if:{{{1|}}}|{{!}}{{{1|}}}{{!-}}|}}
{{#if:{{{1|}}}|{{{1|}}}{{!-}}|}}
{{#if:{{{2|}}}|{{!}}{{{2|}}}{{!-}}|}}
{{#if:{{{2|}}}|{{{2|}}}{{!-}}|}}
{{#if:{{{3|}}}|{{!}}{{{3|}}}{{!-}}|}}
{{#if:{{{3|}}}|{{{3|}}}{{!-}}|}}
{{#if:{{{4|}}}|{{!}}{{{4|}}}{{!-}}|}}
{{#if:{{{4|}}}|{{{4|}}}{{!-}}|}}
{{#if:{{{5|}}}|{{!}}{{{5|}}}{{!-}}|}}
{{#if:{{{5|}}}|{{{5|}}}{{!-}}|}}
{{#if:{{{6|}}}|{{!}}{{{6|}}}{{!-}}|}}
{{#if:{{{6|}}}|{{{6|}}}{{!-}}|}}
{{#if:{{{7|}}}|{{!}}{{{7|}}}{{!-}}|}}
{{#if:{{{7|}}}|{{{7|}}}{{!-}}|}}
{{#if:{{{8|}}}|{{!}}{{{8|}}}{{!-}}|}}
{{#if:{{{8|}}}|{{{8|}}}{{!-}}|}}
{{#if:{{{9|}}}|{{!}}{{{9|}}}{{!-}}|}}
{{#if:{{{9|}}}|{{{9|}}}{{!-}}|}}
{{#if:{{{10|}}}|{{!}}{{{10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}|{{!}}{{{25|}}}{{!-}}|}}
{{#if:{{{25|}}}|{{{25|}}}{{!-}}|}}
{{#if:{{{26|}}}|{{!}}{{{26|}}}{{!-}}|}}
{{#if:{{{26|}}}|{{{26|}}}{{!-}}|}}
{{#if:{{{27|}}}|{{!}}{{{27|}}}{{!-}}|}}
{{#if:{{{27|}}}|{{{27|}}}{{!-}}|}}
{{#if:{{{28|}}}|{{!}}{{{28|}}}{{!-}}|}}
{{#if:{{{28|}}}|{{{28|}}}{{!-}}|}}
{{#if:{{{29|}}}|{{!}}{{{29|}}}{{!-}}|}}
{{#if:{{{29|}}}|{{{29|}}}{{!-}}|}}
{{#if:{{{30|}}}|{{!}}{{{30|}}}{{!-}}|}}
{{#if:{{{30|}}}|{{{30|}}}{{!-}}|}}
|}
{{#if:{{{31|}}}|{{{31|}}}{{!-}}|}}
</includeonly><noinclude>
{{#if:{{{32|}}}|{{{32|}}}{{!-}}|}}
This creates the promotions table in a ships awards page. For use, see the example below:<br>
{{#if:{{{33|}}}|{{{33|}}}{{!-}}|}}
''Important note:'' This is meant to be used first, and assumes you are adding the other tables in front of it.<br>
{{#if:{{{34|}}}|{{{34|}}}{{!-}}|}}
< example to be added >  
{{#if:{{{35|}}}|{{{35|}}}{{!-}}|}}
{{#if:{{{36|}}}|{{{36|}}}{{!-}}|}}
{{#if:{{{37|}}}|{{{37|}}}{{!-}}|}}
{{#if:{{{38|}}}|{{{38|}}}{{!-}}|}}
{{#if:{{{39|}}}|{{{39|}}}{{!-}}|}}
{{#if:{{{40|}}}|{{{40|}}}{{!-}}|}}
|}</includeonly><noinclude>
This creates the [[Template:PromotionAwardsTable]], see it's documentation for use.
Example:
<pre>
{{PromotionAwardsTable|URL=Sample URL
|{{PromotionsTableEntry|Rank=Ensign|PipColor=Red|RankStyle=PIC|Character=[[Ceciri Ariadust]]}}
}}
</pre>


{{PromotionAwardsTable|URL=Sample URL
|{{PromotionsTableEntry|Rank=Ensign|PipColor=Red|RankStyle=PIC|Character=[[Ceciri Ariadust]]}}
}}


[[Category: Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:07, 21 March 2021

This creates the Template:PromotionAwardsTable, see it's documentation for use. Example:

{{PromotionAwardsTable|URL=Sample URL
|{{PromotionsTableEntry|Rank=Ensign|PipColor=Red|RankStyle=PIC|Character=[[Ceciri Ariadust]]}}
}}