Template:Player Sidebar: Difference between revisions

From LCARS
m (Protected "Template:Player Sidebar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Line 34: Line 34:
[[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}}}]]<br />}} {{#if:{{{img-alt|}}}| <span class="sb-name">{{{img-alt}}}</span> }}

Revision as of 14:56, 21 August 2016


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
|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
|telegram        = [https://telegram.me/deathkitten @deathkitten]
|char            = Commander [[emp-char:11{{!}}Amelia Waterhouse]]
|bday            = {{Player Birthdate and Age|1983|08|20|df=u}}
|loc             = SF Bay Area, CA, USA
}}