Templat:Kotak info tokoh: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(46 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 4:
{{!}}}|#default=<nowiki />
{{Infobox|child={{{child|}}}
| datastyle = padding-right:0em; padding-right:0em
| bodyclass = biography vcard
| bodystyle = <!-- box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.35); border-radius: 2px; -->
Baris 11 ⟶ 12:
| 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</span>}}
}}
| abovestyle = font-size:125%; {{{abovestyle|}}} <!--{{{abovestyle|font-size: 120%; {{linear-gradient|left|#dedede,#dedede}}}}} -->
| headerstyle = <!--{{{headerstyle|font-size: 100%;{{linear-gradient|left|#eee,#eee}}}}}
-->
 
| image = {{#ifeq:{{gambar daftar hitam|{{PAGENAME}}}}|ya|{{gambar daftar hitam/msg|{{PAGENAME}}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=<!--{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}-->|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
}}
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 
| label1 = Nama&nbsp;asal
| data1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
Baris 63 ⟶ 64:
| class21 = nickname
 
| label23 = Warga negaraKewarganegaraan
| data23 = {{{citizenship|}}}
| class23 = category
Baris 171 ⟶ 172:
 
| label57 = Orang tua
| data57 = {{#ifswitch:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#ifinvoke:{{{fatherString|}}}sub|s={{{fatherparents}}} (bapak)}}|{{#if:{{{motheri=1|}}}|{{{mother}}} (ibu)}}}}j=1}}
|{{=}}|-|–|—|.|,|&|+|±|?|!|:|;|_|~|<|>|×|•|%|‰|℅|}|‽|¿=
 
|{{#switch:{{#invoke:String|sub|s={{{parents}}}|i=2|j=2}}
|'=
|{{#ifeq:{{{parents|}}}|||{{#ifeq:{{{parents|}}}|
{{Templat:Kotak info tokoh/Cegah LTA|parents={{{parents|}}} }}|
|{{#if:{{{parents|}}}|{{main other|[[kategori:Kotak info tokoh dengan parameter orang tua]]}}{{{parents}}}|}}}}
}} }} }}
{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (bapak)}}|{{#if:{{{mother|}}}|{{{mother}}} (ibu)}}}}
| label58 = Kerabat
| data58 = {{#switch:{relations{#invoke:String|sub|s={{{relatives|}parents}}}|i=1|j=1}}
|{{=}}|-|–|—|.|,|&||+|±|÷|?|!|:|;|_|~|<|>|×|•|%|‰|℅|}|‽|¿=
|{{#switch:{{#invoke:String|sub|s={{{parents}}}|i=2|j=2}}
|'=
|{{{relations|{{{relatives|}}}}}}}}
}}
 
 
| label59 = Keluarga
Baris 207 ⟶ 221:
| data74 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
 
|data75= {{#if: {{{child|}}} ||[[Kategori:Artikel biografi dengan tabel penghargaan]] {{#if:{{#property:P166|from={{{item|}}} }}|
| header75 = {{#if:{{{footnotes|}}}|Catatan}}
{{Llista desplegable condicional
| data76 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">
|title=Daftar|{{#invoke:Wikidata |claim |formatting=table |case0=gender
|property=P166 |qualifier=P585 | qualifier2=P166/P2425
|rowformat=* $1 $0$2
|rowsubformat1=<small>($1)</small>
|rowsubformat2=[[berkas:$2|30px]]
|tablesort=1 |sorting=-1
}} |100|title= '''{{GetLabelFix|P166|lang={{{lang|}}} }}'''
|titlestyle = border-bottom:2px {{{color|gray}}};text-align:center;
|title2= '''{{GetLabelFix|P166|lang={{{lang|}}} }}'''
}} }}
}}
 
| header76 = {{#if:{{{footnotes|}}}</div>|Catatan}}
| header75data77 = {{#if:{{{footnotes|}}}|Catatan}}<div style="text-align: left;">
 
{{{footnotes}}}</div>}}
|header77= <span style="font-size: 95%; font-weight: bold;">[[Portal:Biografi|{{black|Portal biografi}}]] </span>
{{#if:{{{child|}}}||{{Templat:Xarxes}}}}
|header77header78= <!--<span style="font-size: 95%; font-weight: bold;">[[Portal:Biografi|{{black|Portal biografi}}]] </span> -->
}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank=y
| abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | home town | home_town | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | parents | partner | partner | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | residence | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | salary | signature | signature alt | signature_alt | signature_size | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | weight | weight_kg | weight_lb | weight_st | works | years active | years_active | yearsactive}}<!--{{#if:{{{religion|}}}|{{#invoke:RexxS|prevwarn|message=the religion parameter will be removed soon.}}}}
-->{{Main other|
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
Baris 227 ⟶ 255:
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
-->{{#if:{{{image|}}}|{{#if:{{#property:P18}}||[[Category:Pages to import images to Wikidata]]}}}}[[Category:Articles with hCards]]
}}
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly>
{{#ifeq:{{{parents|}}}|||{{#ifeq:{{{parents|}}}|
{{Templat:Kotak info tokoh/Cegah LTA|parents={{{parents|}}} }}|{{main other|[[kategori:Halaman yang disunting LTA tokoh]]}}{{main other|[[kategori:Kotak info tokoh dengan parameter orang tua]]}}
}} }}
{{#switch:{{#invoke:String|sub|s={{{parents}}}|i=1|j=1}}
|{{=}}|-|–|—|.|,|&||+|±|÷|?|!|:|;|_|~|<|>|×|•|%|‰|℅|}|‽|¿=[[kategori:Halaman yang disunting LTA tokoh]]
|{{#switch:{{#invoke:String|sub|s={{{parents}}}|i=2|j=2}}
|'=[[kategori:Halaman yang disunting LTA tokoh]]
}}}}
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly>
}}<noinclude>
{{Documentation}}