Template:Template category: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
(Created page with "{{{onright|{{{rhs|}}}}}} {{Cmbox | type = notice | style = padding-bottom:0.5em; | image = 44px|Template braces|alt=|link= | text = <div style="wid...")
 
m (1 revision imported)
(One intermediate revision by the same user not shown)
Line 7: Line 7:


  Container-category message
  Container-category message
   -->{{ifaffirmed|1={{{container|}}}
   -->{{if affirmed|1={{{container|}}}
       |2=<div style="font-size:115%;padding:0.5em 0;"> '''''Note: Please do not add templates to this category; instead, use one of its subcategories.''''' </div>
       |2=<div style="font-size:115%;padding:0.5em 0;"> '''''Note: Please do not add templates to this category; instead, use one of its subcategories.''''' </div>
       }}<!--
       }}<!--
Line 23: Line 23:
     (then:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are meant to be <!--
     (then:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are meant to be <!--
                 -->{{#switch:{{lc:{{{type}}}}}
                 -->{{#switch:{{lc:{{{type}}}}}
                     | ambox = Article message box (ambox) templates
                     | ambox = [[Wikipedia:Manual of Style/Article message boxes|article message box (ambox)]] templates
                     | campaignbox = campaignbox templates
                     | campaignbox = [[Wikipedia:Manual of Style/Military history#Campaignboxes|campaignbox]] templates
                     | conversion = templates that perform conversions
                     | conversion = templates that perform [[Wikipedia:Manual of Style/Dates and numbers#Unit conversions|conversions]]
                     | external link = templates providing external links
                     | external link = templates providing [[Wikipedia:External links|external links]]
                     | formatting = templates that provide formatting
                     | formatting = templates that provide [[Wikipedia:Formatting|formatting]]
                     | function = function templates{{nobold|, i.e. templates that produce text, images or other elements}}
                     | function = function templates{{nobold|, i.e. templates that produce text, images or other elements}}
                     | infobox = infobox templates
                     | infobox = [[Help:Infobox|infobox]] templates
                 <!-- | message = message templates -->
                 <!-- | message = [[Wikipedia:Template messages|message]] templates -->
                     | meta = metatemplates
                     | meta = [[Help:Metatemplating|metatemplates]]
                     | navigation |navigational |navbox = navigation templates
                     | navigation |navigational |navbox = [[Wikipedia:Navigation template|navigation]] templates
                     | sidebar = sidebar templates
                     | sidebar = [[:Category:Sidebar templates|sidebar]] templates
                     | stub = stub templates
                     | stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates
                     | sub = subtemplates{{nobold|, i.e. templates used by another template or templates}}
                     | sub = [[Help:Template#Creating and editing templates|subtemplates]]{{nobold|, i.e. templates used by another template or templates}}
                     | timeline = timeline templates
                     | timeline = [[Wikipedia:Timeline|timeline]] templates
                     | userbox = userbox templates
                     | userbox = [[Wikipedia:Userboxes|userbox]] templates
                     | #default = {{{1|{{{description|}}}}}}
                     | #default = {{{1|{{{description|}}}}}}
                     | {{{type}}} templates
                     | {{{type}}} templates
                     }}. </div><!--
                     }}. </div><!--


     (else:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are templates. </div>
     (else:)-->| <div style="font-size:95%;font-weight:bold;"> The pages listed in this category are [[Help:Template|templates]]. </div>
                 <div style="font-size:95%;padding:0.15em 0;line-height:1.3em;"> This page is part of [[:Category:Administration|Chalo Chatu's administration]] and not part of the encyclopedia. </div> {{#if:{{{ALTTEXT|}}}|<hr/>{{{ALTTEXT}}}<hr/>}}
                 <div style="font-size:95%;padding:0.15em 0;line-height:1.3em;"> This page is part of [[:Category:Wikipedia administration|Wikipedia's administration]] and not part of the encyclopedia. </div> {{#if:{{{ALTTEXT|}}}|<hr/>{{{ALTTEXT}}}<hr/>}}
             }}
             }}
<!--
<!--
Line 50: Line 50:
               <div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further template category notes </div>
               <div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further template category notes </div>
               <div class="mw-collapsible-content">
               <div class="mw-collapsible-content">
                 <p> This category contains pages in the template namespace. It should not be used to categorize articles or pages in other namespaces. </p><!--
                 <p> This [[Help:Category|category]] contains pages in the [[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><!--


                 Help subsection
                 Help subsection
                 -->{{#if:{{{help|}}}{{{2|}}} <!--
                 -->{{#if:{{{help|}}}{{{2|}}} <!--
                 (then:)-->| {{ifdeclined|{{{help|}}} |{{#if:{{{2|}}}|<p>{{{2}}}</p>}} |<p>{{{help}}}{{{2|}}}</p>}}<!--
                 (then:)-->| {{if declined|{{{help|}}} |{{#if:{{{2|}}}|<p>{{{2}}}</p>}} |<p>{{{help}}}{{{2|}}}</p>}}<!--
                 (else:)-->| <p> To add a template to this category: </p>
                 (else:)-->| <p> To add a template to this category: </p>
                 {{Unbulleted list |list_style=padding-left:1.4em;
                 {{Unbulleted list |list_style=padding-left:1.4em;
                   | If the template has a separate documentation page (usually called "Template:''template name''/doc"), add
                   | If the template has a separate documentation page (usually called "Template:''template name''/doc"), add
                   | {{pad}}{{mono|&#91;&#91;{{FULLPAGENAME}}&#93;&#93;}}
                   | {{pad}}<kbd>&#91;&#91;{{FULLPAGENAME}}&#93;&#93;</kbd>
                   | to the <nowiki><includeonly></nowiki> section at the bottom of that page. Otherwise, add
                   | to the <nowiki><includeonly></nowiki> section at the bottom of that page. Otherwise, add
                   | {{pad}}{{mono|&lt;noinclude&gt;&#91;&#91;{{FULLPAGENAME}}&#93;&#93;&lt;/noinclude&gt;}}
                   | {{pad}}<kbd>&lt;noinclude&gt;&#91;&#91;{{FULLPAGENAME}}&#93;&#93;&lt;/noinclude&gt;</kbd>
                   | to the end of the template code, making sure it starts on the same line as the code's last character.
                   | to the end of the template code, making sure it starts on the same line as the code's last character.
                 }} }}
                 }} }}
Line 70: Line 70:
</div> <!--(end containing div)-->
</div> <!--(end containing div)-->
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}}
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}}
                 | {{{category|[[Category:Chalo Chatu template categories]]}}}
                 | {{{category|[[Category:Wikipedia template categories]]}}}
               }}</includeonly><noinclude>
               }}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 09:30, 7 October 2018

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[create]