Templat:Wikidata property link/doc: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Hidayatsrf (bicara | kontrib) Tidak ada ringkasan suntingan |
|||
Baris 3: | Baris 3: | ||
{{Template shortcut|Property|wpl|WPL|wdp|WDP|wdpl}} |
{{Template shortcut|Property|wpl|WPL|wdp|WDP|wdpl}} |
||
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' |
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' [[Wikidata]]. |
||
== |
== == |
||
; Penggunaan standar |
|||
; Standard usage |
|||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|123}}</code> → {{{{BASEPAGENAME}}|123}} |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|123}}</code> → {{{{BASEPAGENAME}}|123}} |
||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|P123}}</code> → {{{{BASEPAGENAME}}|P123}} |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|P123}}</code> → {{{{BASEPAGENAME}}|P123}} |
||
Baris 26: | Baris 26: | ||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|P123|id=first}}</code> → {{{{BASEPAGENAME}}|P123|id=first}} |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|P123|id=first}}</code> → {{{{BASEPAGENAME}}|P123|id=first}} |
||
; Pintasan templat |
|||
; Template shortcuts |
|||
: <code><nowiki>{{</nowiki>property|123}}</code> → {{property|123}} |
: <code><nowiki>{{</nowiki>property|123}}</code> → {{property|123}} |
||
: <code><nowiki>{{</nowiki>property|P123}}</code> → {{property|P123}} |
: <code><nowiki>{{</nowiki>property|P123}}</code> → {{property|P123}} |
||
Baris 35: | Baris 35: | ||
: <code><nowiki>{{</nowiki>wdpl|123}}</code> → {{wdpl|123}} |
: <code><nowiki>{{</nowiki>wdpl|123}}</code> → {{wdpl|123}} |
||
== Templat dan modul yang didukung == |
|||
== Supporting template and module == |
|||
* [[Template:Label]] |
* [[Template:Label]] [[Module:Wikidata label]] |
||
== |
== == |
||
* [[Wikidata:Template:Property]] |
* [[Wikidata:Template:Property]] |
||
* [[Template:Wikidata property]] |
* [[Template:Wikidata property]] |
||
Baris 46: | Baris 46: | ||
<includeonly>{{sandbox other|| |
<includeonly>{{sandbox other|| |
||
<!-- Categories below this line; interwikis at Wikidata --> |
<!-- Categories below this line; interwikis at Wikidata --> |
||
[[Category: |
[[Category: ]] |
||
}}</includeonly> |
}}</includeonly> |
Revisi per 19 Juni 2024 09.51
Templat:Wikidata property link manampilkan pranala keproperti Wikidata.
Contoh penggunaan
- Penggunaan standar
{{Wikidata property link|123}}
→ penerbit (P123){{Wikidata property link|P123}}
→ penerbit (P123)
- Leading/trailing whitespace
{{Wikidata property link | 123 }}
→ penerbit (P123){{Wikidata property link | P123 }}
→ penerbit (P123)
- id = n(one)
{{Wikidata property link|123|id=n}}
→ penerbit{{Wikidata property link|P123|id=none}}
→ penerbit
- id = o(nly)
{{Wikidata property link|123|id=o}}
→ P123{{Wikidata property link|P123|id=only}}
→ P123
- id = f(irst)
{{Wikidata property link|123|id=f}}
→ P123: penerbit{{Wikidata property link|P123|id=first}}
→ P123: penerbit
- Pintasan templat
{{property|123}}
→ penerbit (P123){{property|P123}}
→ penerbit (P123){{wpl|123}}
→ penerbit (P123){{WPL|P123}}
→ penerbit (P123){{wdp|123}}
→ penerbit (P123){{WDP|P123}}
→ penerbit (P123){{wdpl|123}}
→ penerbit (P123)
Templat dan modul yang didukung
- Template:Label menggunakan Module:Wikidata label
Lihat pulq
- Wikidata:Template:Property
- Template:Wikidata property
- Template:Wikidata entity link
- Template:Wikidata URL