Template:W: Difference between revisions
Jump to navigation
Jump to search
Documentation
(nowrap) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{lang|}}}<!-- | <includeonly>{{#if:{{{lang|}}}<!-- | ||
-->|[[wikipedia:{{{lang}}}:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]<span style="white-space: nowrap;">{{spc|2}}<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the {{LangName|{{{lang}}}}} Wikipedia article]]</sup></span>{{#ifeq:{{NAMESPACE}}|Template||[[Category: | -->|[[wikipedia:{{{lang}}}:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]<span style="white-space: nowrap;">{{spc|2}}<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the {{LangName|{{{lang}}}}} Wikipedia article]]</sup></span>{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{LangName|{{{lang}}}}} Wikipedia links|{{{lang}}}]]}}<!-- | ||
-->|[[wikipedia:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]<span style="white-space: nowrap;">{{spc|2}}<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the English Wikipedia article]]</sup></span>{{#ifeq:{{NAMESPACE}}|Template||[[Category:English Wikipedia links]]}}<!-- | -->|[[wikipedia:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]<span style="white-space: nowrap;">{{spc|2}}<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the English Wikipedia article]]</sup></span>{{#ifeq:{{NAMESPACE}}|Template||[[Category:English Wikipedia links]]}}<!-- | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
Line 6: | Line 6: | ||
This template is used to create an '''inline link''' to the corresponding Wikipedia article for that subject. | This template is used to create an '''inline link''' to the corresponding Wikipedia article for that subject. | ||
===Syntax=== | |||
{{tl|W|counterpoint}} | {{tl|W|counterpoint}} or {{tl|w|counterpoint}} | ||
:which produces: | :which produces: | ||
{{W|counterpoint}} | {{W|counterpoint}} | ||
===Examples=== | |||
{{tl|W|William Smith (composer)|William Smith}} | {{tl|W|William Smith (composer)|William Smith}} | ||
:which produces: | :which produces: | ||
Line 20: | Line 21: | ||
===Categorization=== | |||
The page is categorized according to the language of the Wikipedia article: {{CiteCat|English Wikipedia links}} | The page is categorized according to the language of the Wikipedia article: {{CiteCat|English Wikipedia links}}, {{CiteCat|French Wikipedia links}} etc. | ||
===See also=== | |||
*[[Template:WikipediaLink]] | *[[Template:WikipediaLink]] | ||
}} | }} | ||
[[Category:External link templates]]</noinclude> | [[Category:External link templates]]</noinclude> |
Revision as of 00:58, 27 November 2020
This template is used to create an inline link to the corresponding Wikipedia article for that subject.
Syntax
{{W|counterpoint}} or {{w|counterpoint}}
- which produces:
Examples
{{W|William Smith (composer)|William Smith}}
- which produces:
{{W|Franz Xaver Engelhart|lang=de}}
- which produces:
Categorization
The page is categorized according to the language of the Wikipedia article: English Wikipedia links, French Wikipedia links etc.