(←Membuat halaman berisi '<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source...')
 
Tag: sourceedit
Baris 1: Baris 1:
  +
<includeonly>
<infobox>
 
  +
<infobox layout="tabular" theme="gta-with-subtitle">
<title source="title1">
 
<default>{{PAGENAME}}</default>
+
<data><label>Type</label><default>CHARACTER</default></data>
  +
<title source="name"><default>{{PAGENAME}}</default></title>
</title>
 
<image source="image1">
+
<image source="image"><caption source="caption"/></image>
  +
<data source="games"><label>Appearance(s)</label></data>
<caption source="caption1"/>
 
  +
<data source="name"><label>Full name</label></data>
</image>
 
<data source="tampil_di">
+
<data source="aka"><label>Also known as</label></data>
<label>Tampil di</label>
+
<data source="status"><label>Status</label></data>
  +
<data><label>Gender</label><default>{{#if: {{#ifeq: {{{gender|}}}|M|M}}|Male|{{#if: {{#ifeq: {{{gender|}}}|F|F}}|Female|{{#if: {{#ifeq: {{{gender|}}}|PC|PC}}|Player's Choice}}|}}
</data>
 
  +
}}</default></data>
<data source="nama">
 
<label>Nama</label>
+
<data source="height"><label>Height</label></data>
  +
<data source="dob"><label>Date of birth</label></data>
</data>
 
  +
<data source="pob"><label>Place of birth</label></data>
</infobox>
 
  +
<data source="dod"><label>Date of death</label></data>
  +
<data source="home"><label>Home</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="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="voice"><label>Voiced by</label></data>
  +
<data source="motion capture"><label>Motion Capture by</label></data>
 
</infobox></includeonly>
  +
 
<noinclude>
 
<noinclude>
  +
{{infobox character|
Example usage:<pre>
 
{{Infobox karakter
 
|title1=Example
 
|image1=Example
 
|caption1=Example
 
|tampil_di=Example
 
|nama=Example
 
 
}}
 
}}
  +
The following code produces the fake infobox shown on the right:
</pre>
+
<pre>
</noinclude>
 
 
{{Infobox character
  +
|name =
  +
|image =
  +
|caption =
  +
|games =
  +
|name =
  +
|aka =
  +
|status =
  +
|gender =
  +
|height =
  +
|dob =
  +
|pob =
  +
|dod =
  +
|home =
  +
|nationality =
  +
|family =
  +
|affiliations =
  +
|vehicles =
  +
|weapons =
  +
|businesses =
  +
|voice =
  +
{{rbox|...}}
  +
|motion capture =
  +
}}</pre>
  +
[[Category:Infoboxes]]
  +
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revisi per 5 Maret 2017 02.49


Templat:Infobox character The following code produces the fake infobox shown on the right:

{{Infobox character
|name           =
|image          =
|caption        =
|games          =
|name           =
|aka            =
|status         =
|gender         =
|height         =
|dob            =
|pob            =
|dod            =
|home           =
|nationality    =
|family         =
|affiliations   =
|vehicles       =
|weapons        =
|businesses     =
|voice          =
{{rbox|...}}
|motion capture =
}}
Community content is available under CC-BY-SA unless otherwise noted.