Difference between revisions of "Template:LinkedLabel/doc"
Jump to navigation
Jump to search
imported>Uzume |
imported>Jonesey95 (moved error cases to testcases page) |
||
| Line 16: | Line 16: | ||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | q5 }}</code> → {{{{BASEPAGENAME}} | q5 }} | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | q5 }}</code> → {{{{BASEPAGENAME}} | q5 }} | ||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | p31 }}</code> → {{{{BASEPAGENAME}} | p31 }} | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | p31 }}</code> → {{{{BASEPAGENAME}} | p31 }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
== See also == | == See also == | ||
Latest revision as of 19:12, 1 February 2021
| 40px | This is a documentation subpage for Template:LinkedLabel. It contains usage information, categories and other content that is not part of the original template page. |
This template gets the linked label of a Wikidata item or property.
Usage examples
- Standard usage
{{LinkedLabel}}→ Template:Wikidata{{LinkedLabel|Q5}}→ Template:Wikidata{{LinkedLabel|P31}}→ Template:Wikidata
- Leading/trailing white space
{{LinkedLabel | Q5 }}→ Template:Wikidata{{LinkedLabel | P31 }}→ Template:Wikidata
- Lower case
{{LinkedLabel | q5 }}→ Template:Wikidata{{LinkedLabel | p31 }}→ Template:Wikidata
See also
{{Label}}{{Wikidata entity link}}{{Wikidata property link}}{{Wikidata}}