Difference between revisions of "Template:Cm/doc"

From blackwiki
Jump to navigation Jump to search
imported>DB1729
m (Reverted 1 edit by 2606:A000:1219:1065:AD2E:E715:4E24:E580 (talk) to last revision by Andrybak (TW))
imported>Bsherr
m (replacing Template:Tld with Template:Tlsc, plus general and typo fixes as found)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{subst only|auto=yes}}
 
{{subst only|auto=yes}}
 
__NOTOC__
 
__NOTOC__
 +
 
==Usage==
 
==Usage==
 
{{Template messages}}  
 
{{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.  
+
[[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==
 
==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.  
 
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:
+
Using {{tlsc|cm}} produces a second-level heading with the current month and the current year:
  
 
=={{CURRENTMONTHNAME}} {{CURRENTYEAR}}==
 
=={{CURRENTMONTHNAME}} {{CURRENTYEAR}}==
Line 20: Line 21:
 
{{Wikipedia technical help|state=collapsed}}
 
{{Wikipedia technical help|state=collapsed}}
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Wikipedia substituted templates]]
 
[[Category:Wikipedia substituted templates]]
 
[[Category:Talk namespace templates]]
 
[[Category:Talk namespace templates]]
 
[[Category:User warning templates]]
 
[[Category:User warning templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:28, 9 August 2020


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 Template:Tlsc produces a second-level heading with the current month and the current year:

September 2025

See also