NovaRoma:Templates
From NovaRoma
(Difference between revisions)
(start new help on templates) |
(→Date Templates: expand section on dates) |
||
Line 12: | Line 12: | ||
==Date Templates== | ==Date Templates== | ||
+ | |||
+ | Templates convert recent years to Roman-style dating: | ||
+ | |||
+ | :<nowiki>{{2004}}</nowiki> gives {{2004}}. | ||
+ | |||
+ | Templates convert dates in month-day format into Roman dates: | ||
+ | |||
+ | :<nowiki>{{Jan 1}}</nowiki> gives {{Jan 1}}. | ||
+ | |||
+ | Months use three letter abbreviations '''without a period''': Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec | ||
+ | |||
+ | Days are not padded with leading zeroes. | ||
+ | |||
+ | |||
+ | ==Templates for Laws== | ||
+ | |||
+ | |||
+ | |||
+ | ==Other Templates== |
Revision as of 09:11, 14 August 2006
Contents |
Template basics
- Templates let us put things onto pages automatically.
- Templates are added by putting the template's name in {{double braces}}.
- One advantage of using templates is that a change to a template will change that template on every page that uses the template.
- Example: If you type
{{ArticleStub}}
then the "boilerplate" for stub articles will be included in the article, like this:
This article is a stub. Can you help by expanding it?
Date Templates
Templates convert recent years to Roman-style dating:
Templates convert dates in month-day format into Roman dates:
- {{Jan 1}} gives Kal. Ian. ‡.
Months use three letter abbreviations without a period: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Days are not padded with leading zeroes.