Templat:Claim: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Hidayatsrf (bicara | kontrib) // Edit via Wikiplus |
Hidayatsrf (bicara | kontrib) // Edit via Wikiplus |
||
Baris 1: | Baris 1: | ||
<noinclude>{{documentation}}</noinclude><div style="border: 1px solid #C9C9C9;background-color: #F9F9F9;vertical-align:top;display: inline-block;"><includeonly><!-- |
|||
{{#invoke:Wikidata|claim|item={{{1|{{{item|}}}}}}|lang={{{lang|}}}|property={{{2|{{{property|}}}}}}|qualifier={{{3|{{{qualifier}}}}}}|qualifier2={{{4|{{{qualifier2|}}}}}}|qualifierx3={{{5|{{{qualifier3}}}}}}|formatting={{{formatting|}}}|tablesort={{{tablesort|}}}|sorting={{{sorting}}}|rowformat={{{rowformat|}}}|rowsubformat1={{{rowsubformat1|}}}|rowsubformat2={{{rowsubformat2|}}}|colformat0={{{colformat0|}}}|colformat1={{{colformat1|}}}|colformat2={{{colformat2|}}}|case0={{{case0|}}}|case1={{{case1|}}}|separator={{{separator|}}}|conjunction={{{conjunction|}}}|editicon={{{editicon|}}}|showerrors={{{showerror|}}}|default={{{default|}}}|references={{{references|}}} }}<noinclude>{{doc}}</noinclude> |
|||
-->{{#if:{{{rank|}}}|{{RankIcon|{{{rank|}}}}}}}<!-- |
|||
Subject |
|||
-->{{#if:{{{1|}}}<!-- |
|||
-->|{{Format|item|{{MatchRegex|{{{1}}}|[PQ]%d+|{{Q|{{{1}}}}}|{{{1}}}}} }}<!-- Si hi ha Qid, fer {{Q}}, sinó és un text}} |
|||
-->|'''<var>{{color|DarkGray|< {{langSwitch|ca=Subjecte|cs=subjekt|de=Subjekt|en=subject|en-ca=subject|en-gb=subject|eo=subjekto|es=sujeto|fr=sujet|hu=alany|it=Soggetto|ja=主題|mk=подмет|nl=onderwerp|pt=assunto|pt-br=assunto|ru=субъект|sv=subjekt|zh-hans=主题|zh-hant=主題}} >}}</var>''' <!-- |
|||
-->}} <!-- |
|||
Property |
|||
-->{{#if:{{{2|}}}<!-- |
|||
-->|{{format|property|{{MatchRegex|{{{2}}}|[PQ]%d+|{{P|{{{2}}}}}|{{{2}}}}} }}<!-- |
|||
-->|'''<var>{{color|DarkGray| {{GetLabelFix|Q18616576}} }}</var>'''<!-- |
|||
-->}} <!-- |
|||
Object |
|||
-->{{#if:{{{3|}}}<!-- |
|||
-->|{{Format|value|{{MatchRegex|{{{3}}}|[PQ]%d+|{{Q|{{{3}}}}}|{{{3}}}}} }}<!-- |
|||
|{{#ifeq:{{#invoke:Properties|Pdatatype|{{{2|}}}}}|wikibase-item |
|||
|{{Format|value|{{Q|{{{3}}}}}}} |
|||
|{{Format|value|{{{3|}}}}} |
|||
}}--><!-- |
|||
-->|'''<var>{{color|DarkGray|< <!-- |
|||
-->{{langSwitch<!-- |
|||
-->|ca=objecte o valor<!-- |
|||
-->|cs=objekt nebo hodnota<!-- |
|||
-->|de=Objekt oder Wert<!-- |
|||
-->|en=object or value<!-- |
|||
-->|en-ca=object or value<!-- |
|||
-->|en-gb=object or value<!-- |
|||
-->|eo=objketo aŭ valoro<!-- |
|||
-->|es=objeto o valor<!-- |
|||
-->|fr=objet ou valeur<!-- |
|||
-->|hu=tárgy vagy érték<!-- |
|||
-->|it=oggetto o valore<!-- |
|||
-->|ja=オブジェクトまたは値<!-- |
|||
-->|mk=предмет или вредност<!-- |
|||
-->|nl=object of waarde<!-- |
|||
-->|pt=objeto ou valor<!-- |
|||
-->|pt-br=objeto ou valor<!-- |
|||
-->|ru=объект или значение<!-- |
|||
-->|sv=objekt eller värde<!-- |
|||
-->|zh-hans=对象或值<!-- |
|||
-->|zh-hant=對象或值<!-- |
|||
-->}} >}}</var>'''<!-- |
|||
-->}}<!-- |
|||
-->{{#if:{{{4|}}}|<br/>{{Claim/qualifier|{{{4}}}|{{{5}}}}}}}<!-- |
|||
-->{{#if:{{{6|}}}|<br/>{{Claim/qualifier|{{{6}}}|{{{7}}}}}}}<!-- |
|||
-->{{#if:{{{8|}}}|<br/>{{Claim/qualifier|{{{8}}}|{{{9}}}}}}}<!-- |
|||
-->{{#if:{{{10|}}}|<br/>{{Claim/qualifier|{{{10}}}|{{{11}}}}}}}<!-- |
|||
-->{{#if:{{{12|}}}|<br/>{{Claim/qualifier|{{{12}}}|{{{13}}}}}}}<!-- |
|||
-->{{#if:{{{12|}}}|<br/>{{Claim/qualifier|{{{14}}}|{{{15}}}}}}}<!-- |
|||
-->{{#if:{{{12|}}}|<br/>{{Claim/qualifier|{{{16}}}|{{{17}}}}}}}<!-- |
|||
--></div></includeonly><noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"aliases": [ |
|||
"subject" |
|||
], |
|||
"description": "subject of the claim", |
|||
"type": "wiki-page-name", |
|||
"suggested": true |
|||
}, |
|||
"2": { |
|||
"aliases": [ |
|||
"property" |
|||
], |
|||
"label": "main property", |
|||
"description": "main property of the claim, either a Pid, a number id without P, or an english property label", |
|||
"example": "P17 or country" |
|||
}, |
|||
"3": { |
|||
"label": "main value" |
|||
}, |
|||
"4": { |
|||
"label": "qualifier 1" |
|||
}, |
|||
"5": { |
|||
"label": "qualifier 1 value" |
|||
}, |
|||
"6": { |
|||
"label": "qualifier 2" |
|||
}, |
|||
"7": { |
|||
"label": "qualifier 2 value" |
|||
}, |
|||
"8": { |
|||
"label": "qualifier 3" |
|||
}, |
|||
"9": { |
|||
"label": "qualifier 3 value" |
|||
}, |
|||
"10": { |
|||
"label": "qualifier 4" |
|||
}, |
|||
"11": { |
|||
"label": "qualifier 4 value" |
|||
}, |
|||
"12": { |
|||
"label": "qualifier 5" |
|||
}, |
|||
"13": { |
|||
"label": "qualifier 5 value" |
|||
}, |
|||
"14": { |
|||
"label": "qualifier 6" |
|||
}, |
|||
"15": { |
|||
"label": "qualifier 6 value" |
|||
}, |
|||
"16": { |
|||
"label": "qualifier 7" |
|||
}, |
|||
"17": { |
|||
"label": "qualifier 7 value" |
|||
}, |
|||
"rank": { |
|||
"label": "Rank", |
|||
"description": "rank of the statement (normal, preferred or deprecated)", |
|||
"type": "string", |
|||
"default": "normal", |
|||
"suggested": true |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
Revisi per 27 April 2020 08.00
Templat ini menggunakan Lua: |
Templat ini masih dalam tahap uji coba dan pengembangan. Penggunaan di ruang nama artikel harus selalu di cek dan diperiksa ulang. |
Sintaksis
{{Claim|Q42|P31|Q5}}
→{{Claim|42|31|5}}
→< 42 > 31 < 5 >
Tidak ada keterangan.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
1 | 1 subject | subject of the claim | Nama halaman | disarankan |
main property | 2 property | main property of the claim, either a Pid, a number id without P, or an english property label
| Tak dikenal | opsional |
main value | 3 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 1 | 4 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 1 value | 5 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 2 | 6 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 2 value | 7 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 3 | 8 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 3 value | 9 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 4 | 10 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 4 value | 11 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 5 | 12 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 5 value | 13 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 6 | 14 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 6 value | 15 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 7 | 16 | tidak ada keterangan | Tak dikenal | opsional |
qualifier 7 value | 17 | tidak ada keterangan | Tak dikenal | opsional |
Rank | rank | rank of the statement (normal, preferred or deprecated)
| Kata | disarankan |