Difference between revisions of "Template:Cm/doc"

From blackwiki
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}}
=== Usage ===
+
__NOTOC__
This template creates a dated section heading with the current month and year. It is intended for use in templating an editor's user talk page, where the editor has multiple warnings spanning several months and little other content.  
+
==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.  
  
Using <nowiki>{{subst:cm}}</nowiki> produces:
+
==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:
  
==November 2009==
+
=={{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

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:

June 2026

See also