Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Today/doc"

From Paragon Wiki Archive
Jump to: navigation, search
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== <nowiki>{{subst:Today}}</nowiki> The above will transclude into today's date,...)
 
m (+Cat:Editors Tags Template)
 
Line 8: Line 8:
 
<includeonly><!--
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
</includeonly>
+
[[Category:Editors Tags Templates]]</includeonly>

Latest revision as of 02:12, 19 February 2010

This is a documentation subpage for Template:Today (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

{{subst:Today}}

The above will transclude into today's date, in YYYY-MM-DD format (which is handy for sorting). By using subst:, it will transclude into text that won't change. If you omit subst:, it will look like garbage: {{subst:LOCALYEAR}}-{{subst:LOCALMONTH}}-{{subst:LOCALDAY2}}.