Template:W

From Soma-notes

[[: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}}