Template:Infobox person: Difference between revisions
m (minor) |
(uses new infobox and new doc - translatable) |
||
Line 1: | Line 1: | ||
<noinclude>{{ | <noinclude>{{Documentation/sandbox|doc= | ||
| | {{About|real world people|in-game characters|Template:infobox character}} | ||
| | This is an infobox for people that have had some involvement with the game (not to be used for in-game characters). | ||
| image | ==Usage== | ||
| | {{Infobox_person | ||
|name=name | |||
|image=Image.png | |||
|image_caption=image_caption | |||
|alias=alias | |||
|birthday=birthday | |||
|status=status | |||
|nationality=nationality | |||
|ethnicity=ethnicity | |||
|education=education | |||
|occupation=occupation | |||
|years_active=years_active | |||
|known_for=known_for | |||
|socials=socials | |||
|website=website | |||
|notes=notes | |||
}}<pre> | |||
{{Infobox_person | |||
|name= | |||
|image= | |||
|image_caption= | |||
|alias= | |||
|birthday= | |||
|status= | |||
|nationality= | |||
|ethnicity= | |||
|education= | |||
|occupation= | |||
|years_active= | |||
|known_for= | |||
|socials= | |||
|website= | |||
|notes= | |||
}}</pre> | |||
===Parameters=== | |||
;<code>image</code> | |||
:Image of the person. Insert an image link in the form: <code>Image.png</code>. Multiple images can be defined by appending a number: <code>image2</code>. | |||
;<code>image_caption</code> | |||
:Insert a caption for the image(s). | |||
;<code>alias</code> or <code>nickname</code> or <code>other_names</code> | |||
:The person's aliases or online persona/username. | |||
;<code>birthday</code> | |||
:Their birthday - excluding the year, for privacy concerns. | |||
;<code>status</code> | |||
:Their status on Project Zomboid, i.e. have they moved onto other things? | |||
;<code>nationality</code> | |||
:Nationality. | |||
;<code>ethnicity</code> | |||
:Ethnicity - remove if the same as nationality. | |||
;<code>education</code> | |||
:Place or level of education. | |||
;<code>occupation</code> | |||
:Job of the person, i.e. what do they do on the game (art, code, etc.) | |||
;<code>years_active</code> | |||
:Range of years they've been working on the game. E.g. <code><nowiki>2009–{{CURRENTYEAR}}</nowiki></code> results in: 2009–{{CURRENTYEAR}} | |||
;<code>known_for</code> | |||
:Other works they're known for, whether it be games, mods, or features. | |||
;<code>socials</code> | |||
:Social links displayed as their handle. E.g. [https://twitter.com/CaptainBinky @CaptainBinky] (twitter) | |||
;<code>website</code> | |||
:Personal website. | |||
;<code>notes</code> or <code>footnotes</code> | |||
:Other notes and footnotes. | |||
{{Translation guide|<syntaxhighlight lang="html">{{#switch: {{{1|}}} | |||
| aliases = Aliases | |||
| birthday = Birthday | |||
| status = Status | |||
| nationality = Nationality | |||
| ethnicity = Ethnicity | |||
| education = Education | |||
| occupation = Occupation | |||
| years_active = Years active | |||
| known_for = Known for | |||
| socials = Socials | |||
| website = Website | |||
| notes = Notes | |||
| #default = [[Category:Incorrect template usage]] | |||
}} | |||
</syntaxhighlight>}} | |||
==See also== | |||
*{{ll|Template:Infobox_character}} | |||
*{{ll|Template:Infobox_company}} | |||
*{{ll|Template:Infobox_business}} | |||
| | }} | ||
| | {{ll|Category:Infobox}}</noinclude><includeonly>{{Infobox/sandbox | ||
| title = {{{name|{{#getdisplaytitle:{{FULLPAGENAME}}}}}}} | |||
| | | color = var(--color-blue) | ||
| | | {{Infobox/image <!-- ## Image ## --> | ||
| p1 = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|}}}|{{{image_name|{{{name|}}}}}}]]}} | |||
| 1 = {{#if:{{{image2|}}}|[[File:{{{icon|{{{image}}}}}}|{{{icon_name|{{{image_name|{{{name|}}}}}}}}}|link=]]}} | |||
| | | p2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|{{{image_size2|}}}|{{{image_name2|{{{name|}}}}}}]]}} | ||
| 2 = {{#if:{{{image2|}}}|[[File:{{{icon2|{{{image2}}}}}}|{{{icon_name2|{{{image_name2|{{{name|}}}}}}}}}|link=]]}} | |||
| | | p3 = {{#if:{{{image3|}}}|[[File:{{{image3}}}|{{{image_size3|}}}|{{{image_name3|{{{name|}}}}}}]]}} | ||
| 3 = {{#if:{{{image3|}}}|[[File:{{{icon3|{{{image3}}}}}}|{{{icon_name3|{{{image_name3|{{{name|}}}}}}}}}|link=]]}} | |||
| p4 = {{#if:{{{image4|}}}|[[File:{{{image4}}}|{{{image_size4|}}}|{{{image_name4|{{{name|}}}}}}]]}} | |||
| 4 = {{#if:{{{image4|}}}|[[File:{{{icon4|{{{image4}}}}}}|{{{icon_name4|{{{image_name4|{{{name|}}}}}}}}}|link=]]}} | |||
| p5 = {{#if:{{{image5|}}}|[[File:{{{image5}}}|{{{image_size5|}}}|{{{image_name5|{{{name|}}}}}}]]}} | |||
| 5 = {{#if:{{{image5|}}}|[[File:{{{icon5|{{{image5}}}}}}|{{{icon_name5|{{{image_name5|{{{name|}}}}}}}}}|link=]]}} | |||
| | | caption = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}} | ||
| | }}{{#if:{{{nickname|{{{alias|{{{other_names|{{{status|{{{nationality|{{{ethnicity|{{{education|{{{occupation|{{{years_active|{{{known_for|{{{socials|{{{website|{{{notes|footnotes}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
| {{#if:{{{nickname|{{{alias|{{{other_names|}}}}}}}}} | |||
| | | {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Aliases|arg1=aliases}}|{{{nickname|{{{alias|{{{other_names|}}}}}}}}}}} }}{{#if:{{{birthday|}}} | ||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Birthday|arg1=birthday}}|{{{birthday|}}}}} }}{{#if:{{{status|}}} | |||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Status|arg1=status}}|{{{status|}}}}} }}{{#if:{{{nationality|}}} | |||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Nationality|arg1=nationality}}|{{{nationality|}}}}} }}{{#if:{{{ethnicity|}}} | |||
| | | {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Ethnicity|arg1=ethnicity}}|{{{ethnicity|}}}}} }}{{#if:{{{education|}}} | ||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Education|arg1=education}}|{{{education|}}}}} }}{{#if:{{{occupation|}}} | |||
| | | {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Occupation|arg1=occupation}}|{{{occupation|}}}}} }}{{#if:{{{years_active|}}} | ||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Years active|arg1=years_active}}|{{{years_active|}}}}} }}{{#if:{{{known_for|}}} | |||
| | | {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Known for|arg1=known_for}}|{{{known_for|}}}}} }}{{#if:{{{socials|}}} | ||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Socials|arg1=socials}}|{{{socials|}}}}} }}{{#if:{{{website|}}} | |||
| {{Infobox/sandbox/row|{{tt|name=Infobox person|default=Website|arg1=website}}|{{{website|}}}}} }} | |||
}}{{#if:{{{notes|{{{footnotes|}}}}}} | |||
| | |{{Infobox/section | ||
| {{tt|name=Infobox person|default=Notes|arg1=notes}} | |||
| color = var(--color-blue) | |||
| id = business-notes | |||
| collapsed = true | |||
| | | <div style{{=}}"padding:0em 0.5em 0.5em;">{{{notes|{{{footnotes|}}}}}}</div> | ||
}} | |||
}} | |||
| | }}</includeonly> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}}</includeonly |
Revision as of 11:48, 15 February 2024
- This template is about real world people. For in-game characters, see Template:infobox character.
This is an infobox for people that have had some involvement with the game (not to be used for in-game characters).
Usage
{{Infobox_person |name= |image= |image_caption= |alias= |birthday= |status= |nationality= |ethnicity= |education= |occupation= |years_active= |known_for= |socials= |website= |notes= }}
Parameters
image
- Image of the person. Insert an image link in the form:
Image.png
. Multiple images can be defined by appending a number:image2
. image_caption
- Insert a caption for the image(s).
alias
ornickname
orother_names
- The person's aliases or online persona/username.
birthday
- Their birthday - excluding the year, for privacy concerns.
status
- Their status on Project Zomboid, i.e. have they moved onto other things?
nationality
- Nationality.
ethnicity
- Ethnicity - remove if the same as nationality.
education
- Place or level of education.
occupation
- Job of the person, i.e. what do they do on the game (art, code, etc.)
years_active
- Range of years they've been working on the game. E.g.
2009–{{CURRENTYEAR}}
results in: 2009–2024 known_for
- Other works they're known for, whether it be games, mods, or features.
socials
- Social links displayed as their handle. E.g. @CaptainBinky (twitter)
website
- Personal website.
notes
orfootnotes
- Other notes and footnotes.
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|}}}
| aliases = Aliases
| birthday = Birthday
| status = Status
| nationality = Nationality
| ethnicity = Ethnicity
| education = Education
| occupation = Occupation
| years_active = Years active
| known_for = Known for
| socials = Socials
| website = Website
| notes = Notes
| #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.