User:Sky Blake/Test page: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{Blakesandbox |SHIP = USS Veritas |ROSTER PAGE = Veritas Master Crew List}}")
Tag: Replaced
Line 1: Line 1:
<includeonly>{| border='0' cellspacing='1' style="background:#000; max-width:800px"
{{Blakesandbox
!style="background:#343434;" colspan="100%"|<font color=#ffffff>{{{SHIP}}} Crew History</font>
|SHIP = USS Veritas
|-
|ROSTER PAGE = Veritas Master Crew List}}
|colspan=100% style="background:#343434;"|
{| style="width:100%" align=center
|style="background:maroon" align=center|[[{{{SHIP}}} Crew History/Command Division|<font color="white">Command Division</font>]]
|style="background:#{{#if:{{{PICARDUNI|}}}|0080ff|008482}}" align=center|[[{{{SHIP}}} Crew History/Sciences Division|<font color="white">Sciences Division</font>]]
{{#if:{{{NO MEDICAL|}}}||{{!}}style{{=}}"background:#{{#if:{{{PICARDUNI|}}}|0080ff|008482}}" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Medical Division{{!}}<font color="white">Medical Division</font>]]}}
|style="background:darkgoldenrod" align=center|[[{{{SHIP}}} Crew History/Operations Division|<font color="white">Operations Division</font>]]
{{#if:{{{MARINE|}}}|{{!}}style{{=}}"background:darkgreen" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Marine Regiment{{!}}<font color="white">Marine Regiment</font>]]|}}
{{#if:{{{INTEL|}}}|{{!}}style{{=}}"background:{{#if:{{{INTELRED|}}}|red|black}}" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Intelligence Division{{!}}<font color="white">Intelligence Division</font>]]|}}
{{#if:{{{DIPLO|}}}|{{!}}style{{=}}"background:{{#if:{{{DIPLORED|}}}|red|violet}}" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Diplomacy Division{{!}}<font color="white">Diplomacy Division</font>]]|}}
|style="background:#606060" align=center|[[{{{SHIP}}} Crew History/Civilian Contingent|<font color="white">Civilian Contingent</font>]]
|}
|-
!style="background:#C0C0C0;width:110px"|<small>Insignia</small>
!style="background:#C0C0C0;width:140px"|<small>Rank</small>
!style="background:#C0C0C0;width:75px"|<small>Portrait</small>
!style="background:#C0C0C0;width:175px"|<small>Name</small>
!style="background:#C0C0C0;"|<small>Dates</small>
!style="background:#C0C0C0;width:175px"|<small>Notes</small></includeonly><noinclude>
===Usage Instructions===
This template is used to create a nav menu for history pages divided into subpages rather than one long page.
 
Usage is as follows:
<pre><nowiki>
{{CrewHistory-Subpages|SHIP=Veritas|NO MEDICAL=Yes}}
{{Post|Silver|Select a Division Subpage}}
{{CrewHistory End}}
{{ID subpages note}}
</nowiki></pre>
 
{{CrewHistory-Subpages|SHIP=Veritas|NO MEDICAL=Yes}}
{{Post|Silver|Select a Division Subpage}}
{{CrewHistory End}}
{{ID subpages note}}
 
Options that can be added, as needed:
* PICARDUNI=yes will turn science and medical to blue, to match the Picard uniform colors
* NO MEDICAL=yes removes the medical division as a separate category. Removing this will create a separate medical page
* MARINE=yes adds the marine regiment
* INTEL=yes adds the intelligence divison as a separate category. INTELRED=yes turns it red instead of black
* DIPLO=yes adds the diplomacy section as a seperate category. DIPLORED=yes turns it red instead of purple
 
Similar to [[Template:CrewHistory]] but with a menu to subpages for individual divisions.
[[Category:Templates]]</noinclude>

Revision as of 09:16, 3 August 2020