Difference between revisions of "Template:Day/history"
From Gunsopedia
m (→Usage) |
|||
Line 27: | Line 27: | ||
* '''month''' — exactly what it says on the tin | * '''month''' — exactly what it says on the tin | ||
* '''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 7 is June 07. For 2-digit dates, leave blank. | * '''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 7 is June 07. For 2-digit dates, leave blank. | ||
− | * '''content''' — the events of the day in unordered list format | + | * '''content''' — the events of the day in unordered list format: |
− | + | <pre> | |
− | + | * '''[[year]]''' — <event> | |
+ | </pre> | ||
[[category:front page templates]] | [[category:front page templates]] |
Revision as of 14:01, 22 April 2013
A template intended to standardize compiling historical data for individual dates.
[[[{{{date}}}|more]]] What else happened today
|
---|
Nothing, apparently. Maybe you know [[{{{date}}}/history|something that happened]] today...? |
[[category:{{{month}}}]]
Usage
This template should only be used in a page with a <date>/history title in the MAIN namespace. Add the following code to the page:
{{day/history |date= |month= |sort= |content= }}
- Parameters
- date — the full date; eg. June 7
- month — exactly what it says on the tin
- sort — 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 7 is June 07. For 2-digit dates, leave blank.
- content — the events of the day in unordered list format:
* '''[[year]]''' — <event>