Template:Infobox character/sandbox: Difference between revisions
(Test) |
m (Automated Formatting) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 22: | Line 22: | ||
|location=location | |location=location | ||
|coordinates=coordinates | |coordinates=coordinates | ||
<!-- | <!-- TECHNICAL --> | ||
|outfit=outfit | |||
|guid=guid | |||
|items=items | |items=items | ||
}} | }} | ||
<syntaxhighlight lang=text>{{Infobox character/sandbox | <syntaxhighlight lang=text>{{Infobox character/sandbox | ||
|name= | |name= | ||
Line 45: | Line 46: | ||
|location= | |location= | ||
|coordinates= | |coordinates= | ||
<!-- | <!-- TECHNICAL --> | ||
|outfit= | |||
|guid= | |||
|items= | |items= | ||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
Line 64: | Line 67: | ||
|location=Bob and Kate's safehouse | |location=Bob and Kate's safehouse | ||
|coordinates=10746x9415 | |coordinates=10746x9415 | ||
|items= | |outfit=Kate | ||
|guid=f4169ece-2001-4130-80bc-afc18f81b0fc | |||
|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 79: | Line 83: | ||
|location=Bob and Kate's safehouse | |location=Bob and Kate's safehouse | ||
|coordinates=10746x9415 | |coordinates=10746x9415 | ||
|items= | |outfit=Kate | ||
|guid=f4169ece-2001-4130-80bc-afc18f81b0fc | |||
|items=[[Shoes (black)]], [[Knee-length Skirt]], [[T-shirt]] | |||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
{{Clear}} | {{Clear}} | ||
Line 115: | Line 121: | ||
| p5 = {{#if:{{{image5|}}}|[[File:{{{image5}}}|{{{image_size5|}}}|{{{image_name5|{{{name|}}}}}}]]}} | | p5 = {{#if:{{{image5|}}}|[[File:{{{image5}}}|{{{image_size5|}}}|{{{image_name5|{{{name|}}}}}}]]}} | ||
| 5 = {{#if:{{{image5|}}}|[[File:{{{icon5|{{{image5}}}}}}|{{{icon_name5|{{{image_name5|{{{name|}}}}}}}}}|link=]]}} | | 5 = {{#if:{{{image5|}}}|[[File:{{{icon5|{{{image5}}}}}}|{{{icon_name5|{{{image_name5|{{{name|}}}}}}}}}|link=]]}} | ||
}}{{#if:{{{nickname|}}}{{{sex|}}}{{{personality|}}}{{{occupation|}}}{{{traits|}}}{{{location|}}} | }}{{#if:{{{nickname|}}}{{{sex|}}}{{{personality|}}}{{{occupation|}}}{{{traits|}}}{{{location|}}} | ||
| {{Infobox/section <!-- ## General ## --> | | {{Infobox/section <!-- ## General ## --> | ||
Line 124: | 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|}}} | ||
Line 158: | Line 163: | ||
| color = var(--color-red) | | color = var(--color-red) | ||
| id = character-technical | | id = character-technical | ||
| collapsed = true | |||
| {{#if:{{{outfit|}}} | | {{#if:{{{outfit|}}} | ||
|{{Infobox/sandbox/row | |{{Infobox/sandbox/row | ||
Line 175: | Line 181: | ||
}} | }} | ||
}} | }} | ||
}} | |||
}}</includeonly> | }}</includeonly> |
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.