Template:Infobox character/sandbox: Difference between revisions
m (Remove caption) |
m (Automated Formatting) |
||
Line 27: | Line 27: | ||
|items=items | |items=items | ||
}} | }} | ||
<syntaxhighlight lang=text>{{Infobox character/sandbox | <syntaxhighlight lang=text>{{Infobox character/sandbox | ||
|name= | |name= | ||
Line 72: | Line 71: | ||
|items=[[Shoes (black)]], [[Knee-length Skirt]], [[T-shirt]] | |items=[[Shoes (black)]], [[Knee-length Skirt]], [[T-shirt]] | ||
}} | }} | ||
<syntaxhighlight lang=text>{{Infobox character/sandbox | <syntaxhighlight lang=text>{{Infobox character/sandbox | ||
|name=Kate Smith | |name=Kate Smith | ||
Line 131: | Line 129: | ||
|{{Infobox/sandbox/row | |{{Infobox/sandbox/row | ||
|{{tt|name=Infobox character|default=Nickname|arg1=nickname}} | |{{tt|name=Infobox character|default=Nickname|arg1=nickname}} | ||
|{{{nickname|}}} | |{{{nickname|}}} | ||
}} | }} | ||
}}{{#if:{{{sex|}}} | }}{{#if:{{{sex|}}} | ||
|{{Infobox/sandbox/row | |{{Infobox/sandbox/row | ||
|{{tt|name=Infobox character|default=Sex|arg1=sex}} | |{{tt|name=Infobox character|default=Sex|arg1=sex}} | ||
|{{{sex|}}} | |{{{sex|}}} | ||
}} | }} | ||
}}{{#if:{{{personality|}}} | }}{{#if:{{{personality|}}} |
Latest revision as of 14:10, 14 April 2024
This is an infobox used on articles about an in-game character.
Usage
{{Infobox character/sandbox
|name=
|image=
|image2=
|image3=
|image4=
|image5=
|image_name=
|image_name2=
|image_name3=
|image_name4=
|image_name5=
<!-- GENERAL -->
|nickname=
|sex=
|occupation=
|traits=
|location=
|coordinates=
<!-- TECHNICAL -->
|outfit=
|guid=
|items=
}}
Example
{{Infobox character/sandbox
|name=Kate Smith
|image=805 max.jpg
|image3=Kate Smith.png
|image4=K&B intro.png
|image_name=Concept art
|image_name2=Outfit
|image_name3=In-game (past)
|image_name4=In-game (future)
|sex=Female
|location=Bob and Kate's safehouse
|coordinates=10746x9415
|outfit=Kate
|guid=f4169ece-2001-4130-80bc-afc18f81b0fc
|items=[[Shoes (black)]], [[Knee-length Skirt]], [[T-shirt]]
}}
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
<!-- data -->
| nickname = Nickname
| sex = Sex
| occupation = Occupation
| traits = Traits
| location = Location
| outfit = Outfit
| guid = GUID
| items = Items
| #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.