Difference between revisions of "Template:W"

From ChoralWiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{lang|}}}<!-- -->|14px|link=|Link to the {{LangName|{{{lang}}}}} Wikipedia article''':''' wikipedia:{{{lang}}}:{{{1}}}|{{{2|{...")
 
(changes to style)
Line 1: Line 1:
 
<includeonly>{{#if:{{{lang|}}}<!--
 
<includeonly>{{#if:{{{lang|}}}<!--
-->|[[File:Wikipedia's W.svg|14px|link=|Link to the {{LangName|{{{lang}}}}} Wikipedia article]]''':''' [[wikipedia:{{{lang}}}:{{{1}}}|{{{2|{{{1}}}}}}]]{{#ifeq:{{NAMESPACE}}|Template||[[Category:Non-English Wikipedia links|{{{lang}}}]]}}<!--
+
-->|[[wikipedia:{{{lang}}}:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]&nbsp;<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}}}]]}}<!--
-->|[[File:Wikipedia's W.svg|14px|link=|Link to the English Wikipedia article]]''':''' [[wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]{{#ifeq:{{NAMESPACE}}|Template||[[Category:English Wikipedia links]]}}<!--
+
-->|[[wikipedia:{{{1}}}|<span style="text-decoration: underline; text-decoration-style: dashed;">{{{2|{{{1}}}}}}</span>]]&nbsp;<sup>[[File:Wikipedia's W.svg|12px|link=|Link to the English Wikipedia article]]</sup>{{#ifeq:{{NAMESPACE}}|Template||[[Category:English Wikipedia links]]}}<!--
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
 
{{DisplayBox|title=Documentation|text=
 
{{DisplayBox|title=Documentation|text=

Revision as of 22:20, 30 May 2020


Documentation

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

Syntax

{{W|counterpoint}}

which produces:

counterpoint Link to the English Wikipedia article

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

which produces:

William Smith Link to the English Wikipedia article

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

which produces:

Franz Xaver Engelhart Link to the German Wikipedia article