Template:Player Sidebar: Difference between revisions

From LCARS
m (Protected "Template:Player Sidebar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (updated discord handle)
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
|image          = Amy.jpg
|image          = Amy.jpg
|img-alt        = Amy
|img-alt        = Amy
|discord        = @Death Kitten ☣#4268
|telegram        = deathkitten
|telegram        = deathkitten
|char            = Commander [[emp-char:11{{!}}Amelia Waterhouse]]
|char            = Captain [[emp-char:11{{!}}Amelia Waterhouse]]
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|loc            = SF Bay Area, CA, USA
|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 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.


Line 15: Line 15:
|image          = your picture's 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
Line 26: Line 27:
|image          = Amy.jpg
|image          = Amy.jpg
|img-alt        = Amy
|img-alt        = Amy
|telegram        = [https://telegram.me/deathkitten @deathkitten]
|discord        = @Death Kitten ☣#6437
|char            = Commander [[emp-char:11{{!}}Amelia Waterhouse]]
|telegram        = deathkitten
|char            = Captain [[emp-char:11{{!}}Amelia Waterhouse]]
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|loc            = SF Bay Area, CA, USA
|loc            = SF Bay Area, CA, USA
Line 34: Line 36:
[[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:'''
{{!}} {{{discord}}}
{{!}}- }}
{{#if:{{{telegram|}}}| {{!}} class="caption" {{!}}'''Telegram:'''
{{!}} [https://telegram.me/{{{telegram}}} @{{{telegram}}}]
{{!}} [https://telegram.me/{{{telegram}}} @{{{telegram}}}]
{{!}}- }}
{{!}}- }}
{{#if:{{{char|}}}| {{!}} align="right" {{!}}'''Primary Character:'''
{{#if:{{{char|}}}| {{!}} class="caption" {{!}}'''Primary Character:'''
{{!}} {{{char}}}  
{{!}} {{{char}}}  
{{!}}- }}
{{!}}- }}
{{#if:{{{bday|}}}| {{!}} align="right" {{!}}'''Birthday:'''
{{#if:{{{bday|}}}| {{!}} class="caption" {{!}}'''Birthday:'''
{{!}} {{{bday}}}
{{!}} {{{bday}}}
{{!}}- }}
{{!}}- }}
{{#if:{{{loc|}}}| {{!}} align="right" {{!}}'''Location:'''
{{#if:{{{loc|}}}| {{!}} class="caption" {{!}}'''Location:'''
{{!}} {{{loc}}}  
{{!}} {{{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
}}