Template:PeopleInfobox: Difference between revisions

From IulianArian's Encyclopedia
Jump to navigationJump to search
IulianArian (talk | contribs)
Infobox created with infobox builder.
 
IulianArian (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox>
<infobox accent-color-source="headercolor" accent-color-text-source="headerfontcolor">
<title source="title1">
  <title source="name">
<default>{{PAGENAME}}</default>
    <default><div style="text-align: center;">{{{title1}}}</div></default>
</title>
  </title>
<image source="image1"/>
  <image source="image1">
<header>Personal Information</header>
    <caption source="caption1"/>
<data source="born">
  </image>
<label>Born</label>
<!--Start of section-->
</data>
  <group>
<data source="birthplace">
<!--Header of the section-->
<label>Birthplace</label>
    <header>Personal Information</header>
</data>
<!--Born-->
<data source="nationality">
    <data source="born">
<label>Nationality</label>
      <label>Born</label>
</data>
    </data>
<data source="occupation">
<!--Birthplace-->
<label>Occupation</label>
    <data source="birthplace">
</data>
      <label>Birthplace</label>
<data source="content_platforms">
    </data>
<label>Content Platforms</label>
<!--Nationality-->
</data>
    <data source="nationality">
<data source="interests">
      <label>Nationality</label>
<label>Interests</label>
    </data>
</data>
<!--Citizenship-->
    <data source="citizenship">
      <label>Citizenship</label>
    </data>
<!--Gender-->
    <data source="gender">
      <label>Gender</label>
    </data>
<!--Species-->
    <data source="species">
      <label>Species</label>
    </data>
<!--Known for-->
    <data source="known_for">
      <label>Known for</label>
    </data>
<!--Occupation-->
    <data source="occupation">
      <label>Occupation(s)</label>
    </data>
<!--Aliases-->
    <data source="aliases">
      <label>Aliases</label>
    </data>
<!--Content Platforms-->
    <data source="social_media">
      <label>Social Media(s)</label>
    </data>
<!--Languages-->
    <data source="languages">
      <label>Languages</label>
    </data>
<!--Interests-->
    <data source="interests">
      <label>Interests</label>
    </data>
<!--The section ends-->
  </group>
<!--End of the infobox-->
</infobox>
</infobox>
<noinclude>
<!--Infobox ends and the example starts-->
Example usage:
<!--The <pre> and </pre> tags are only for the infobox to not embed it self-->
<pre>
{{PeopleInfobox
|headercolor=
|headerfontcolor=
|title1=
|image1=
|caption1=
|born=
|birthplace=
|nationality=
|citizenship=
|gender=
|species=
|known_for=
|occupation=
|aliases=
|social_media=
|languages=
|interests=
}}
</pre>
<templatedata>
{
"params": {
"headercolor": {
"description": "Changes the color of the header using the HEX code",
"type": "content"
},
"headerfontcolor": {
"description": "Changes the color of the header text using the HEX code",
"type": "content"
},
"title1": {
"description": "The title of the infobox",
"required": true,
"type": "wiki-page-name"
},
"image1": {
"type": "wiki-file-name",
"description": "The image of the article, if any."
},
"caption1": {
"type": "content"
},
"born": {},
"birthplace": {},
"nationality": {},
"citizenship": {},
"gender": {},
"species": {},
"known_for": {},
"occupation": {},
"aliases": {},
"social_media": {},
"languages": {},
"interests": {}
}
}
</templatedata>
</noinclude>

Latest revision as of 00:22, 8 August 2025

Example usage:

{{PeopleInfobox
|headercolor=
|headerfontcolor=
|title1=
|image1=
|caption1=
|born=
|birthplace=
|nationality=
|citizenship=
|gender=
|species=
|known_for=
|occupation=
|aliases=
|social_media=
|languages=
|interests=
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
headercolorheadercolor

Changes the color of the header using the HEX code

Contentoptional
headerfontcolorheaderfontcolor

Changes the color of the header text using the HEX code

Contentoptional
title1title1

The title of the infobox

Page namerequired
image1image1

The image of the article, if any.

Fileoptional
caption1caption1

no description

Contentoptional
bornborn

no description

Unknownoptional
birthplacebirthplace

no description

Unknownoptional
nationalitynationality

no description

Unknownoptional
citizenshipcitizenship

no description

Unknownoptional
gendergender

no description

Unknownoptional
speciesspecies

no description

Unknownoptional
known_forknown_for

no description

Unknownoptional
occupationoccupation

no description

Unknownoptional
aliasesaliases

no description

Unknownoptional
social_mediasocial_media

no description

Unknownoptional
languageslanguages

no description

Unknownoptional
interestsinterests

no description

Unknownoptional