Difference between revisions of "Template:W"

From ChoralWiki
Jump to navigation Jump to search
(nowrap)
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>]]{{spc|2}}<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the {{LangName|{{{lang}}}}} Wikipedia article]]</sup>{{#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:Non-English Wikipedia links|{{{lang}}}]]}}<!--
-->|[[wikipedia:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]{{spc|2}}<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the English Wikipedia article]]</sup>{{#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>
 
{{DisplayBox|title=Documentation|text=
 
{{DisplayBox|title=Documentation|text=

Revision as of 01:49, 2 June 2020


Documentation

This template is used to create an inline link to the corresponding Wikipedia article for that subject.

Syntax

{{W|counterpoint}}

which produces:

counterpointLink to the English Wikipedia article

{{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 or Non-English Wikipedia links


See also