NovaRoma:Templates
This is one of the Nova Roma wiki help files.
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.
Templates to add standard text
Templates can be used to add standard text to an article. The text can be formatted and images can be included.
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?
Templates to add an article to a category
If a template includes a category tag (example: [[Category:NovaRoma]]) then any article that contains that template will be included in the category.
Templates can have variables
Values can be passed to templates. The syntax is like this:
{{TemplateName | VariableName=Value}}
Dates
Years
Templates convert recent years to Roman-style dating. (List of available templates).
Roman Dates
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.
Market day
- {{marketday}} gives the current market day. It is now G.
Laws
Macellum
Temples
- Template:Virtualtemple for virtual temples to the Dii Consentes
- Template:Virtualtemple-d-i for virtual temples to the Dii Inferni
Tables
Tables of various kinds of information.
- Template:Table Pontifices Current Pontifices.
Article formatting
Putting information on pages in a uniform way.
- Template:CitizenBox Put a picture of a citizen in a box, with links to bio and Album Civium pages.
- Template:CitizenBoxNoPhoto Used when no photo is available. Slated for replacement.
Wiki maintenence
These templates generally add a banner and place the article in a category
- ArticleStub for articles that need expansion.
This article is a stub. Can you help by expanding it?
- "Translation" templates for articles that need translation from scratch.
- Translate-LA Latin
- Translate-DE German
- Translate-ES Spanish
- Translate-FR French
- Translate-IT Italian
- Translate-PT Portuguese
- "Cleanup" templates for articles that need translation cleanup.
- Cleanup-LA Latin
- Cleanup-DE German
- Cleanup-ES Spanish
- Cleanup-FR French
- Cleanup-IT Italian
- Cleanup-PT Portuguese