Difference between revisions of "Template:Cm/doc"
Jump to navigation
Jump to search
imported>Ahecht ({{subst only|auto=yes}}) |
imported>Geekdiva (Replaced so that the rendered result would match the behavior of the template when substituted: ==November 2009== → =={{CURRENTMONTHNAME}} {{CURRENTYEAR}}==) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
{{subst only|auto=yes}} | {{subst only|auto=yes}} | ||
| − | + | __NOTOC__ | |
| − | + | ==Usage== | |
| + | {{Template messages}} | ||
| + | [[Wikipedia:Substitution|Substituting]] this template creates a [[Wikipedia:HEADINGS|second-level section heading]] containing only the current month and year on a [[Wikipedia:User talk pages|user talk page]] (the first-level heading being the title of the entire page). You can use that heading to create a section of an editor's user talk page to consolidate [[Wikipedia:Warnings|warnings]] dated the current month. This helps create clarity in the page's structure and table of contents, especially when the talk page has multiple warnings spanning several months and little other content. | ||
| − | + | ==Example of heading created== | |
| + | Note that to be accurate, the rendered, example heading below is on the same level as the actual heading just above. | ||
| + | Using {{tld|subst:cm}} produces a second-level heading with the current month and the current year: | ||
| − | == | + | =={{CURRENTMONTHNAME}} {{CURRENTYEAR}}== |
| + | ==See also== | ||
| + | * [[Wikipedia:WikiProject User warnings]] | ||
| + | * [[Wikipedia:Template messages/User talk namespace]] | ||
| + | |||
| + | {{Wikipedia technical help|state=collapsed}} | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | + | [[Category:Substituted templates]] | |
| + | [[Category:Talk namespace templates]] | ||
| + | [[Category:Warning templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 06:32, 10 August 2018
| This is a documentation subpage for Template:Cm. It contains usage information, categories and other content that is not part of the original template page. |
| This template should always be substituted (i.e., use {{subst:Cm}}). Any accidental transclusions will be automatically substituted by a bot. |
Usage
Template:Template messages Substituting this template creates a second-level section heading containing only the current month and year on a user talk page (the first-level heading being the title of the entire page). You can use that heading to create a section of an editor's user talk page to consolidate warnings dated the current month. This helps create clarity in the page's structure and table of contents, especially when the talk page has multiple warnings spanning several months and little other content.
Example of heading created
Note that to be accurate, the rendered, example heading below is on the same level as the actual heading just above.
Using {{subst:cm}} produces a second-level heading with the current month and the current year: