Template:W: Difference between revisions

From Soma-notes
Slyons (talk | contribs)
m 1 revision
 
(No difference)

Latest revision as of 05:21, 8 March 2011

[[:w:{{{1}}}|{{#if: |{{{2}}}|{{{1}}}}}]]



This is used to help create interwiki links to Wikipedia.

  • The default prefix default is simply w: however the language can be specified in the third parameter.

Usage

{{w|Page name}} → {{safesubst:#if: |{{{2}}}|Page name}}

{{w|Page name|Display name}} → {{safesubst:#if: Display name |Display name|Page name}}

{{w|Page name|Display name|de}} → {{safesubst:#if: Display name |Display name|Page name}}