Template:UserCharacterGallery: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div style="float:left; text-align: center; background-color: {{ #switch: PRIMARY | Yes = lemonchiffon | gainsboro }}; margin: 5px; border-radius: 20px; border: {{ #switch: PR...") |
mNo edit summary |
||
(39 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<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}} | | <includeonly><div style="float:left; text-align: center; background-color: {{ #switch: {{{PRIMARY|}}} | Yes = lemonchiffon | Secondary = lemonchiffon | gainsboro }}; margin: 5px; border-radius: 20px; border: {{ #switch: {{{PRIMARY|}}} | Yes = 4px solid goldenrod | Secondary = 4px solid goldenrod | 0 }}; overflow: hidden; {{ #switch: {{{PRIMARY|}}} | Yes = | Secondary = | padding-bottom: 8px;}}">[[Image:{{ #if: {{{IMAGE|}}} | {{{IMAGE}}} | NoImageUCG.jpg }}|200px|none|link={{ #if: {{{PAGE|}}} | {{{PAGE}}} | {{{NAME}}} }}]] '''[[{{ #if: {{{PAGE|}}} | {{{PAGE}}} | {{{NAME}}} }}|{{ #if: RANK | {{{RANK}}} | }} {{{NAME}}}]] {{ #switch: {{{PRIMARY|}}} | Yes = <span style="color:darkgoldenrod;">(Primary)</span> | Secondary = <span style="color:darkgoldenrod;">(Second)</span> }}'''<br/><small>{{age|{{{BY}}}|{{{BM}}}|{{{BD}}}}}-year-old {{{SPECIES}}}<br/>{{{POST}}} ({{{SHIP}}})</small></div> | ||
</includeonly><noinclude> | |||
=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: | ||
{{UserCharacterGallery | <pre>{{clear}}</pre> | ||
:: ''Note - This is not necessary if you are using the '''UserCharacterGallery-START''' and '''UserCharacterGallery-END''' templates (explained below).'' | |||
==Template Elements== | |||
<pre> | |||
{{ UserCharacterGallery | |||
| NAME = | |||
| IMAGE = | |||
| PAGE = | |||
| PRIMARY = | |||
| RANK = | |||
| BY = | |||
| BM = | |||
| BD = | |||
| SPECIES = | |||
| POST = | |||
| SHIP = | |||
}} | |||
</pre> | |||
Explanation of elements follows. Required items are '''bolded'''. | |||
* '''NAME''' = Character's name. | |||
* IMAGE = Can be left blank and a placeholder will appear. Best if using a 5x7 AR image. | |||
* PAGE = Can be left blank if character's Wiki Page title is the same as their name (as above). If different, please specify. | |||
* PRIMARY = Can be left blank. If character is your Primary, please put "Yes". If a Secondary, please put "Secondary". | |||
* RANK = If your character holds a rank, what is it? Can be long-form or abbreviated. | |||
* '''BY''' = Year of birth. | |||
* '''BM''' = Month of birth. | |||
* '''BD''' = Day of birth. | |||
* SPECIES = Species. Can by multiple and you can make it a link. | |||
* POST = Duty Post (i.e. Engineer, First Officer, Chief of Operations, etc). | |||
* SHIP = Name of ship. You can make it a link optionally. Not technically required but will produce () if you leave blank. | |||
==Primary Character== | |||
<pre> | |||
{{ UserCharacterGallery | |||
| NAME = Robin Hopper | | NAME = Robin Hopper | ||
| IMAGE = Hopper-550.jpg | | IMAGE = Hopper-550.jpg | ||
| PAGE = | | PAGE = | ||
| PRIMARY = Yes | | PRIMARY = Yes | ||
| RANK = Lt. | |||
| BY = 2371 | |||
| BM = 09 | |||
| BD = 02 | |||
| SPECIES = Human/[[Centauran]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[Amity Outpost|Amity]] | |||
}} | |||
{{ UserCharacterGallery | |||
| NAME = Gabriel Osuna | |||
| IMAGE = Osuna-550.jpg | |||
| PAGE = | |||
| PRIMARY = Secondary | |||
| RANK = Lt. | |||
| BY = 2361 | |||
| BM = 02 | |||
| BD = 11 | |||
| SPECIES = Human | |||
| POST = Chief Security Officer | |||
| SHIP = [[USS Artemis-A|Artemis]] | |||
}} | |||
{{clear}} | |||
</pre> | |||
{{ UserCharacterGallery | |||
| NAME = Robin Hopper | |||
| IMAGE = Hopper-550.jpg | |||
| PAGE = | |||
| PRIMARY = Yes | |||
| RANK = Lt. | |||
| BY = 2371 | |||
| BM = 09 | |||
| BD = 02 | |||
| SPECIES = Human/[[Centauran]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[Amity Outpost|Amity]] | |||
}} | |||
{{ UserCharacterGallery | |||
| NAME = Gabriel Osuna | |||
| IMAGE = Osuna-550.png | |||
| PAGE = | |||
| PRIMARY = Secondary | |||
| RANK = Lt. | |||
| BY = 2361 | |||
| BM = 02 | |||
| BD = 11 | |||
| SPECIES = Human | |||
| POST = Chief Security Officer | |||
| SHIP = [[USS Artemis-A|Artemis]] | |||
}} | |||
{{clear}} | |||
==Regular Character== | |||
<pre> | |||
{{ UserCharacterGallery | |||
| NAME = Kivik | |||
| IMAGE = Kivik-V2.png | |||
| PAGE = | |||
| PRIMARY = | |||
| RANK = Lieutenant | |||
| BY = 2366 | |||
| BM = 09 | |||
| BD = 07 | |||
| SPECIES = [[J'naii]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[USS Kitty Hawk|Kitty Hawk]] | |||
}} | |||
{{clear}} | |||
</pre> | |||
{{ UserCharacterGallery | |||
| NAME = Kivik | |||
| IMAGE = Kivik-V2.png | |||
| PAGE = | |||
| PRIMARY = | |||
| RANK = Lieutenant | | RANK = Lieutenant | ||
| BY = 2366 | |||
| BM = 09 | |||
| BD = 07 | |||
| SPECIES = [[J'naii]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[USS Kitty Hawk|Kitty Hawk]] | |||
}} | |||
{{clear}} | |||
==Incomplete Character== | |||
<pre> | |||
{{ UserCharacterGallery | |||
| NAME = New Guy | |||
| IMAGE = | |||
| PAGE = New Guy's Page | |||
| PRIMARY = | |||
| RANK = Ensign | |||
| BY = 2379 | |||
| BM = 01 | |||
| BD = 02 | |||
| SPECIES = Vulcan | |||
| POST = | |||
| SHIP = Unassigned | |||
}} | |||
{{clear}} | |||
</pre> | |||
{{ UserCharacterGallery | |||
| NAME = New Guy | |||
| IMAGE = | |||
| PAGE = New Guy's Page | |||
| PRIMARY = | |||
| RANK = Ensign | |||
| BY = 2379 | |||
| BM = 01 | |||
| BD = 02 | |||
| SPECIES = Vulcan | |||
| POST = | |||
| SHIP = Unassigned | |||
}} | |||
{{clear}} | |||
=Stacking= | |||
If you want to include multiple entries, you must wrap your template in the following code: | |||
<pre> | |||
{{UserCharacterGallery-START}} | |||
</pre> | |||
<pre style="margin-left: 25px;"> | |||
{{ UserCharacterGallery | |||
| NAME = Robin Hopper | |||
| IMAGE = Hopper-550.jpg | |||
| PAGE = | |||
| PRIMARY = Yes | |||
| RANK = Lt. | |||
| BY = 2371 | |||
| BM = 09 | |||
| BD = 02 | |||
| SPECIES = Human/[[Centauran]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[Amity Outpost|Amity]] | |||
}} | |||
{{ UserCharacterGallery | |||
| NAME = Kivik | |||
| IMAGE = Kivik-V2.png | |||
| PAGE = | |||
| PRIMARY = | |||
| RANK = Lieutenant | |||
| BY = 2366 | |||
| BM = 09 | |||
| BD = 07 | |||
| SPECIES = [[J'naii]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[USS Kitty Hawk|Kitty Hawk]] | |||
}} | |||
{{ UserCharacterGallery | |||
| NAME = Tri'lea Polgonz | |||
| IMAGE = Polgonz-550.jpg | |||
| PAGE = Tri'lea Doyoxo Polgonz | |||
| PRIMARY = | |||
| RANK = | |||
| BY = 2370 | |||
| BM = 10 | |||
| BD = 02 | |||
| SPECIES = [[Betazoid]] | |||
| POST = Noble | |||
| SHIP = Twentieth House | |||
}} | |||
</pre> | |||
<pre> | |||
{{UserCharacterGallery-END}} | |||
</pre> | |||
{{UserCharacterGallery-START}} | |||
{{ UserCharacterGallery | |||
| NAME = Robin Hopper | |||
| IMAGE = Hopper-550.jpg | |||
| PAGE = | |||
| PRIMARY = Yes | |||
| RANK = Lt. | |||
| BY = 2371 | | BY = 2371 | ||
| BM = 09 | | BM = 09 | ||
Line 13: | Line 220: | ||
| SPECIES = Human/[[Centauran]] | | SPECIES = Human/[[Centauran]] | ||
| POST = Chief Science Officer | | POST = Chief Science Officer | ||
| SHIP = Amity Outpost | | SHIP = [[Amity Outpost|Amity]] | ||
}} | }} | ||
{{UserCharacterGallery | {{ UserCharacterGallery | ||
| Kivik | Kivik- | | NAME = Kivik | ||
| IMAGE = Kivik-V2.png | |||
| PAGE = | |||
| PRIMARY = | |||
| RANK = Lieutenant | |||
| BY = 2366 | |||
| BM = 09 | |||
| BD = 07 | |||
| SPECIES = [[J'naii]] | |||
| POST = Chief Science Officer | |||
| SHIP = [[USS Kitty Hawk|Kitty Hawk]] | |||
}} | |||
{{ UserCharacterGallery | |||
| NAME = Tri'lea Polgonz | |||
| IMAGE = Polgonz-550.jpg | |||
| PAGE = Tri'lea Doyoxo Polgonz | |||
| PRIMARY = | |||
| RANK = | |||
| BY = 2370 | |||
| BM = 10 | |||
| BD = 02 | |||
| SPECIES = [[Betazoid]] | |||
| POST = Noble | |||
| SHIP = Twentieth House | |||
}} | }} | ||
{{UserCharacterGallery-END}} | |||
</noinclude> | </noinclude> |
Latest revision as of 21:48, 23 April 2023
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:
{{clear}}
- Note - This is not necessary if you are using the UserCharacterGallery-START and UserCharacterGallery-END templates (explained below).
Template Elements
{{ UserCharacterGallery | NAME = | IMAGE = | PAGE = | PRIMARY = | RANK = | BY = | BM = | BD = | SPECIES = | POST = | SHIP = }}
Explanation of elements follows. Required items are bolded.
- NAME = Character's name.
- IMAGE = Can be left blank and a placeholder will appear. Best if using a 5x7 AR image.
- PAGE = Can be left blank if character's Wiki Page title is the same as their name (as above). If different, please specify.
- PRIMARY = Can be left blank. If character is your Primary, please put "Yes". If a Secondary, please put "Secondary".
- RANK = If your character holds a rank, what is it? Can be long-form or abbreviated.
- BY = Year of birth.
- BM = Month of birth.
- BD = Day of birth.
- SPECIES = Species. Can by multiple and you can make it a link.
- POST = Duty Post (i.e. Engineer, First Officer, Chief of Operations, etc).
- SHIP = Name of ship. You can make it a link optionally. Not technically required but will produce () if you leave blank.
Primary Character
{{ UserCharacterGallery | NAME = Robin Hopper | IMAGE = Hopper-550.jpg | PAGE = | PRIMARY = Yes | RANK = Lt. | BY = 2371 | BM = 09 | BD = 02 | SPECIES = Human/[[Centauran]] | POST = Chief Science Officer | SHIP = [[Amity Outpost|Amity]] }} {{ UserCharacterGallery | NAME = Gabriel Osuna | IMAGE = Osuna-550.jpg | PAGE = | PRIMARY = Secondary | RANK = Lt. | BY = 2361 | BM = 02 | BD = 11 | SPECIES = Human | POST = Chief Security Officer | SHIP = [[USS Artemis-A|Artemis]] }} {{clear}}
Regular Character
{{ UserCharacterGallery | NAME = Kivik | IMAGE = Kivik-V2.png | PAGE = | PRIMARY = | RANK = Lieutenant | BY = 2366 | BM = 09 | BD = 07 | SPECIES = [[J'naii]] | POST = Chief Science Officer | SHIP = [[USS Kitty Hawk|Kitty Hawk]] }} {{clear}}
Incomplete Character
{{ UserCharacterGallery | NAME = New Guy | IMAGE = | PAGE = New Guy's Page | PRIMARY = | RANK = Ensign | BY = 2379 | BM = 01 | BD = 02 | SPECIES = Vulcan | POST = | SHIP = Unassigned }} {{clear}}
Stacking
If you want to include multiple entries, you must wrap your template in the following code:
{{UserCharacterGallery-START}}
{{ UserCharacterGallery | NAME = Robin Hopper | IMAGE = Hopper-550.jpg | PAGE = | PRIMARY = Yes | RANK = Lt. | BY = 2371 | BM = 09 | BD = 02 | SPECIES = Human/[[Centauran]] | POST = Chief Science Officer | SHIP = [[Amity Outpost|Amity]] }} {{ UserCharacterGallery | NAME = Kivik | IMAGE = Kivik-V2.png | PAGE = | PRIMARY = | RANK = Lieutenant | BY = 2366 | BM = 09 | BD = 07 | SPECIES = [[J'naii]] | POST = Chief Science Officer | SHIP = [[USS Kitty Hawk|Kitty Hawk]] }} {{ UserCharacterGallery | NAME = Tri'lea Polgonz | IMAGE = Polgonz-550.jpg | PAGE = Tri'lea Doyoxo Polgonz | PRIMARY = | RANK = | BY = 2370 | BM = 10 | BD = 02 | SPECIES = [[Betazoid]] | POST = Noble | SHIP = Twentieth House }}
{{UserCharacterGallery-END}}