Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Multilingual link/doc: Difference between revisions

Template page
m better formatting, and fix some typos
heavyuse notice, so that more people don'
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{Heavily used template}}
This template allows to create links to different language versions of same Wikipedia article, and only one link will be displayed.
This template allows to create links to different language versions of same Wikipedia article, and only one link will be displayed.
{{Intricate template}}
{{Intricate template}}
Line 198: Line 199:
The order of letters in the short values (<code>bc</code>, <code>bci</code>, <code>bi</code> and <code>ci</code>) can be any: <code>cb</code> is equal to <code>bc</code>, <code>ib</code> is equal to <code>bi</code>, et caetera. Any other value (<code>foo</code>, <code>none</code>, et caetera) is treated equally to <code>normal</code>: language name is displayed in normal letters. If you do not want to display language name, just do not use the parameter <code>langdesign</code>.
The order of letters in the short values (<code>bc</code>, <code>bci</code>, <code>bi</code> and <code>ci</code>) can be any: <code>cb</code> is equal to <code>bc</code>, <code>ib</code> is equal to <code>bi</code>, et caetera. Any other value (<code>foo</code>, <code>none</code>, et caetera) is treated equally to <code>normal</code>: language name is displayed in normal letters. If you do not want to display language name, just do not use the parameter <code>langdesign</code>.


By default, link is displayed in normal letters. This behaviour can be changed with the parameter <code>textdesign</code>. It accepts the same short values as the parameter <code>langdesign</code> (see the above table). The value <code>normal</code> or any other value is equal to non-using the parameter <code>textdesign</code>: link is displayed in normal letters.
By default, the link itself is displayed in normal letters. This behaviour can be changed with the parameter <code>textdesign</code>. It accepts the same short values as the parameter <code>langdesign</code> (see the above table). The value <code>normal</code> or any other value is equal to non-using the parameter <code>textdesign</code>: link is displayed in normal letters.


== Syntax helper ==
== Syntax helper ==
Line 214: Line 215:
}}</syntaxhighlight>
}}</syntaxhighlight>


and you just need to copy and past that wikitext. See the [[Template:Multilingual link/Syntax helper|''Syntax helper'']].<includeonly>
and you just need to copy and paste that wikitext. See the [[Template:Multilingual link/Syntax helper|''Syntax helper'']].<includeonly>


[[Category:Interwiki link templates]]
[[Category:Interwiki link templates]]
[[Category:User interface language dependent templates]]
[[Category:User interface language dependent templates]]
</includeonly>
</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.