3,860
edits
(Updated the info.) |
(→3) |
||
Line 43: | Line 43: | ||
* The use of interwiki links means, in this case, that the output link will point to the English Wikipedia server, and then be redirected from there to the language server you have specified. If, for example, the template is instructed to produce a link to the article ''Article'' in French Wikipedia, it will produce the link "{{code|<nowiki>https://en.wikipedia.org/wiki/fr:Article</nowiki>}}", but when you click it, you will go to the address "{{code|<nowiki>https://fr.wikipedia.org/wiki/Article</nowiki>}}". | * The use of interwiki links means, in this case, that the output link will point to the English Wikipedia server, and then be redirected from there to the language server you have specified. If, for example, the template is instructed to produce a link to the article ''Article'' in French Wikipedia, it will produce the link "{{code|<nowiki>https://en.wikipedia.org/wiki/fr:Article</nowiki>}}", but when you click it, you will go to the address "{{code|<nowiki>https://fr.wikipedia.org/wiki/Article</nowiki>}}". | ||
* To produce a link to the main page for a specific language, you skip the first two parameters. Leave them empty by typing three pipes in a row, following the syntax {{tlc|wp|{{small|(empty)}}{{!}}{{small|(empty)}}{{!}}3}}. The template will output the link with the link text "{{samp|Wikipedia (lang. code)}}". | * To produce a link to the main page for a specific language, you skip the first two parameters. Leave them empty by typing three pipes in a row, following the syntax {{tlc|wp|{{small|(empty)}}{{!}}{{small|(empty)}}{{!}}3}}. The template will output the link with the link text "{{samp|Wikipedia (lang. code)}}". | ||
:Example: to create a link to the main page for French Wikipedia, you type {{tlc|wp| | :Example: to create a link to the main page for French Wikipedia, you type {{tlc|wp|{{!}}{{!}}fr}}. The result will be a link with the link text "{{samp|Wikipedia (fr)}}". | ||
;<big>Usage</big> | ;<big>Usage</big> |
edits