Template:KolkFI: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(widening shipimage)
(adding Crop option)
 
(58 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="TOCfixed" style="margin: 0 0 1em 1em;border-radius: 15px 15px 15px 15px;" align="right"
<includeonly>{|class="TOCfixed collapsible" align="right" style="border:thin #{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}} solid; border-radius:18px 18px 18px 18px"
! style="background:#{{FIBGColor|{{{Color}}}}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color=#efe576>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color=white>{{{FirstName|}}} {{{LastName|}}}</font>]]<br>{{#if: {{{Image|}}}|[[Image:{{{Image}}}|120px]]|[[Image:Roster-blank.jpg|120px]]}}<br>{{Pip120|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color=white>''{{{Ship|}}}''</font>]]<br>{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]||}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}||}}
!{{{Title|}}}
|-
|-
| style="font-size: 90%" |
!style="background:#{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}}; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |<font color={{#switch: {{{Color|}}}|Gold=black|Off-White=black|Silver=black|Pink=black|White=black|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>{{#if: {{{DisplayName|}}}|{{{DisplayName}}}|{{{FirstName|}}}{{#if: {{{NickName|}}}|<font> "{{{NickName}}}"</font>||}} {{{LastName|}}}}}</font>]]<br>{{#if: {{{ImageCrop|}}}|<center>{{{ImageCrop|}}}</center>|{{#switch: {{{Style}}}|TOS={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|100px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|100px]]<br>||}}|FC={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|144px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|144px]]<br>||}}|DS9={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|110px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|110px]]<br>||}}|{{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|120px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|120px]]<br>||}}}}|}}{{Pip120|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Station|}}}|[[{{{Station|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>{{{Station|}}}</font>]]<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>''{{{Ship|}}}''</font>]]<br>||}}{{#switch: {{{Style}}}|TOS={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|100px]]<br>||}}|FC={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|144px]]<br>||}}|DS9={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|110px]]<br>||}}|{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]<br>||}}}}{{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}
{{{Extra|}}}
|-
|-
| style="background:#{{FIBGColor|{{{Color}}}}};border-radius: 0px 0px 15px 15px; font-size: 80%" |
|style="font-size:90%"|
{{#if: {{{UserName|}}}|[[User:{{{UserName}}}|<font color=white>User Page</font>]]|<br>}}
{{{Extra|}}}{{#if: {{{Species|}}}|{{#if: {{{Extra|}}}|<br>|}}'''Species:''' {{{Species}}}||}}{{#if: {{{Gender|}}}|<br>'''Gender:''' {{{Gender}}}||}}{{#if: {{{BirthYear|}}}|<br>'''Born:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}<br>'''Age:''' {{Age|{{{BirthYear|}}}|{{{BirthMonth|}}}|{{{BirthDate|}}}}}||}}{{#if: {{{BirthPlace|}}}|
<br>'''Birth Place:''' {{{BirthPlace}}}||}}
|-
!style="background:#{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center"|
[[Template:LCARS-Sidebar|<font size=1 color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>View Template</font>]]{{#if: {{{UserName|}}}|<br>[[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>User Page</font>]]|}}
|}</includeonly>
|}</includeonly>
   
   
<noinclude>This is my secret fixed-vertical version of [[Template:LCARS-Sidebar]], which I created for characters.  
<noinclude>==KolkFI - Kolk's Floating Infobar!==
This is my fixed-vertical version of [[Template:LCARS-Sidebar]], which I created for characters. It is identical (or at least I try to keep it that way) except that it stays in the middle of the right side no matter how far down you scroll.
   
   
To use this fixed template, type the following anywhere on your character page:
To use this fixed template, type the following anywhere on your character page:
<pre>{{KolkFI
<pre>{{KolkFI
|Title = (optional, for top hide-bar label)
|Color = Color (use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White)
|Color = Color (use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White)
|Rank = Rank (optional - defaults to civilian, but then not written atop)
|Rank = Rank (optional - defaults to civilian, but then not written atop)
|Style = Pip Style (use DS9, STO, FI, Slanted, or leave blank for default)
|Style = Pip Style (use DS9, STO, FI, Slanted, or leave blank for default)
|FirstName = Jane
|FirstName = Jane
|NickName = Janey
|LastName = Doe (optional)
|LastName = Doe (optional)
|Image = Filename.jpg (optional)
|Image = Filename.jpg/.png (optional - Type None if you want a place-keeping image [see example],
                                \->don't include if you want no image at all)
|ImageCrop = {{Crop|Filename.jpg/.png|new width|new height|vertical position adjustment|horizontal position adjustment|zoom|link=}} (optional - don't include unless you need to crop your
                          \-> image, in which case do not use the above "|Image =" line)
|Post = Captain's Pet (optional)
|Post = Captain's Pet (optional)
|Ship = USS Steampunk (optional)
|Ship = USS Steampunk (optional)
Line 25: Line 34:
|UserName = Jane Doe (optional)
|UserName = Jane Doe (optional)
|Extra = *Whatever You Want (optional)
|Extra = *Whatever You Want (optional)
|Species = Zakdorn (optional)
|Gender = Male (optional)
|BirthYear = 2377 (optional)
|BirthMonth = 04 (optional)
|BirthDate = 12 (optional)
|BirthPlace = Space, the Final Frontier (optional)
}}</pre>
}}</pre>
   
   
Example: See floating sidebar
Any optional variables (Species, Gender, Ship, etc.) that you don't want to use can just be left out, as in don't even bother including them; they're extraneous.
 
Example: See floating sidebar. Below is the code used to create it:
<pre>{{KolkFI
|Title=Hide Me!
|Color=Black
|Style=FC
|Rank=Commander
|FirstName=James
|LastName=Bond
|Image=None
|Post=007
|Ship=MI-6
|Extra='''From Earth With Love'''
|UserName=Jackford B. Kolk
}}</pre>
{{KolkFI
{{KolkFI
|Color = Red
|Title=Hide Me!
|Rank = Captander
|Color=Black
|FirstName = James T.
|Style=FC
|LastName = Kolk
|Rank=Commander
|Image = Jackford Kolk-Seattle.jpg
|FirstName=James
|Post = Assistant<br>Commanding Officer
|LastName=Bond
|Ship = USS Shatnerprise
|Image=None
|ShipImage = Constitution.jpg
|Post=007
|ShipReg = NCC-1701
|Ship=MI-6
|UserName = JTKolk
|Extra='''From Earth With Love'''
|Extra = *'''Creator of Sidebar:'''
|UserName=Jackford B. Kolk
**[[User:Jackford B. Kolk|Jackford B. Kolk]]
}}
}}
[[Category:Kolk]]
[[Category:Kolk]]
</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 15:42, 25 November 2014


KolkFI - Kolk's Floating Infobar!

This is my fixed-vertical version of Template:LCARS-Sidebar, which I created for characters. It is identical (or at least I try to keep it that way) except that it stays in the middle of the right side no matter how far down you scroll.

To use this fixed template, type the following anywhere on your character page:

{{KolkFI
|Title = (optional, for top hide-bar label)
|Color = Color (use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White)
|Rank = Rank (optional - defaults to civilian, but then not written atop)
|Style = Pip Style (use DS9, STO, FI, Slanted, or leave blank for default)
|FirstName = Jane
|NickName = Janey
|LastName = Doe (optional)
|Image = Filename.jpg/.png (optional - Type None if you want a place-keeping image [see example],
                                \->don't include if you want no image at all)
|ImageCrop = {{Crop|Filename.jpg/.png|new width|new height|vertical position adjustment|horizontal position adjustment|zoom|link=}} (optional - don't include unless you need to crop your
                           \-> image, in which case do not use the above "|Image =" line)
|Post = Captain's Pet (optional)
|Ship = USS Steampunk (optional)
|ShipImage = FileName.jpg (optional)
|ShipReg = NCC-ID10T (optional)
|UserName = Jane Doe (optional)
|Extra = *Whatever You Want (optional)
|Species = Zakdorn (optional)
|Gender = Male (optional)
|BirthYear = 2377 (optional)
|BirthMonth = 04 (optional)
|BirthDate = 12 (optional)
|BirthPlace = Space, the Final Frontier (optional)
}}

Any optional variables (Species, Gender, Ship, etc.) that you don't want to use can just be left out, as in don't even bother including them; they're extraneous.

Example: See floating sidebar. Below is the code used to create it:

{{KolkFI
|Title=Hide Me!
|Color=Black
|Style=FC
|Rank=Commander
|FirstName=James
|LastName=Bond
|Image=None
|Post=007
|Ship=MI-6
|Extra='''From Earth With Love'''
|UserName=Jackford B. Kolk
}}
Hide Me!
Commander
James Bond
Roster-blank.jpg
FC-05-Cmdr-Black.png
007
MI-6

From Earth With Love

View Template
User Page