Template:Interlanguage link Wikidata/doc: Difference between revisions

Content deleted Content added
Usage: shrotcut
 
(6 intermediate revisions by 5 users not shown)
Line 1:
#REDIRECT [[Template:Interlanguage link/doc]]
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
== Shortcut ==
 
The shortcut {{tl|Ill-WD }} is available.
 
== Usage ==
 
This template is for use in cases where you wish to link to multiple other languages, and it would be inconvenient to list them all. For instance, if the English Wikipedia has no article on [[redlink]], but 6 other Wikipedias do, it's rather cumbersome to list all 6—{{ill2|redlink|de||es||fr||he||pt||ru||sv}}—, and there are all sorts of potential problems with picking and choosing which languages to list. This template, therefore, allows you to link to [[WP:Wikidata|Wikidata]], where readers can choose from several languages.
 
This template takes three unnamed parameters:
# The linked article here
# The Wikidata item
# (Optional) Display text for the linked article here
 
So, for instance, {{tlx|ill-WD|Redlink (2013 film)|Q1|<nowiki>''Redlink''</nowiki>}} generates {{ill-WD|Redlink (2013 film)|Q1|''Redlink''}}.
 
Like {{tl|ill}}, if the redlinked article turns blue, the second half disappears. So {{tlx|ill-WD|redlink|Q1}} returns {{ill-WD|redlink|Q1}}, but {{tlx|ill-WD|red|Q1}} returns {{ill-WD|red|Q1}}.
 
== See also ==
 
{{Interlanguage link template list}}
 
<includeonly>
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Internal link templates]]
[[Category:Interwiki link templates]]
[[Category:Wikidata]]
</includeonly>