Template:R with Wikidata item: Difference between revisions

Content deleted Content added
no error message needed if the first parameter is used
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 5:
|from = a title associated with an item on Wikidata
|info = The Wikidata item associated with this page is {{Q|{{{1|}}}}}. {{#ifeq:{{SUBPAGENAME}}|sandbox||{{#if:{{{1|}}}||{{#if:{{#invoke:wd|label|raw}}|<!--wikidata is linked, no issue-->|{{font color|red|Error: no Wikidata item linked! Either link a Wikidata item or remove this template.}}<includeonly>[[Category:Unlinked Wikidata redirects]]</includeonly>}}}}}}
** Use this template only on [[WPProject:soft redirectRedirect|hard redirect]]s – for soft redirects use {{tl|Soft redirect with Wikidata item}}.
|all category=<!--for automatic namespace detection-->
}}<noinclude>