Template:UserCharacterGallery: Difference between revisions
Jump to navigation
Jump to search
m (→Example Usage) |
mNo edit summary |
||
Line 2: | Line 2: | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
=Example Usage= | =Example Usage= | ||
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 ''' | 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>{{ | <pre>{{clear}}</pre> | ||
:: ''Note - This is not necessary if you are using the '''UserCharacterGallery-START''' and '''UserCharacterGallery-END''' templates (explained below).'' | :: ''Note - This is not necessary if you are using the '''UserCharacterGallery-START''' and '''UserCharacterGallery-END''' templates (explained below).'' | ||
==Primary Character== | ==Primary Character== | ||
Line 20: | Line 20: | ||
| SHIP = [[Amity Outpost|Amity]] | | SHIP = [[Amity Outpost|Amity]] | ||
}} | }} | ||
{{ | {{clear}} | ||
</pre> | </pre> | ||
{{ UserCharacterGallery | {{ UserCharacterGallery | ||
Line 35: | Line 35: | ||
| SHIP = [[Amity Outpost|Amity]] | | SHIP = [[Amity Outpost|Amity]] | ||
}} | }} | ||
{{ | {{clear}} | ||
==Regular Character== | ==Regular Character== | ||
<pre> | <pre> | ||
Line 51: | Line 51: | ||
| SHIP = [[USS Kitty Hawk|Kitty Hawk]] | | SHIP = [[USS Kitty Hawk|Kitty Hawk]] | ||
}} | }} | ||
{{ | {{clear}} | ||
</pre> | </pre> | ||
{{ UserCharacterGallery | {{ UserCharacterGallery | ||
Line 66: | Line 66: | ||
| SHIP = [[USS Kitty Hawk|Kitty Hawk]] | | SHIP = [[USS Kitty Hawk|Kitty Hawk]] | ||
}} | }} | ||
{{ | {{clear}} | ||
==Incomplete Character== | ==Incomplete Character== | ||
<pre> | <pre> | ||
Line 82: | Line 82: | ||
| SHIP = Unassigned | | SHIP = Unassigned | ||
}} | }} | ||
{{ | {{clear}} | ||
</pre> | </pre> | ||
{{ UserCharacterGallery | {{ UserCharacterGallery | ||
Line 97: | Line 97: | ||
| SHIP = Unassigned | | SHIP = Unassigned | ||
}} | }} | ||
{{ | {{clear}} | ||
=Stacking= | =Stacking= |
Revision as of 19:39, 22 September 2022
Example Usage
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).
Primary Character
{{ UserCharacterGallery | NAME = Robin Hopper | IMAGE = Hopper-550.jpg | PAGE = Robin Hopper | PRIMARY = Yes | RANK = Lt. | BY = 2371 | BM = 09 | BD = 02 | SPECIES = Human/[[Centauran]] | POST = Chief Science Officer | SHIP = [[Amity Outpost|Amity]] }} {{clear}}
Regular Character
{{ UserCharacterGallery | NAME = Kivik | IMAGE = Kivik-550.jpg | PAGE = Kivik | 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 | 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 = Robin Hopper | 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-550.jpg | PAGE = Kivik | PRIMARY = | RANK = Lieutenant | BY = 2366 | BM = 09 | BD = 07 | SPECIES = [[J'naii]] | POST = Chief Science Officer | SHIP = [[USS Kitty Hawk|Kitty Hawk]] }}
{{UserCharacterGallery-END}}