Template:Template category: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Fix Linter errors when help= contains multiple paragraphs.)
(more)
Line 54: Line 54:
<div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further {{#ifeq:{{{type|}}}|module|module|template}} category notes </div>
<div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further {{#ifeq:{{{type|}}}|module|module|template}} category notes </div>
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<p> This [[Help:Category|category]] contains pages in the {{#ifeq:{{{type|}}}|module|[[Wikipedia:Module namespace|module namespace]]|[[Wikipedia:Template namespace|template namespace]]}}. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Help:Namespace|namespaces]]. </p><!--
<div> This [[Help:Category|category]] contains pages in the {{#ifeq:{{{type|}}}|module|[[Wikipedia:Module namespace|module namespace]]|[[Wikipedia:Template namespace|template namespace]]}}. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Help:Namespace|namespaces]]. </div><!--


Help subsection
Help subsection
-->{{#if:{{{help|}}}{{{2|}}} <!--
-->{{#if:{{{help|}}}{{{2|}}} <!--
(then:)-->| {{yesno|{{{help|}}} |no={{#if:{{{2|}}}|<div>{{{2}}}</div><br/>}} |yes=<div>{{{help}}}{{{2|}}}</div>|def=<p>{{{help}}}{{{2|}}}</p>}}<!--
(then:)-->| {{yesno|{{{help|}}} |no={{#if:{{{2|}}}|<div>{{{2}}}</div><br/>}} |yes=<div>{{{help}}}{{{2|}}}</div>|def=<div>{{{help}}}{{{2|}}}</div>}}<!--
(else:)-->| <p> To add a {{#ifeq:{{{type|}}}|module|module|template}} to this category: </p>
(else:)-->| <div> To add a {{#ifeq:{{{type|}}}|module|module|template}} to this category: </div>
{{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em;
{{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em;
| In the documentation page (usually named "Module:''Name''/doc"), add
| In the documentation page (usually named "Module:''Name''/doc"), add

Revision as of 18:27, 13 January 2020