Template:Years: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Caesar Schinas
(remove dependancy on Yhlp, add TlDoc)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{Yhlp|{{{1}}}}}|{{Yhlp|{{PAGENAME}}}}
<includeonly>''This is a list of historical events for the year {{{1|{{PAGENAME}}}} that are of general interest.''</includeonly><noinclude>{{TlDoc}}</noinclude>
}}</includeonly><noinclude>
{{newtemplate
|description=Creates a standard header on pages for individual years.
|execution=Place at the top of year pages; takes on optional standard argument (simply that year), allowing for disambiguation if needed.
|sample=See [[1984 (year)]].
|caveats=
|authors=[[User:Daniel Mietchen|Daniel Mietchen]]
}}</noinclude>

Revision as of 03:29, 17 May 2009

This documentation is transcluded from Template:Years/doc (edit | history)

This template creates a standard header on pages for individual years.

Usage

Place at the top of year pages; takes on optional standard argument (simply that year), allowing for disambiguation if needed.

Example

Standard header
{{years}}
This is a list of historical events for the year {Template:1 that are of general interest.
Custom year
{{years|1984}}
This is a list of historical events for the year {Template:1 that are of general interest.