Difference between revisions of "Template:Year"

From OCE Space Simulation
Jump to: navigation, search
(created)
 
m (sigh)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table class="infobox" style="width: 20em; font-size: 90%; text-align: left;">
+
{| class="infobox" style="width: 30em;" align="right"
<caption style="font-size: larger;">'''''{{{year}}}'''''</caption><!--
+
-->{{qif|test={{{image|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{image|}}}</td></tr>}}
+
<tr><th>Author</th><td>{{{admiral}}}</td></tr><!--
+
-->{{qif|test={{{commanders|}}}|then=<tr><th>Mission Commanders</th><td>{{{commanders|}}}</td></tr>}}<!--
+
-->{{qif|test={{{astrocom|}}}|then=<tr><th>Astronaut Commander</th><td>{{{astrocom|}}}</td></tr>}}<!--
+
-->{{qif|test={{{mccom|}}}|then=<tr><th>Mission Control Commander</th><td>{{{mccom|}}}</td></tr>}}<!--
+
-->{{qif|test={{{eepcom|}}}|then=<tr><th>EEP Commander</th><td>{{{eepcom|}}}</td></tr>}}<!--
+
-->{{qif|test={{{plancom|}}}|then=<tr><th>Planetarium Commander</th><td>{{{plancom|}}}</td></tr>}}<!--
+
-->{{qif|test={{{astros|}}}|then=<tr><th>Astronauts</th><td>{{{astros}}}</td></tr>}}<!--
+
-->{{qif|test={{{subject|}}}|then=<tr><th>Subject(s)</th><td>{{{subject|}}}</td></tr>}}<!--
+
-->{{qif|test={{{genre|}}}|then=<tr><th>Genre(s)</th><td>{{{genre|}}}</td></tr>}}<!--
+
-->{{qif|test={{{media_type|}}}|then=<tr><th>Media Type</th><td>{{{media_type|}}}</td></tr>}}<!--
+
-->{{qif|test={{{pages|}}}|then=<tr><th>Pages</th><td>{{{pages|}}}</td></tr>}}<!--
+
-->{{qif|test={{{size_weight|}}}|then=<tr><th>Size and Weight</th><td>{{{size_weight|}}}</td></tr>}}<!--
+
-->{{qif|test={{{isbn|}}}|then=<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>}}<!--
+
-->{{qif|test={{{preceded_by|}}}|then=<tr><th>Preceded&nbsp;by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!--
+
-->{{qif|test={{{followed_by|}}}|then=<tr><th>Followed&nbsp;by</th><td>''{{{followed_by|}}}''</td></tr>}}
+
</table><noinclude>
+
  
==Usage==
+
|-
<pre>
+
|colspan="2" style="text-align:center;" | {{{missionpatch}}} <br />
{{Infobox Book
+
|-
| year =
+
!colspan="2" style="text-align:center; font-size: larger; background-color:{{{bgcolor}}}; color:{{{fgcolor}}}};" | {{PAGENAME}}
| orig title =
+
|-
| commanders =
+
|'''[[Admiral]]''' || {{{admiral}}}
| image =
+
|-
| admiral =
+
|'''[[Mission Commanders]]''' || {{{mcs}}}
| astrocom =
+
|-
| mccom =
+
|'''[[EEP Commanders]]''' || {{{eeps}}}
| eepcom =
+
|-
| plancom =
+
|'''[[Planetarium Commanders]]''' || {{{planets}}}
| astros =
+
|-
| subject =
+
|'''[[Mission | Mission Name]]''' || {{{mission}}}
| genre =
+
|-
| publisher =
+
|'''[[Mission Destination]]''' || {{{destination}}}
| release_date =
+
|-
| media_type =
+
|'''Mission Dates''' || {{{dates}}}
| pages =
+
|-
| size_weight =
+
|'''Location''' || {{{location}}}
| isbn =
+
|-
| preceded_by =
+
|'''[[Astronauts | Mission Astronauts]]''' || {{{astros}}}
| followed_by =
+
|-
}}
+
|'''[[Webmaster]]''' || {{{webmaster}}}
</pre>
+
|-
 +
|'''[[PR Director]]''' || {{{pr}}}
 +
|-
 +
|'''[[Office Director]]''' || {{{office}}}
 +
|-
 +
|'''Membership''' || {{{membership}}}
 +
|-
 +
|}
 +
 
 +
<noinclude>
 +
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>
 +
<includeonly>
 +
[[Category:Year]]
 +
</includeonly>

Latest revision as of 21:43, 18 April 2010

{{{missionpatch}}}
Year
Admiral {{{admiral}}}
Mission Commanders {{{mcs}}}
EEP Commanders {{{eeps}}}
Planetarium Commanders {{{planets}}}
Mission Name {{{mission}}}
Mission Destination {{{destination}}}
Mission Dates {{{dates}}}
Location {{{location}}}
Mission Astronauts {{{astros}}}
Webmaster {{{webmaster}}}
PR Director {{{pr}}}
Office Director {{{office}}}
Membership {{{membership}}}