Difference between revisions of "Template:Day"
From Gunsopedia
(→Usage) |
(→Usage) |
||
Line 36: | Line 36: | ||
|tomorrow= | |tomorrow= | ||
|month= | |month= | ||
− | |||
}} | }} | ||
<noinclude>{{DEFAULTSORT:}}</noinclude><noinclude> | <noinclude>{{DEFAULTSORT:}}</noinclude><noinclude> | ||
Line 44: | Line 43: | ||
* '''tomorrow''' — the next date. | * '''tomorrow''' — the next date. | ||
* '''month''' — the month. | * '''month''' — the month. | ||
− | * '''sort''' — the value to be given to the <nowiki>{{DEFAULTSORT:}}</nowiki> key. Only used to provide a leading zero to the first nine days of a month. Eg., June 4 is June 04. For 2-digit dates, leave blank. | + | * '''sort''' — '''[not currently used]''' the value to be given to the <nowiki>{{DEFAULTSORT:}}</nowiki> key. Only used to provide a leading zero to the first nine days of a month. Eg., June 4 is June 04. For 2-digit dates, leave blank. |
== Potential changes == | == Potential changes == |
Revision as of 12:35, 8 August 2013
This template is intended for use in standardizing all date pages. See GP:guidelines for more details. Because it is a high-use template, it is locked to all but admins. Sub-templates, for the article, gallery, etc. pages, are:
- Template:day/article
- Template:day/history
- Template:day/gallery
- Template:day/image
- Template:day/video
Current Appearance:
[[{{{yesterday}}}|<< Previous ({{{yesterday}}})]] | [[{{{tomorrow}}}|Next ({{{tomorrow}}}) >>]] |
Featured Article
On this day
Today in pictures
Featured Image
Featured Video
[[category:{{{month}}}| ]]
Usage
Insert the following code into the date page:
{{day |yesterday= |tomorrow= |month= }} <noinclude>{{DEFAULTSORT:}}</noinclude><noinclude>
- Parameters
- yesterday — the previous date.
- tomorrow — the next date.
- month — the month.
- sort — [not currently used] the value to be given to the {{DEFAULTSORT:}} key. Only used to provide a leading zero to the first nine days of a month. Eg., June 4 is June 04. For 2-digit dates, leave blank.
Potential changes
Possible featured media layout:
Featured Image | Featured Video |
---|---|
Day/image | Day/video |