Latest revision |
Your text |
Line 1: |
Line 1: |
| <infobox accent-color-source="headercolor" accent-color-text-source="headerfontcolor"> | | <infobox> |
| <title source="name">
| | <title source="title1"> |
| <default><div style="text-align: center;">{{{title1}}}</div></default>
| | <default>{{PAGENAME}}</default> |
| </title>
| | </title> |
| <image source="image1">
| | <image source="image1"/> |
| <caption source="caption1"/>
| | <header>Personal Information</header> |
| </image>
| | <data source="born"> |
| <!--Start of section-->
| | <label>Born</label> |
| <group>
| | </data> |
| <!--Header of the section-->
| | <data source="birthplace"> |
| <header>Personal Information</header>
| | <label>Birthplace</label> |
| <!--Born-->
| | </data> |
| <data source="born">
| | <data source="nationality"> |
| <label>Born</label>
| | <label>Nationality</label> |
| </data>
| | </data> |
| <!--Birthplace-->
| | <data source="occupation"> |
| <data source="birthplace">
| | <label>Occupation</label> |
| <label>Birthplace</label>
| | </data> |
| </data>
| | <data source="content_platforms"> |
| <!--Nationality-->
| | <label>Content Platforms</label> |
| <data source="nationality">
| | </data> |
| <label>Nationality</label>
| | <data source="interests"> |
| </data>
| | <label>Interests</label> |
| <!--Citizenship-->
| | </data> |
| <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>
| |