Template:Infobox character

From PZwiki
Revision as of 02:34, 10 February 2024 by Vaileasys (talk | contribs) (code clean up & adjusted image section, changing parameters)
Notebook.pngTemplate Documentation
Hammer.png
This template is currently under construction.
It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
If this page has not been updated in a while, please replace this notice with {{Improve}}. Last edit was 10/02/2024.

This is an infobox used on articles about an in-game character.

Usage

name
image1
image2
image3
image4
image5
General
Nickname
nickname
Sex
sex
Personality
personality
Occupation
occupation
Traits
traits
Location
location
Show location on an interactive map.coordinates
Items
items
{{Infobox character
| name = 
| image = 
| image2 = 
| image3 = 
| image4 = 
| image5 = 
| image_name = 
| image_name2 = 
| image_name3 = 
| image_name4 = 
| image_name5 = 
<!-- GENERAL -->
| nickname = 
| sex = 
| personality = 
| occupation = 
| traits = 
| location = 
| coordinates = 
<!-- ITEMS -->
| items = 
}}

Example

Kate Smith
In-game
Portrait
General
Sex
Female
Personality
Friendly
Location
Kate and Baldspot's safehouse
Show location on an interactive map.10746x9415
Items
Crutches, Bandages, Painkillers, Pillow
{{Infobox character
| name = Kate Smith
| image = Kate Smith.png
| image2 = 805 max.jpg
| image_name = In-game
| image_name2 = Portrait
<!-- GENERAL -->
| sex = Female
| personality = Friendly
| location = Kate and Baldspot's safehouse
| coordinates = 10746x9415
<!-- ITEMS -->
| items = Crutches, Bandages, Painkillers, Pillow
}}

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
<!-- section -->
| general = General
| items = Items
<!-- data -->
| nickname = Nickname
| sex = Sex
| personality = Personality
| occupation = Occupation
| traits = Traits
| location = Location
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.
Editors can experiment in this template's sandbox.