Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PeopleInfobox: Difference between revisions

Template page
More languages
IulianArian (talk | contribs)
No edit summary
IulianArian (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(15 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="headercolor" 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 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=#ffff00
{
|headerfontcolor=#000000
"params": {
|title1=a
"headercolor": {
|image1=File:Example.png
"description": "Changes the color of the header using the HEX code",
|caption1=
"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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.