Template:വി
ഉപയോഗം
- {{വി|വിക്കിപീഡിയ താളിന്റെ തലക്കെട്ട്}}
- {{വി|വിക്കിപീഡിയ താളിന്റെ തലക്കെട്ട്|ഇവിടെ കാണിക്കേണ്ടത്}}
This template is used to help create interwiki links without displaying the prefix, and without the need for repetition if the same page name is to display; understroke characters in the page name are replaced by space characters.
- The default template name is simply
W
which creates a link to the English Wikipedia.
- However any language code (>400 templates) instead of
ml
can be specified in the third parameter.
- However any language code (>400 templates) instead of
It is also possible to categorize using the (first or second) parameter.
Usage
The template takes no parameters.
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
{{Ud}} and other Interwiki link templates;
{{WA}} or {{وك}} links to ar:العربية
{{Wb}} links to bn:Wikipedia
{{Wc}} links to cs:Wikipedie
{{WC}} links to ca:Viquipèdia
{{Wd}} links to de:Wikipedia
{{Wda}} links to da:Wikipedia
{{We}} links to es:Wikipedia
{{Wet}} links to et:Vikipeedia
{{Weu}} links to eu:Wikipedia
{{WE}} links to eo:Wikipedia
{{Wf}} links to fr:Wikipédia
{{Wfa}} links to fa:ویکیپدیا
{{Wfi}} links to fi:Wikipedia
{{Wg}} links to gl:Wikipedia
{{Wh}} links to hu:Wikipédiá
{{Whe}} links to he:ויקיפדיה
{{Whi}} links to hi:विकिपीडिया
{{Wi}} links to it:Wikipedia
{{Wid}} links to id:Wikipedia
{{Wja}} or {{W日}} links to ja:ウィキペディア
{{Wka}} links to ka:ვიკიპედია
{{ವಿ}} links to kn:ವಿಕಿಪೀಡಿಯ
{{Wko}} or {{W말}} links to ko:위키백과
{{വി}} links to ml:വിക്കിപീഡിയ
{{Wlt}} links to lt:Vikipedija
{{Wlv}} links to lv:Vikipēdija
{{Wm}} links to mk:Википедија
{{Wn}} links to nl:Wikipedia
{{Wp}} links to pt:Wikipédia
{{WP}} links to pl:Wikipedia
{{Wr}} links to ru:Википедия
{{වි}} links to si:විකිපීඩියා
{{Wsk}} links to sk:Wikipédia
{{Wsl}} links to sl:Wikipedija
{{Wsr}} links to sr:Википедија
{{Wsu}} links to su:Wikipédia
{{Wsv}} links to sv:Wikipedia
{{Wth}} or {{ว}} links to th:วิกิพีเดีย
{{Wtr}} links to tr:Vikipedi
{{Wu}} links to uk:Вікіпедія
{{Wz}} links to zh:維基百科
The "W××" templates are shortcuts of the main template {{W}}, setting the language code with parameter 3: {{ W×× | link }} is just {{ W | link | 3 = ×× }}
the "W×" templates are abbreviated shortcuts for some very often used languages.
- More W× templates are elsewhere in use:
- {{Wso}} links to Wikisource
- {{Ws}} for a linkbox to Wikispecies, {{WS}} to WikispeciesCompact,
- {{Wt}} for the link to Wiktionary,
- {{Wa}} for Walloon language, {{Wo}} for Wolof language, and {{War}} and {{Wuu}}.
- but there are no other language codes starting with "w", so plenty of "W×" templates may be created.
Localization
This template is not intended to be localized.
Recommendation
For linking to a sister project, an internal link such as {{W||en.wikipedia}}) is preferred over an external one as e.g. [http://en.wikipedia.org en.wikipedia].
Category option
Very often one (or more) of the names linked with a W
-template are also used for categorizing. As a simplification, the W
-template can care for both: the page name or the display text of the Template:W can be also used for this categorizing, by just adding the parameter "+", "c" or "C".
- Modification of the "cat" parameter:
When it is not the correct category name, it can be modified:
- with "+=" a number of characters can be specified to strip on the left of the parameter,
- with "-=" to strip from the end of the parameter.
- To perform the "+" and/or "-" stripping a module is invoked. When no (+/-)-stripping is needed, use '+' instead of 'c' for less effort.
- With "h=" or "t=" text can be specified to prefix and/or trail the parameter.
Example: {{W|Toronto|+}} categorizes to Toronto;
{{W|Toronto|+|t=_in_art}} categorizes to Toronto in art
Examples
- All parameter combinations
Numbers at line beginning indicate parameter use (0=parameter without value)
- 020
{{W||Main Page}}
→ Main Page - 020
{{W||en:Main Page}}
→ en:Main Page
- 023
{{W||Ĉefpaĝo|eo}}
→ Ĉefpaĝo - 023
{{W||pt:Wikipedia|pt}}
→ pt:Wikipedia{{Wp}}: {{ Wp }} → pt:Wp
- 023
{{W||pt:Wp|pt}}
→ pt:Wp (preferred style of a link to a national mainpage) - 023
{{W||de:Wp|de}}
→ de:Wp{{Wd}}: {{ Wd }} → de:Wp
- 103
{{W|Page name||it}}
→ Page name{{Wi}}: {{ Wi }} → it:Wp
- 103
{{W|Page name||fr}}
→ Page name{{Wf}}: {{ Wf }} → fr:Wp
- 103
{{W|{{FULLPAGENAME}}|3=pl}}
→ Template:വി
- 120
{{W|Page name|Display name}}
→ Display name
- 123
{{W|Page name|Display name|nl}}
→ Display name{{Wn}}: {{ Wn }} → nl:Wp
- 123
{{W|Page name|Display name|hu}}
→ Display name{{Wh}}: {{ Wh }} → hu:Wp
- ↑ a b c It is recommended to use parameter #2 giving an explaining text, as shown in the “023” Main Page examples.
- Complex page name examples
[ subpage]
General Interwiki link
Template {{W}} - examples | short | Result | links to |
---|---|---|---|
{{w||en:WP}} | {{W}} | en:WP | en:Main page |
{{w|Braille#Lletres i nombres||ca)}} | Braille#Lletres i nombres | ca:article page | |
{{w|template:Commonscat||de}} | {{Wd|template:Commonscat}} | template:Commonscat | de:Vorlage:Commonscat |
{{w|category:Liste d'artistes||fr}} | {{Wf|category:Liste d'artistes}} | category:Liste d'artistes | fr:Catégorie:Liste d'artistes |
{{w|file:Coverkill.jpg||pt}} | {{Wp|file:Coverkill.jpg}} | file:Coverkill.jpg | pt:Ficheiro:Coverkill.jpg |
{{w|user:Feketetomi||hu}} | {{Wh|user:Feketetomi}} | user:Feketetomi | hu:Szerkesztő:Feketetomi |
{{w|talk:Merano#Rino Gaetano e Merano|3=it)}} | {{Wi|talk:Merano#Rino Gaetano e Merano)}} | talk:Merano#Rino Gaetano e Merano | it:Discussione:Merano |
{{w|Carnivora||wikispecies)}} | {{W|Carnivora||species)}} | Carnivora | Wikispecies:Carnivora |
In all Wikis, the English namespaces (e.g. file, user) work as well as the different national ones.
{{Multilingual link}}
creates a link to Wikipedia article in user's interface language.