NovaRoma:Templates

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(temples)
(Dates: spin off section)
Line 30: Line 30:
 
==Dates==
 
==Dates==
  
===Years===
+
See: [[NovaRoma:Dates|Help file on using date templates]]
 
+
Templates convert recent years to Roman-style dating. ([[Consular Years (Nova Roma)|List of available templates]]).
+
 
+
:<nowiki>{{2004}}</nowiki> gives {{2004}}.
+
 
+
===Roman Dates===
+
 
+
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.
+
 
+
===Market day===
+
 
+
:<nowiki>{{marketday}}</nowiki> gives the current market day. It is now {{marketday}}.
+
  
 
==Laws==
 
==Laws==

Revision as of 11:26, 24 November 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}}

Dates

See: Help file on using date templates

Laws

Macellum

Temples

Tables

Tables of various kinds of information.

Article formatting

Putting information on pages in a uniform way.

Wiki maintenence

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

This article is a stub. Can you help by expanding it?

  • "Translation" templates for articles that need translation from scratch.

Template:Translate-LA

Template:Cleanup-LA

Personal tools