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
Line 1: Line 1:
<infobox>
<!--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.-->
<title source="title1">
<infobox accent-color-source="#aaaaaa" accent-color-text-source="headerfontcolor">
<default>{{PAGENAME}}</default>
  <title source="name">
</title>
    <default>{{{title1}}}</default>
<image source="image1"/>
  </title>
<header>Personal Information</header>
  <image source="image1">
<data source="born">
    <caption source="caption1"/>
<label>Born</label>
  </image>
</data>
<!--Start of section-->
<data source="birthplace">
  <group>
<label>Birthplace</label>
<!--Header of the section-->
</data>
    <header>Personal Information</header>
<data source="nationality">
<!--Born-->
<label>Nationality</label>
    <data source="born">
</data>
      <label>Born</label>
<data source="occupation">
    </data>
<label>Occupation</label>
<!--Birthplace-->
</data>
    <data source="birthplace">
<data source="content_platforms">
      <label>Birthplace</label>
<label>Content Platforms</label>
    </data>
</data>
<!--Nationality-->
<data source="interests">
    <data source="nationality">
<label>Interests</label>
      <label>Nationality</label>
</data>
    </data>
<!--Occupation-->
    <data source="occupation">
      <label>Occupation(s)</label>
    </data>
<!--Content Platforms-->
    <data source="content_platforms">
      <label>Content Platform(s)</label>
    </data>
<!--Languages-->
    <data source="languages">
      <label>Languages</label>
    </data>
<!--Interests-->
    <data source="interests">
      <label>Interests</label>
    </data>
<!--The section ends-->
  </group>
<!--A new section starts-->
<!--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>
<!--Infobox ends and the example starts-->
Example usage:
<!--The <pre> and </pre> tags are only for the infobox to not embed it self-->
<pre>
{{TownInfobox
|headercolor=#b00b69
|headerfontcolor=#ffffff
|title1=
|image1=
|caption1=
|born=
|birthplace=
|nationality=
|occupation=
|content_platforms=
|languages=
|interests=
}}
</pre>
{{PeopleInfobox
|headercolor=#oi9483
|headerfontcolor=#123456
|title1=a
|image1=a
|caption1=a
|born=a
|birthplace=a
|nationality=a
|occupation=a
|content_platforms=a
|languages=a
|interests=a
}}