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
(Two instances of template not replaced with module)
m (288 revisions imported from wikipedia:Template:Template_category)
 
(6 intermediate revisions by 3 users not shown)
Line 14:
-->{{#if:{{{topic|}}}{{{description|}}}
| <div style="background:#d5e4ed;line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!--
-->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.'''&nbsp;{{{1|}}}{{{description|}}}
| <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>
}} </div>
Line 31:
| conversion = templates that perform [[Wikipedia:Manual of Style/Dates and numbers#Unit conversions|conversions]]
| external link = templates providing [[Wikipedia:External links|external links]]
| formatting = templates that provide [[Wikipedia:FormattingManual of Style/Text formatting|formatting]]
| function = function templates{{nobold|, i.e. templates that produce text, images or other elements}}
| infobox = [[HelpWikipedia:InfoboxManual of Style/Infoboxes|infobox]] templates
<!-- | message = [[Wikipedia:Template messages|message]] templates -->
| module = [[Wikipedia:Lua|Lua modules]]
| meta = [[Help:Metatemplating|metatemplates]]
| navigation |navigational |navbox = [[Wikipedia:Navigation template|navigation]] templates
| sidebar = [[WP:Category:Sidebar templatesSIDEBAR|sidebar]] templates
| stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates
| sub = [[Help:Template#Creating and editing templates|subtemplates]]{{nobold|, i.e. templates used by another template or templates}}
Line 54:
<div style="border-bottom:1px solid #aaa;font-weight:bold;"> Further {{#ifeq:{{{type|}}}|module|module|template}} category notes </div>
<div class="mw-collapsible-content">
<pdiv> This [[Help:Category|category]] contains pages in the {{#ifeq:{{{type|}}}|module|[[Wikipedia:Module namespaceLua|module namespace]]|[[Wikipedia:Template namespace|template namespace]]}}. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[HelpWikipedia:Namespace|namespaces]]. </pdiv><br/><!--
 
Help subsection
-->{{#if:{{{help|}}}{{{2|}}} <!--
(then:)-->| {{yesno|{{{help|}}} |no={{#if:{{{2|}}}|<pdiv>{{{2}}}</pdiv><br/>}} |yes=<pdiv>{{{help}}}{{{2|}}}</pdiv><br/>|def=<pdiv>{{{help}}}{{{2|}}}</pdiv><br/>}}<!--
(else:)-->| <pdiv> To add a {{#ifeq:{{{type|}}}|module|module|template}} to this category: </pdiv>
{{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em;
| In the documentation page (usually named "Module:''Name''/doc"), add
Line 76:
--></div> <!--(end of "type" div)-->
 
</div> <!--(end containing div)-->
 
## Tracking categories
-->{{Category other|<!--
-->{{#if: {{{topic|}}}{{{description|}}}<!--
-->|<!-- # We have a topic/description, so all ok
-->|[[Category:Template:Template category with no topic or description]]<!--
-->}}<!--
-->}}
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}}
| {{{category|[[Category:Wikipedia template categories]]}}}

Latest revision as of 11:06, 22 June 2021