Difference between revisions of "Template:Caldate"

From Sourcebook Wiki
Jump to: navigation, search
(standard calendar date)
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{1}}} [[{{{2}}}]] [[{{{3}}}]] [[{{{4|FI}}}]]
+
<includeonly>{{{1}}} [[:Category:{{{2}}} {{{3}}} {{{4|FI}}}|{{{2}}}]] {{year|{{{3}}}|{{{4|FI}}}}}[[Category:{{{1}}} {{{2}}} {{{3}}} {{{4|FI}}}]][[Category:{{{2}}} {{{3}}} {{{4|FI}}}]]</includeonly><noinclude>
<includeonly>
+
==Overview==
[[Category:{{{1}}} {{{2}}} {{{3}}} {{{4}}}]]
+
This template mentions a date and auto-categorizes it by day (e.g. [[:Category:4 Verdant 1401 FI]]), month (e.g. [[:Category:Verdant 1401 FI]]), and year (e.g. [[:Category:1401 FI]]).
[[Category:{{{2}}} {{{3}}} {{{4|FI}}}]]
+
 
[[Category:{{{3}}} {{{4|FI}}}]]</includeonly>
+
==Example==
 +
 
 +
<pre><nowiki>{{caldate|12|Verdant|1401}}</nowiki></pre>
 +
 
 +
Or you can include the era, too (defaults to FI):
 +
 
 +
<pre><nowiki>{{caldate|12|Verdant|1401|FI}}</nowiki></pre>
 +
 
 +
</noinclude>

Latest revision as of 19:54, 22 February 2011

Overview

This template mentions a date and auto-categorizes it by day (e.g. Category:4 Verdant 1401 FI), month (e.g. Category:Verdant 1401 FI), and year (e.g. Category:1401 FI).

Example

{{caldate|12|Verdant|1401}}

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

{{caldate|12|Verdant|1401|FI}}