Difference between revisions of "Template:Interlanguage link Wikidata/doc"

From blackwiki
Jump to navigation Jump to search
imported>-- -- --
(→‎Usage: changed red to universe – correct wikidata item)
imported>Jc86035
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Interlanguage link/doc]]
<!-- 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|universe|Q1}} returns {{ill-WD|universe|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>
 

Latest revision as of 05:04, 27 May 2017