Template:Player Sidebar: Difference between revisions

From LCARS
mNo edit summary
mNo edit summary
Line 9: Line 9:
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 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.


If the character image you're using is more than 200 pixels wide, please include "{{!}}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 <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.
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?).


<pre>{{Player Sidebar
<pre>{{Player Sidebar
Line 16: Line 16:
|telegram        = telegram user name
|telegram        = telegram user name
|char            = primary character
|char            = primary character
|bday            = Use [[Template:Player Birthdate and Age]]
|bday            = Use template listed above.
}}</pre>
}}</pre>



Revision as of 21:22, 18 August 2016


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.

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

{{Player Sidebar
|image           = file name
|img-alt         = player's name/alias
|telegram        = telegram user name
|char            = primary character
|bday            = 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}}
}}