NovaRoma:Templates

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(link to help files index)
(Other Templates: add to list)
Line 45: Line 45:
 
==Templates for Laws==
 
==Templates for Laws==
  
 +
 +
 +
==Macellum templates==
  
  
 
==Other Templates==
 
==Other Templates==
 +
 +
These templates generally add a banner and place the article in a category
 +
 +
* '''[[Template:ArticleStub|ArticleStub]]''' for articles that need expansion.
 +
* '''"Translation" templates''' for articles that need translation from scratch.
 +
** [[Template:Translate-LA|Translate-LA]] Latin
 +
** [[Template:Translate-DE|Translate-DE]] German
 +
** [[Template:Translate-ES|Translate-ES]] Spanish
 +
** [[Template:Translate-FR|Translate-FR]] French
 +
** [[Template:Translate-IT|Translate-IT]] Italian
 +
** [[Template:Translate-PT|Translate-PT]] Portuguese
 +
* '''"Cleanup" templates''' for articles that need translation cleanup.
 +
** [[Template:Cleanup-LA|Cleanup-LA]] Latin
 +
** [[Template:Cleanup-DE|Cleanup-DE]] German
 +
** [[Template:Cleanup-ES|Cleanup-ES]] Spanish
 +
** [[Template:Cleanup-FR|Cleanup-FR]] French
 +
** [[Template:Cleanup-IT|Cleanup-IT]] Italian
 +
** [[Template:Cleanup-PT|Cleanup-PT]] Portuguese

Revision as of 13:40, 15 August 2006

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}}

Date Templates

Templates convert recent years to Roman-style dating:

{{2004}} gives Cn. Salvio Cn. Equitio cos. MMDCCLVII a.u.c..

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.


Templates for Laws

Macellum templates

Other Templates

These templates generally add a banner and place the article in a category

Personal tools