Difference between revisions of "Template:W"

From ChoralWiki
Jump to navigation Jump to search
(nowrap)
m
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:Non-English Wikipedia links|{{{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:{{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:
+
===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
+
===Categorization===
The page is categorized according to the language of the Wikipedia article: {{CiteCat|English Wikipedia links}} or {{CiteCat|Non-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
+
===See also===
 
*[[Template:WikipediaLink]]
 
*[[Template:WikipediaLink]]
 
}}
 
}}
 
[[Category:External link templates]]</noinclude>
 
[[Category:External link templates]]</noinclude>

Revision as of 00:58, 27 November 2020


Documentation

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:

counterpointLink to the English Wikipedia article

Examples

{{W|William Smith (composer)|William Smith}}

which produces:

William SmithLink to the English Wikipedia article

{{W|Franz Xaver Engelhart|lang=de‎‎}}

which produces:

Franz Xaver EngelhartLink to the German Wikipedia article


Categorization

The page is categorized according to the language of the Wikipedia article: English Wikipedia links, French Wikipedia links etc.


See also