Template:PeopleInfobox: Difference between revisions

From IulianArian's Encyclopedia
Jump to navigationJump to search
IulianArian (talk | contribs)
No edit summary
IulianArian (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--The infobox was copied from wiki.smpearth.com/wiki/Template:TownInfobox, the original included <infobox accent-color-source="#106010" accent-color-text-source="headerfontcolor">. But it was repleaced with <infobox> to work better on this wiki.-->
<infobox accent-color-source="headercolor" accent-color-text-source="headerfontcolor">
<infobox accent-color-source="#aaaaaa" accent-color-text-source="headerfontcolor">
   <title source="name">
   <title source="name">
     <default>{{{title1}}}</default>
     <default><div style="text-align: center;">{{{title1}}}</div></default>
   </title>
   </title>
   <image source="image1">
   <image source="image1">
Line 22: Line 21:
     <data source="nationality">
     <data source="nationality">
       <label>Nationality</label>
       <label>Nationality</label>
    </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>
     </data>
<!--Occupation-->
<!--Occupation-->
     <data source="occupation">
     <data source="occupation">
       <label>Occupation(s)</label>
       <label>Occupation(s)</label>
    </data>
<!--Aliases-->
    <data source="aliases">
      <label>Aliases</label>
     </data>
     </data>
<!--Content Platforms-->
<!--Content Platforms-->
     <data source="content_platforms">
     <data source="social_media">
       <label>Content Platform(s)</label>
       <label>Social Media(s)</label>
     </data>
     </data>
<!--Languages-->
<!--Languages-->
Line 41: Line 60:
<!--The section ends-->
<!--The section ends-->
   </group>
   </group>
<!--A new section starts-->
<!--End of the infobox-->
<!--The next part is only as a template if I need to continue the infobox-->
  <group>
<!--Section header-->
    <header>Town Info</header>
<!--Info thingy... idk-->
    <data source="full_name">
      <label>Full Name</label>
    </data>
<!--The section ends-->
  </group>
<!--The infobox ends-->
</infobox>
</infobox>
<!--This is only to not include the infobox in the templates page. In the wiki article it will still work-->
<noinclude>
<noinclude>
<!--Infobox ends and the example starts-->
<!--Infobox ends and the example starts-->
Line 60: Line 67:
<!--The <pre> and </pre> tags are only for the infobox to not embed it self-->
<!--The <pre> and </pre> tags are only for the infobox to not embed it self-->
<pre>
<pre>
{{TownInfobox
{{PeopleInfobox
|headercolor=#b00b69
|headercolor=
|headerfontcolor=#ffffff
|headerfontcolor=
|title1=
|title1=
|image1=
|image1=
Line 69: Line 76:
|birthplace=
|birthplace=
|nationality=
|nationality=
|citizenship=
|gender=
|species=
|known_for=
|occupation=
|occupation=
|content_platforms=
|aliases=
|social_media=
|languages=
|languages=
|interests=
|interests=
Line 76: Line 88:
</pre>
</pre>


{{PeopleInfobox
<templatedata>
|headercolor=#oi9483
{
|headerfontcolor=#123456
"params": {
|title1=a
"headercolor": {
|image1=a
"description": "Changes the color of the header using the HEX code",
|caption1=a
"type": "content"
|born=a
},
|birthplace=a
"headerfontcolor": {
|nationality=a
"description": "Changes the color of the header text using the HEX code",
|occupation=a
"type": "content"
|content_platforms=a
},
|languages=a
"title1": {
|interests=a
"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