Template:UserCharacterGallery: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="float:left; text-align: center; background-color: {{ #switch: {{{PRIMARY|}}} | Yes = lemonchiffon | gainsboro }}; margin: 5px; border-radius: 20px; border: {{ #switch: {{{PRIMARY|}}} | Yes = 4px solid goldenrod | 0 }}; overflow: hidden;">[[Image:{{ #if: {{{IMAGE|}}} | {{{IMAGE}}} | Noimage.jpg }}|200px|none|link={{ #if: {{{PAGE|}}} | {{{PAGE}}} | # }}]] '''[[{{ #if: {{{PAGE|}}} | {{{PAGE}}} | # }}|{{ #if: RANK | {{{RANK}}} |  }} {{{NAME}}}]] {{ #switch: {{{PRIMARY|}}} | Yes = <span style="color:darkgoldenrod;">(Primary)</span> | }}'''<br/><small>{{age|{{{BY}}}|{{{BM}}}|{{{BD}}}}}-year-old {{{SPECIES}}}<br/>{{{POST}}} ({{{SHIP}}})</small></div>
<includeonly><div style="float:left; text-align: center; background-color: {{ #switch: {{{PRIMARY|}}} | Yes = lemonchiffon | gainsboro }}; margin: 5px; border-radius: 20px; border: {{ #switch: {{{PRIMARY|}}} | Yes = 4px solid goldenrod | 0 }}; overflow: hidden;">[[Image:{{ #if: {{{IMAGE|}}} | {{{IMAGE}}} | Noimage.jpg }}|200px|none|link={{ #if: {{{PAGE|}}} | {{{PAGE}}} | {{{NAME}}} }}]] '''[[{{ #if: {{{PAGE|}}} | {{{PAGE}}} | # }}|{{ #if: RANK | {{{RANK}}} |  }} {{{NAME}}}]] {{ #switch: {{{PRIMARY|}}} | Yes = <span style="color:darkgoldenrod;">(Primary)</span> | }}'''<br/><small>{{age|{{{BY}}}|{{{BM}}}|{{{BD}}}}}-year-old {{{SPECIES}}}<br/>{{{POST}}} ({{{SHIP}}})</small></div>
</includeonly><noinclude>
</includeonly><noinclude>
=Example Usage=
=Example Usage & Notes=
This template is designed for images using approximately a 5x7 aspect ratio (550x750px specifically) and using other AR's may mess it up.
 
Since this is a '''"Floating"''' element, that means it will appear to the left of text which follows. If you are finding this annoying and want it on its own line, you must add the '''clear''' template after it, using the following code:
Since this is a '''"Floating"''' element, that means it will appear to the left of text which follows. If you are finding this annoying and want it on its own line, you must add the '''clear''' template after it, using the following code:
<pre>{{clear}}</pre>
<pre>{{clear}}</pre>
Line 10: Line 12:
| NAME = Robin Hopper
| NAME = Robin Hopper
| IMAGE = Hopper-550.jpg
| IMAGE = Hopper-550.jpg
| PAGE = Robin Hopper
| PAGE =  
| PRIMARY = Yes
| PRIMARY = Yes
| RANK = Lt.
| RANK = Lt.
Line 25: Line 27:
| NAME = Robin Hopper
| NAME = Robin Hopper
| IMAGE = Hopper-550.jpg
| IMAGE = Hopper-550.jpg
| PAGE = Robin Hopper
| PAGE =  
| PRIMARY = Yes
| PRIMARY = Yes
| RANK = Lt.
| RANK = Lt.
Line 41: Line 43:
| NAME = Kivik
| NAME = Kivik
| IMAGE = Kivik-550.jpg
| IMAGE = Kivik-550.jpg
| PAGE = Kivik
| PAGE =  
| PRIMARY =  
| PRIMARY =  
| RANK = Lieutenant
| RANK = Lieutenant
Line 56: Line 58:
| NAME = Kivik
| NAME = Kivik
| IMAGE = Kivik-550.jpg
| IMAGE = Kivik-550.jpg
| PAGE = Kivik
| PAGE =  
| PRIMARY =  
| PRIMARY =  
| RANK = Lieutenant
| RANK = Lieutenant
Line 72: Line 74:
| NAME = New Guy
| NAME = New Guy
| IMAGE =  
| IMAGE =  
| PAGE = New Guy
| PAGE = New Guy's Page
| PRIMARY =  
| PRIMARY =  
| RANK = Ensign
| RANK = Ensign
Line 87: Line 89:
| NAME = New Guy
| NAME = New Guy
| IMAGE =  
| IMAGE =  
| PAGE = New Guy
| PAGE = New Guy's Page
| PRIMARY =  
| PRIMARY =  
| RANK = Ensign
| RANK = Ensign
Line 108: Line 110:
| NAME = Robin Hopper
| NAME = Robin Hopper
| IMAGE = Hopper-550.jpg
| IMAGE = Hopper-550.jpg
| PAGE = Robin Hopper
| PAGE =  
| PRIMARY = Yes
| PRIMARY = Yes
| RANK = Lt.
| RANK = Lt.
Line 121: Line 123:
| NAME = Kivik
| NAME = Kivik
| IMAGE = Kivik-550.jpg
| IMAGE = Kivik-550.jpg
| PAGE = Kivik
| PAGE =  
| PRIMARY =  
| PRIMARY =  
| RANK = Lieutenant
| RANK = Lieutenant
Line 152: Line 154:
| NAME = Robin Hopper
| NAME = Robin Hopper
| IMAGE = Hopper-550.jpg
| IMAGE = Hopper-550.jpg
| PAGE = Robin Hopper
| PAGE =  
| PRIMARY = Yes
| PRIMARY = Yes
| RANK = Lt.
| RANK = Lt.
Line 165: Line 167:
| NAME = Kivik
| NAME = Kivik
| IMAGE = Kivik-550.jpg
| IMAGE = Kivik-550.jpg
| PAGE = Kivik
| PAGE =  
| PRIMARY =  
| PRIMARY =  
| RANK = Lieutenant
| RANK = Lieutenant