Template:Year: Difference between revisions

From Sourcebook Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>[[:Category:{{{1}}} {{{2|FI}}}|{{{1}}}]] [[{{{2|FI}}}]][[Category:{{{1}}} {{{2|FI}}}]]</includeonly>")
 
(examples)
 
Line 1: Line 1:
<includeonly>[[:Category:{{{1}}} {{{2|FI}}}|{{{1}}}]] [[{{{2|FI}}}]][[Category:{{{1}}} {{{2|FI}}}]]</includeonly>
<includeonly>[[:Category:{{{1}}} {{{2|FI}}}|{{{1}}}]] [[{{{2|FI}}}]][[Category:{{{1}}} {{{2|FI}}}]]</includeonly><noinclude>
This template mentions a year and auto-categorizes the page to include that year (e.g. [[:Category:1401 FI]]).
 
==Example==
 
<pre><nowiki>{{year|1401}}</nowiki></pre>
 
Or you can include the era, too (defaults to FI):
 
<pre><nowiki>{{year|1401|FI}}</nowiki></pre>
 
</noinclude>

Latest revision as of 00:01, 23 February 2011

This template mentions a year and auto-categorizes the page to include that year (e.g. Category:1401 FI).

Example

{{year|1401}}

Or you can include the era, too (defaults to FI):

{{year|1401|FI}}