Template:LCARS Header: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{|style="max-width:2000px" |style="background:{{Color|{{{Color|}}}}};" width="100" align=right valign=top|<small>{{whitelink||{{{Main Bio Page Link|}}}|Main Page}...")
 
No edit summary
Line 1: Line 1:
<includeonly>{|style="max-width:2000px"
<includeonly>{|style="max-width:2000px"
|style="background:{{Color|{{{Color|}}}}};" width="100" align=right valign=top|<small>{{whitelink||{{{Main Bio Page Link|}}}|Main Page}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100" align=right valign=top|<small>{{whitelinkcheck|{{{Main Bio Page Link|}}}|Main Page}}</small>
|width="1900" colspan=6|[[File:{{{Image|}}}|right|x120px]]
|width="1900" colspan=6|[[File:{{{Image|}}}|right|x120px]]
==={{{Name|}}}===
==={{{Name|}}}===
Line 10: Line 10:
|-
|-
|style="background:{{Color|{{{Color|}}}}}; border-radius: 0 0 0 14px; border:0px solid #AFA3BF"|
|style="background:{{Color|{{{Color|}}}}}; border-radius: 0 0 0 14px; border:0px solid #AFA3BF"|
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{whitelinkcheck|{{{Main Bio Page Link|}}}/{{{Subpage1Name|}}}|{{{Subpage1Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{Swhitecheck|{{{Main Bio Page Link|}}}|{{{Subpage1Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{whitelinkcheck|{{{Main Bio Page Link|}}}/{{{Subpage2Name|}}}|{{{Subpage2Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{Swhitecheck|{{{Main Bio Page Link|}}}|{{{Subpage2Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{whitelinkcheck|{{{Main Bio Page Link|}}}/{{{Subpage3Name|}}}|{{{Subpage3Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{Swhitecheck|{{{Main Bio Page Link|}}}|{{{Subpage3Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{whitelinkcheck|{{{Main Bio Page Link|}}}/{{{Subpage4Name|}}}|{{{Subpage4Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}};" width="100"  valign=top|<small>{{Swhitecheck|{{{Main Bio Page Link|}}}|{{{Subpage4Name|}}}}}</small>
|style="background:{{Color|{{{Color|}}}}}" |
|style="background:{{Color|{{{Color|}}}}}" |
!width={{{Section Name Width|}}} align=right|<font size="4" color={{Color|{{{Color|}}}}}>{{{Section Name|}}}</font>
!width={{{Section Name Width|}}} align=right|<font size="4" color={{Color|{{{Color|}}}}}>{{{Section Name|}}}</font>
|}</includeonly><noinclude>Creates an LCARS-style header nav.
|}</includeonly><noinclude>Creates an LCARS-style header nav. Put it in a separate template for your own character.
 
Example: [[Template:McLeod]], which contains the following:
<pre>
{{LCARS Header
|Name=McLEOD, PATRICK
|Image=McLeod.jpg
|Serial Number=PS - 396 - 458
|Rank=Lieutenant JG
|Post=Helm & Navigation Officer
|Color=Red
|Assignment={{USS|Apollo}}
|Clearance=L2
|Section Name=PERSONAL FILE
|Section Name Width=170
|Main Bio Page Link=McLeod, Patrick
|Subpage1Name=Service Record
|Subpage2Name=Personal Life
|Subpage3Name=Medical Record
|Subpage4Name=Academy Transcript
}}
</pre>
which gives you
 
{{LCARS Header
|Name=McLEOD, PATRICK
|Image=McLeod.jpg
|Serial Number=PS - 396 - 458
|Rank=Lieutenant JG
|Post=Helm & Navigation Officer
|Color=Red
|Assignment={{USS|Apollo}}
|Clearance=L2
|Section Name=PERSONAL FILE
|Section Name Width=170
|Main Bio Page Link=McLeod, Patrick
|Subpage1Name=Service Record
|Subpage2Name=Personal Life
|Subpage3Name=Medical Record
|Subpage4Name=Academy Transcript
}}


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

Revision as of 05:45, 1 June 2014

Creates an LCARS-style header nav. Put it in a separate template for your own character.

Example: Template:McLeod, which contains the following:

{{LCARS Header
|Name=McLEOD, PATRICK
|Image=McLeod.jpg
|Serial Number=PS - 396 - 458
|Rank=Lieutenant JG
|Post=Helm & Navigation Officer
|Color=Red
|Assignment={{USS|Apollo}}
|Clearance=L2
|Section Name=PERSONAL FILE
|Section Name Width=170
|Main Bio Page Link=McLeod, Patrick
|Subpage1Name=Service Record
|Subpage2Name=Personal Life
|Subpage3Name=Medical Record
|Subpage4Name=Academy Transcript
}}

which gives you

Main Page
McLeod.jpg

McLEOD, PATRICK

  • Serial Number: PS - 396 - 458
  • Rank: Lieutenant JG
  • Position: Helm & Navigation Officer
  • Assignment: USS Apollo
  • Clearance: L2
Service Record Personal Life Medical Record Academy Transcript PERSONAL FILE