Difference between revisions of "Template:Stub"

39 bytes added ,  21:25, 10 October 2020
Only add stub template if in the main article namespace
(Remove whitespace as it's being parsed into empty paragraphs.)
(Only add stub template if in the main article namespace)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
: ''This {{{subject|}}} {{#if: {{{section|}}} | section | article }} {{{qualifier|}}} is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} out by <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} contributing your knowledge]</span>.''<includeonly>{{#if: {{{category|}}} | [[Category:{{{category}}}]] | [[Category:Stubs]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
: ''This {{{subject|}}} {{#if: {{{section|}}} | section | article }} {{{qualifier|}}} is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} out by <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} contributing your knowledge]</span>.''<includeonly>{{#ifeq: {{NAMESPACE}} | {{ns:}} | {{#if: {{{category|}}} | [[Category:{{{category}}}]] | [[Category:Stubs]]}} }}</includeonly><noinclude>
 +
{{Documentation}}</noinclude>