User:Alfwyn/Sandox/Template:Character infobox

{{ #ifeq: | center | {| align="center" {| style="{{ #switch: {{{float|}}} | left = float:left;| right = float:right; }}background-color:; margin: 0 0 0.5em 1em; border: 1px solid ; text-align:left; font-size:90%;" cellpadding="0" cellspacing="0" {{ #ifeq: {{{float|}}} | center | {{pipe}}} }} {{ #ifeq: {{{float|}}} | center | {{pipe}}} }}
 * }}
 * }}
 * valign="top" style="padding: 1px; padding-right: 0px;" |
 * valign="top" |

Introduction

 * While I made this template I found it very hard to create a template that satisfies every user. Since characters are very personal I don't think this is possible. I tried my best. The result is that this template is not as easy to use as my other templates - but still if you read the following paragraphs it should be no problem.
 * If you think something in this template is missing discuss it on the talk page
 * Unlike other infoboxes you are not forced to use this template in any way. You can use it on your userpage if you like to but if you don't want to use it then just don't :D
 * Please note that this template contains some parameters that change very often (like your xp). Please don't change those parameters too often! If you update your xp every 100.000XP that is totally fine! Also you don't have to update your titles on every single change.

Parameters
''. If you are a little confused please take a look at the examples on the bottom of this page
 * float: Optional. If you want the box to appear just exactly where you put the template just leave this empty. If you want to force the box to appear on the left or right side of the screen so that you can write information next to it (like other infoboxes) use left or right here. If you want to force the box to be centered in the middle of the screen use center
 * name: The name of your character
 * image_show: Optional. If you fill this with any value, the character image isn't going to be shown. Leave this empty (default) for the image to be shown.
 * image: Optional. Optional name of the character's image. Not needed in almost every case. Attention: This parameter changed with the new style! You don't have to pass the whole [[Image:Whatsoever.jpg|150px]] tag. Instead, if this parameter contains "foo" the location of your image would be "Image:Yourwikiname Foo.jpg". I made this change because it's much simpler AND it secures that people use the correct image location for their personal images! Please alter your existing pages!
 * image_ext: Optional. You can choose your character-image-extension here. Default is "jpg". Please pass the extension WITHOUT the prefixed dot, so for example "png" not ".png"
 * image_size: Optional. The width of your character image in pixel (height is adjusted automatically). Default is 150.
 * prof: Optional. Profession of your character (n, mo, ...)
 * guild: Optional. The Name of your guild (without the guild-tag)
 * gender: Optional. f or m depending on whether your character is male or female
 * quote: Optional. A short(!) quote your character might would say that describes his/her persona. You should keep this short since your box will get very wide if it's too long
 * born: Optional. Birthplace of your character. So Tyria, Elona or Cantha
 * age: Obsolete. Age of your character in months. You can look this up ingame by typing /age into the chat. This parameter is obsolete! Please use created instead!
 * created: Optional. This parameters is an updated version of "age". It allows the template to automatically calculate how long your character have existed so you don't have to update it. Just pass the date of your characters creation to this parameter in this format: yyyymmdd. So if your character was created on August 29, 2007 you would pass 20070829 to this parameter. That's it. The template will calculate your characters age from now on.
 * created_show: Optional. If you fill this with any value the date your character created is not shown below the time of existence. If you leave this empty the creation date of your character is shown.
 * level: Optional. Level of your character
 * xp: Optional. XP your character has acquired yet
 * armor: Optional. If you wear the same armor on your whole body use this parameter, otherwise leave it empty. Just write the name of your armor in here. To look the name up visit this page, choose your profession and your armor and copy the complete armor name (example: Necromancer Elite Kurzick armor)
 * armor_head, armor_chest, armor_arms, armor_legs, armor_feet: Optional. Work just like the armor-parameter, but you can use these 5 parameters if you wear different types of armor on your body. If you don't use the armor parameter and leave this 5 empty.
 * weapon: Optional. You can specify the weapon you are wearing. Please specify just one (your most important) weapon. If it is a green item please write  Weapon Name  to link to the weapon's page and add (Unique) behind the name. If you are wielding a shield or focus with your weapon you can write that down, but you should separate weapon and off-hand item via ''
 * titles: Optional. Your titles. It uses the Template:Title list to show your obtained titles. You do not have to pass the whole template-code to this parameter, you just pass the titles separated by | . A list of all possible parameters can be seen on the template page. Take a look at this list and then on the examples below and you will understand how to use this parameter
 * build1..5: You have the possibility to show your characters' builds here. Just write down the name of the skills in your build separated by | . See example below for better understanding.
 * builds_size: Can be small, medium, large, xlarge and determines the size of the skill-icons of your builds
 * mini1..15: You can show your characters miniatures here. Just write down the name of a miniature here. See example below. Please note that you have to start with mini1 and go on with mini2, mini3 and so on ... . Also note that the image "Miniature Miniaturename.png" (for example "Miniature Gwen.png") has to exist, otherwise it will not work. If you encounter any non-existing miniature image, please upload one!
 * mini_size: Determines the size of the shown miniature-icons. Can contain the same values as builds_size
 * todo: A ToDo-List. Write down your first point and then start every new point with a newline and and *. See example below for better understanding.

Examples
I just list some examples here so you understand how this works. I won't show the results of those examples here but if you need to know just copy them into the Sandbox. All examples are fictional. First a simple one:

Next, let's use the other armor parameters and get more complicated on the weapon. We also use the "created" parameter now.

Finally let's expand the titles, force the box to be centered and add all the other nice parameters. Also we disable the picture so we don't need any of the other image-parameters except for "image_show" (why define a image name for an image that isn't shown?):

And finally let's see this last example in action so you know how your box might look like: