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:W/doc: Difference between revisions

Template page
Fulfilling edit request by Rd232: documentation moved from the main page
 
m expansion
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


{{mld
{{TemplateBox
|en=This is used to help create interwiki links to Wikipedia.
|1=1
* The default prefix default is simply <tt>w:</tt> however the language can be specified in the third parameter.
|1d=page name; may also specify specific [sub]pages (e.g: user, category, talk, ...)<br><u>if empty</u>, a link to the main page is created
|eo=Ĉi tiu ŝablono faciligas kreon de intervikiaj ligiloj al Vikipedio.
|1def=
* La prefikso sen specifo estas simple <tt>w:</tt> (kio nuntempe signifas anglalingvan Vikipedion), tamen lingvo estas specifebla per la tria argumento.
|1stat=
|2=2
|2d=display text<br><u>if empty</u>, the value passed with parameter #1 is displayed
|2def=
|2stat=
|3=3
|3d=language code (ISO 639), or sisterproject prefix<br><u>if empty</u>, the link is created to the English Wikipedia
|3def=
|3stat=
|name=W
|desc={{en|1=This is used to help create interwiki links to Wikipedia.
* The default prefix is simply <tt>w:</tt> which creates a link to the English Wikipedia. However the language can be specified in the third parameter.}}
{{eo|1=Ĉi tiu ŝablono faciligas kreon de intervikiaj ligiloj al Vikipedio.
* La prefikso sen specifo estas simple <tt>w:</tt> (kio nuntempe signifas anglalingvan Vikipedion), tamen lingvo estas specifebla per la tria argumento.}}
|namespace=all
|usergroup=all
|placement=
|usage-notes=
|type=linkage
|example=
|i18n-method=
|i18n-desc=
|i18n-mediawiki-msg=
|seealso=
|setscats=
|lines=
|shorthand=
|relieson=
}}
}}
===={{LangSwitch|default={{int:Usage}}|eo=Kiel uzi|ru=Применение}}====
;All possible combinations:
000 <nowiki>{{</nowiki>Wpd}} → [[:w:]] <ref>It is recommended to give an explaining text with parameter #2, as shown in the other ''Main Page'' examples</ref>
003 <nowiki>{{</nowiki>W|||es}} → [[:es:]]<br>
003 <nowiki>{{</nowiki>W|||pt}} → [[:pt::]]


===={{LangSwitch|default={{int:Usage}}|eo=Kiel uzi|ru=Применение}}====
020 <nowiki>{{</nowiki>W||Main Page}} → {{w||Main Page}}<br>
<nowiki>{{</nowiki>w|Page name}} → {{w|Page name}}
020 <nowiki>{{</nowiki>W||en:Main Page}} → {{w||en:Main Page}}
 
023 <nowiki>{{</nowiki>W||Ĉefpaĝo|eo}} → {{w||Ĉefpaĝo|eo}}


<nowiki>{{</nowiki>w|Page name||en}} → {{w|Page name||en}}
100 <nowiki>{{</nowiki>W|Page name}} → {{w|Page name}}


<nowiki>{{</nowiki>w|Page name||de}} → {{w|Page name||de}}
103 <nowiki>{{</nowiki>W|Page name||it}} → {{w|Page name||it}}<br>
103 <nowiki>{{</nowiki>W|Page name||fr}} → {{w|Page name||fr}}


<nowiki>{{</nowiki>w|Page name|Display name}} → {{w|Page name|Display name}}
120 <nowiki>{{</nowiki>W|Page name|Display name}} → {{w|Page name|Display name}}


<nowiki>{{</nowiki>w|Page name|Display name|de}} → {{w|Page name|Display name|de}}
123 <nowiki>{{</nowiki>W|Page name|Display name|nl}} → {{w|Page name|Display name|nl}}<br>
123 <nowiki>{{</nowiki>W|Page name|Display name|hu}} → {{w|Page name|Display name|hu}}


----
<references/>
<includeonly>
<includeonly>
[[Category:Interwiki link templates|{{PAGENAME}}]]
[[Category:Interwiki link templates|{{PAGENAME}}]]
</includeonly>
</includeonly>

Revision as of 17:55, 27 February 2012

English: This is used to help create interwiki links to Wikipedia.
  • The default prefix is simply w: which creates a link to the English Wikipedia. However the language can be specified in the third parameter.

Template:Eo

Usage

{{W |1= |2= |3= }}

Template parameters

ParameterDescriptionDefaultStatus
1page name; may also specify specific [sub]pages (e.g: user, category, talk, ...)
if empty, a link to the main page is created
emptyoptional
2display text
if empty, the value passed with parameter #1 is displayed
emptyoptional
3language code (ISO 639), or sisterproject prefix
if empty, the link is created to the English Wikipedia
emptyoptional

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

⧼Usage⧽

All possible combinations

000 {{Wpd}} → w: [1]

003 {{W|||es}} → es:
003 {{W|||pt}} → pt::

020 {{W||Main Page}} → Main Page
020 {{W||en:Main Page}} → en:Main Page

023 {{W||Ĉefpaĝo|eo}} → Ĉefpaĝo

100 {{W|Page name}} → Page name

103 {{W|Page name||it}} → Page name
103 {{W|Page name||fr}} → Page name

120 {{W|Page name|Display name}} → Display name

123 {{W|Page name|Display name|nl}} → Display name
123 {{W|Page name|Display name|hu}} → Display name


  1. It is recommended to give an explaining text with parameter #2, as shown in the other Main Page examples
Cookies help us deliver our services. By using our services, you agree to our use of cookies.