Difference between revisions of "Template:wikidata"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[https://www.wikidata.org/wiki/Q{{{1}}} {{{2}}}]</includeonly> | + | <includeonly>[https://www.wikidata.org/wiki/Q{{{1}}} {{{2|Q{{{1}}}}}}]</includeonly><noinclude> |
− | <noinclude> | + | |
− | Links to the specified wikidata ID. | + | Links to the specified wikidata ID. |
− | Ex: {{wikidata|2|Earth}} | + | |
+ | If a name is not specified, it defaults to the ID. | ||
+ | |||
+ | Ex: {{wikidata|2|Earth}} <nowiki>{{wikidata|2|Earth}}</nowiki> | ||
+ | |||
+ | Ex: {{wikidata|2}} <nowiki>{{wikidata|2}}</nowiki> | ||
+ | |||
Works flawlessly. I assure you. | Works flawlessly. I assure you. | ||
</noinclude> | </noinclude> |