Template:Infobox character: Difference between revisions

From GTA Portugal Wiki
(Created page with "{{Infobox |name = {{subst:PAGENAME}} |title = Example of an optional header |header1 = {{#if:{{{item_one|}}}{{{item_two|}}}{{{item_three|}}}|Optional header}} |label2 = Item one |data2 = {{{item_one|}}} |label3 = Item two |data3 = {{{item_two|}}} |label4 = Item three |data4 = {{{item_three|}}} }}")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
<infobox>
|name    = Infobox character
    <data><default><small><b>CHARACTER</b></small></default></data>
|title  = Example of an optional header
    <title source="title">
|header1 = {{#if:{{{item_one|}}}{{{item_two|}}}{{{item_three|}}}|Optional header}}
        <default>{{PAGENAME}}</default>
|label2  = Item one
    </title>
|data2  = {{{item_one|}}}
    <image source="image">
|label3 = Item two
        <caption source="imagecaption" />
|data3  = {{{item_two|}}}
    </image>
|label4 = Item three
<group>
|data4  = {{{item_three|}}}
<header>Biographical information</header>
}}
    <data source="name"><label>Full name</label></data>
    <data source="aka"><label>Also known as</label></data>
    <data source="nationality"><label>{{H:title|A group of people who share a common ethnic identity, language, culture, descent, history, and so forth.|Nationality}}</label></data>
    <data source="status"><label>Status</label></data>
    <data source="dob"><label>Date of birth</label></data>
    <data source="pob"><label>Place of birth</label></data>
    <data source="dod"><label>Date of death</label></data>
    <data source="home"><label>Home</label></data>
    <data source="family"><label>Family</label></data>
    <data source="affiliations"><label>Main affiliation</label>    </data>
    <data source="weapons"><label>Weapons</label></data>
    <data source="vehicles"><label>Vehicle(s)</label></data>
    <data source="businesses"><label>Businesses</label></data>
    <data source="cellphone"><label>Phone Number</label></data>
    <data source="email"><label>Email address</label></data>
    <data source="bleeter"><label>[[File:Bleeter-GTAV-Icon.png|thumb|40px|left|link=Bleeter]]</label></data>
    <data source="lifeinvader"><label>[[File:Lifeinvader-GTAV-    icon.png|40px|left|link=Lifeinvader]]</label></data></group>
<group><header>Physical description</header>
<data><label>Gender</label><default>{{#switch:{{{gender}}}|M=Male|F=Female|PC=Player's Choice|{{{gender}}}}}</default></data>
  <data source="height"><label>Height</label></data></group>
<group><header>Game information</header>
<data source="games"><label>Appears in</label></data>
  <data source="voice"><label>Voiced by</label></data>
<data source="motion capture"><label>Motion Capture by</label></data></group>
</infobox>

Latest revision as of 21:45, 9 March 2024