Template:Player Sidebar: Difference between revisions

From LCARS
(Created page with "<noinclude>{{Player Sidebar |image = Amy.jpg{{!}}200px |img-alt = Amy |telegram = deathkitten |char = Commander [https://sfintel.space/pers...")
 
m (updated discord handle)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Player Sidebar
<noinclude>{{Player Sidebar
|image          = Amy.jpg{{!}}200px
|image          = Amy.jpg
|img-alt        = Amy
|img-alt        = Amy
|discord        = @Death Kitten ☣#4268
|telegram        = deathkitten
|telegram        = deathkitten
|char            = Commander [https://sfintel.space/personnel/character/11 Amelia Waterhouse]
|char            = Captain [[emp-char:11{{!}}Amelia Waterhouse]]
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|loc            = SF Bay Area, CA, USA
}}
}}
Provided below is the template for the player sidebar, with an example of what it should look like. Please include this on your user page, and fill in the parameters as much as you can. Anything you do not wish to share or does not apply, feel free to remove from the code for you page. If you add information later, it does not matter what order the variables are in.


Provided below is the template for the character sidebar, with an example to the right of what it should look like. Please include this on any character page you create or edit, and fill in the parameters as much as you can. Anything you do not have information for, feel free to remove from the code for you page. If you add information later, it does not matter what order the variables are in.
The [[Template:Player Birthdate and Age|birthday template]] is recommended to use in the bday listing for automagic age calculation (not 100% accurate, seems to be off by a few days?). If including links and image, and you need to use a | within the wiki tag, please substitute in the [[Template:!|! template]] to avoid breaking the template code (ie. like in the character link in the sample code). With your location, if you don't want to be too specific (ie Seattle, WA, USA), at least give enough information that one can figure out what timezone you're in (ie. USA West Coast, or Pacific Northwest, or Washington, USA).
 
If the character image you're using is more than 200 pixels wide, please include "&#123;&#123;&#33;&#125;&#125;200px" after the file name (see example at bottom). Where there is need for more than one entry (listing date AND location for birth or death, parents, multiple siblings, spouses, etc), please put a &lt;br /&gt; between each person/detail listed, and add explanation within brackets where needed. Also be sure to keep the list on one line, as hitting enter within the variable list does confuse the wiki code on how to display it correctly.


<pre>{{Player Sidebar
<pre>{{Player Sidebar
|image          = file name
|image          = your picture's file name
|img-alt        = player's name/alias
|img-alt        = player's name/alias
|discord        = player's Discord name, including your four digit gamer tag
|telegram        = telegram user name
|telegram        = telegram user name
|char            = primary character
|char            = primary character
|bday            = birthday, please use template listed above.
|loc            = user location
}}</pre>
}}</pre>


Line 20: Line 25:


<pre>{{Player Sidebar
<pre>{{Player Sidebar
|image          = Amy.jpg{{!}}200px
|image          = Amy.jpg
|img-alt        = Amy
|img-alt        = Amy
|telegram        = [https://telegram.me/deathkitten @deathkitten]
|discord        = @Death Kitten ☣#6437
|char            = Commander [https://sfintel.space/personnel/character/11 Amelia Waterhouse]
|telegram        = deathkitten
|char            = Captain [[emp-char:11{{!}}Amelia Waterhouse]]
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|loc            = SF Bay Area, CA, USA
}}</pre>
}}</pre>


[[Category:Templates|Sidebar, Player]]</noinclude>
[[Category:Templates|Sidebar, Player]]</noinclude>


<includeonly>{| class=sidebar
<includeonly>{| class="sidebar"
|-
|-
| colspan="2" align="center" |{{#if:{{{image|}}}| [[Image:{{{image}}}{{!}}{{{img-alt}}}]]<br />}} {{#if:{{{img-alt|}}}| <span class="sb-name">{{{img-alt}}}</span> }}
| colspan="2" align="center" |{{#if:{{{image|}}}| [[Image:{{{image}}}{{!}}{{{img-alt}}}{{!}}200px]]<br />}} {{#if:{{{img-alt|}}}| <span class="sb-name">{{{img-alt}}}</span> }}
|-  
|-  
{{#if:{{{telegram|}}}| {{!}} align="right" {{!}}'''Telegram:'''
{{#if:{{{discord|}}}| {{!}} class="caption" {{!}}'''Discord:'''
{{!}}[https://telegram.me/{{{telegram}}} @{{{telegram}}}]
{{!}} {{{discord}}}
{{!}}- }}
{{#if:{{{telegram|}}}| {{!}} class="caption" {{!}}'''Telegram:'''
{{!}} [https://telegram.me/{{{telegram}}} @{{{telegram}}}]
{{!}}- }}
{{!}}- }}
{{#if:{{{char|}}}| {{!}} align="right" {{!}}'''Primary Character:'''
{{#if:{{{char|}}}| {{!}} class="caption" {{!}}'''Primary Character:'''
{{!}} {{{char}}}
{{!}} {{{char}}}  
 
{{!}}- }}
{{#if:{{{bday|}}}| {{!}} class="caption" {{!}}'''Birthday:'''
{{!}} {{{bday}}}
{{!}}- }}
{{#if:{{{loc|}}}| {{!}} class="caption" {{!}}'''Location:'''
{{!}} {{{loc}}}
}}
|}</includeonly>
|}</includeonly>

Latest revision as of 18:52, 27 July 2019


Provided below is the template for the player sidebar, with an example of what it should look like. Please include this on your user page, and fill in the parameters as much as you can. Anything you do not wish to share or does not apply, feel free to remove from the code for you page. If you add information later, it does not matter what order the variables are in.

The birthday template is recommended to use in the bday listing for automagic age calculation (not 100% accurate, seems to be off by a few days?). If including links and image, and you need to use a | within the wiki tag, please substitute in the ! template to avoid breaking the template code (ie. like in the character link in the sample code). With your location, if you don't want to be too specific (ie Seattle, WA, USA), at least give enough information that one can figure out what timezone you're in (ie. USA West Coast, or Pacific Northwest, or Washington, USA).

{{Player Sidebar
|image           = your picture's file name
|img-alt         = player's name/alias
|discord         = player's Discord name, including your four digit gamer tag
|telegram        = telegram user name
|char            = primary character
|bday            = birthday, please use template listed above.
|loc             = user location
}}

The code for the provided sample looks like this:

{{Player Sidebar
|image           = Amy.jpg
|img-alt         = Amy
|discord         = @Death Kitten ☣#6437
|telegram        = deathkitten
|char            = Captain [[emp-char:11{{!}}Amelia Waterhouse]]
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|loc             = SF Bay Area, CA, USA
}}