Templat:Kotak info tokoh: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tag: halaman dengan galat skrip
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(61 revisi perantara oleh 5 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; -->
 
| above = <!-- <div style="opacity:40%; z-index:1;overflow:hidden;position:absolute;">[[File:{{{aboveimage|Lambang biografi sederhana - pemegang jabatan}}}.svg|link=|right|40px]]</div> --> {{Br separated entries
| above = {{Br separated entries
| 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</span>}}
| 2 = <span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
| 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 62 ⟶ 64:
| class21 = nickname
 
| label23 = Warga negaraKewarganegaraan
| data23 = {{{citizenship|}}}
| class23 = category
Baris 163 ⟶ 165:
| data54 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}
 
| label55 = <span class="nowrap">Pasangan serumah</span>
| data55 = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}
 
Baris 170 ⟶ 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:{{Kotak info tokoh/Cegah LTA|parents={{{parents|}}} }}|True|
|{{#if:{{{parents|}}}|{{main other|[[kategori:Kotak info tokoh dengan parameter orang tua]]}}{{{parents}}}|}}}}
}} }}
{{Unbulleted list|
{{#switch:{{#invoke:String|sub|s={{{parents}}}|i=1|j=1}}
|{{=}}|-|–|—|.|,|&|+|±|?|!|:|;|_|~|<|>|×|•|%|‰|℅|}|‽|¿=
|{{#switch:{{#invoke:String|sub|s={{{father}}}|i=2|j=2}}
|'=
|{{#ifeq:{{Kotak info tokoh/Cegah LTA|parents={{{father|}}} }}|True|
|{{#if:{{{father|}}}|{{main other|[[kategori:Kotak info tokoh dengan parameter orang tua]]}}{{{father}}} (bapak)|}}}}
}} }}
{{#switch:{{#invoke:String|sub|s={{{mother}}}|i=1|j=1}}
|{{=}}|-|–|—|.|,|&|+|±|?|!|:|;|_|~|<|>|×|•|%|‰|℅|}|‽|¿=
|{{#switch:{{#invoke:String|sub|s={{{mother}}}|i=2|j=2}}
|'=
|{{#ifeq:{{Kotak info tokoh/Cegah LTA|parents={{{mother|}}} }}|True|
|{{#if:{{{mother|}}}|{{main other|[[kategori:Kotak info tokoh dengan parameter orang tua]]}}{{{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 198 ⟶ 227:
 
| label71 = Agama
| data71 = {{{religion|}}}-->
 
| label72 = Etnis
| data72 = {{{ethnicity|}}}-->
 
| header73 = {{#if:{{{signature|}}}|Tanda tangan}}
| 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>}}
{{#if:{{{child|}}}||{{Templat:Xarxes}}}}
|header78= <!--<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 225 ⟶ 269:
-->{{#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}}