Template:Player Sidebar: Difference between revisions

From LCARS
mNo edit summary
mNo edit summary
Line 7: Line 7:
}}
}}


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.
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.


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 <br /> 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. 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?).
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).


<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
|telegram        = telegram user name
|telegram        = telegram user name
|char            = primary character
|char            = primary character
|bday            = Use template listed above.
|bday            = birthday, please use template listed above.
}}</pre>
}}</pre>



Revision as of 11:52, 20 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).

{{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.
}}

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}}
}}