Template:Years: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Daniel Mietchen
(further testing)
imported>Caesar Schinas
m (disambig)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexist: {{{1}}}|{{Yhlp|{{{1}}}}}|{{Yhlp|{{{basepagename}}}}}
<includeonly>{{disambig|text=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>

Latest revision as of 05:41, 23 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 Years that are of general interest.
Custom year
{{years|1984}}
This is a list of historical events for the year 1984 that are of general interest.