Difference between revisions of "Template:Career Infobox Inline"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>|-   
+
<includeonly>{{#ifeq:{{{active}}}|yes|<tr style="background: #6C7175;">|<tr>}}
|style="width:17%;border: 1px solid grey;padding:1ex 1em 1ex 1em;text-align:center;"|{{#if:{{{insignia|}}}|{{{insignia}}}}}
+
<td style="width:17%;border: 1px solid grey;padding:1ex 1em 1ex 1em;text-align:center;">{{#if:{{{insignia|}}}|{{{insignia}}}}}</td>
|style="width:8%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{#if:{{{rank|}}}|{{{rank}}}}}
+
<td style="width:8%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;">{{#if:{{{rank|}}}|{{{rank}}}}}</td>
|style="width:40%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{#if:{{{from|}}}|{{{from}}}|Unknown}} - {{#if:{{{to|}}}|{{{to}}}|Unknown}}
+
<td style="width:40%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;">{{#if:{{{from|}}}|{{{from}}}|Unknown}} - {{#if:{{{to|}}}|{{{to}}}|Unknown}}</td>
|style="width:35%;font-weight:bold;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{{position}}}
+
<td style="width:35%;font-weight:bold;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;">{{{position}}}
|-</includeonly><noinclude>
+
</includeonly><noinclude>
 
== Description ==
 
== Description ==
This template can be used with [[Template:Career Infobox]] to create a table of positions.  
+
This template can be used with [[Template:Career Infobox]] to create a table of positions. <br/>
 
'''Attention''': the position must be the last parameter of Career Infobox for this to work.
 
'''Attention''': the position must be the last parameter of Career Infobox for this to work.
 
== Usage ==
 
== Usage ==
Line 16: Line 16:
 
| from=  
 
| from=  
 
| to =  
 
| to =  
 +
| active = yes (optional)
 
| position =   
 
| position =   
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 22: Line 23:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Career Infobox
 
{{Career Infobox
| department = Republic Medical
+
| department = Naval Command
 
| rank = O-1
 
| rank = O-1
 
| insignia= [[File:Rank O-1 Navy.png|link=]]
 
| insignia= [[File:Rank O-1 Navy.png|link=]]
 
| from = Year 14 Day 326
 
| from = Year 14 Day 326
 
| to = Year 15 Day 38
 
| to = Year 15 Day 38
| position = Operations Ensign
+
| position = Ensign
  
 
{{Career Infobox Inline
 
{{Career Infobox Inline
Line 34: Line 35:
 
| from = Year 15 Day 38
 
| from = Year 15 Day 38
 
| to = Year 15 Day 113
 
| to = Year 15 Day 113
| position = Operations Lieutenant (JG)}}
+
| position = Lieutenant (JG)}}
}}
+
 
}</nowiki></pre>
+
{{Career Infobox Inline
 +
| rank = O-3
 +
| insignia= [[File:Rank O-3 Navy.png|link=]]
 +
| from = Year 15 Day 38
 +
| to = Year 15 Day 160
 +
| active = yes
 +
| position = Lieutenant}}
 +
}}</nowiki></pre>
  
 
{{Career Infobox
 
{{Career Infobox
| department = Republic Medical
+
| department = Naval Command
 
| rank = O-1
 
| rank = O-1
 
| insignia= [[File:Rank O-1 Navy.png|link=]]
 
| insignia= [[File:Rank O-1 Navy.png|link=]]
| from = Year 14 Day 326
+
| from = Year 16 Day 305
| to = Year 15 Day 38
+
| to = Year 16 Day 340
| position = Operations Ensign
+
| position = Ensign
  
 
{{Career Infobox Inline
 
{{Career Infobox Inline
 
| rank = O-2
 
| rank = O-2
 
| insignia= [[File:Rank O-2 Navy.png|link=]]
 
| insignia= [[File:Rank O-2 Navy.png|link=]]
| from = Year 15 Day 38
+
| from = Year 16 Day 340
| to = Year 15 Day 113
+
| to = Year 17 Day 38
| position = Operations Lieutenant (JG)}}
+
| position = Lieutenant (JG)}}
 +
 
 +
{{Career Infobox Inline
 +
| rank = O-3
 +
| insignia= [[File:Rank O-3 Navy.png|link=]]
 +
| from = Year 17 Day 38
 +
| to = Present
 +
| active = yes
 +
| position = Lieutenant}}
 
}}
 
}}
 
 
 
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 06:06, 9 June 2016

Description

This template can be used with Template:Career Infobox to create a table of positions.
Attention: the position must be the last parameter of Career Infobox for this to work.

Usage

{{Career Infobox Inline

| insignia = 
| rank = 
| from= 
| to = 
| active = yes (optional)
| position =  
}}

Examples

{{Career Infobox
| department = Naval Command
| rank = O-1
| insignia= [[File:Rank O-1 Navy.png|link=]]
| from = Year 14 Day 326
| to = Year 15 Day 38
| position = Ensign

{{Career Infobox Inline
| rank = O-2
| insignia= [[File:Rank O-2 Navy.png|link=]]
| from = Year 15 Day 38
| to = Year 15 Day 113
| position = Lieutenant (JG)}}

{{Career Infobox Inline
| rank = O-3
| insignia= [[File:Rank O-3 Navy.png|link=]]
| from = Year 15 Day 38
| to = Year 15 Day 160
| active = yes
| position = Lieutenant}}
}}


Naval Command
Insignia Paygrade Duration Rank/Position
Rank O-1 Navy.png O-1 Unknown - Unknown {{{position}}}