Aroonn:Templates

From aroonn wiki
Jump to navigation Jump to search

Templates are a way to include content from one page, in another page. This can be used to:

  • reduce duplication
  • standardize presentation
  • leverage other peoples work

Using templates

Invoking a simple template

Templates are called by name, using double braces. For example, to call the template "Choose", do:

{{Choose}}

Invoking a template with arguments

Some templates take arguments, either by position, eg:

{{Choose|100}}

... or by name, eg:

{{NNTP|id=5mdpdv$t7b$1@goanna.cs.rmit.edu.au}}

For details on how to use a specific template, including its arguments, see its individual documentation. Template documentation is normally displayed when you visit the template page; or it can be viewed directly by visiting the templates /doc subpage.

Editing templates

Because templates are reused in so many places, incompetence and malice during editing can be significantly more devastating than with ordinary pages. It is strongly recommended that you (a) thoroughly test (on your user subpages), and (b) seek consensus before creating or modifying any templates.

Template documentation

Most templates have a documentation page. For Template:Foo, the documentation would conventionally reside at Template:Foo/doc, though there are a very few exceptions where a set of related templates share a documentation page.

For the convenience of all, the documentation is automagically transcluded onto the Template page when the template page is visited directly. An InfoBox explains this on affected pages; see Template:MT doc for more details.

List of template classes

Templates are classified according to function:

  • Maintenance templates are used by and for the wiki itself; these would not normally be used directly on content pages
  • Box drawing templates are used to provide boxes for content; any of these could be used directly by a content page
  • Standard box templates are used to present information about specific pages or conditions, eg to denote ToDo lysttes; any of these could (and should) be used directly by the appropriate type of content page
  • Presentation templates are used to present complex data structures such as colours and dates in standard ways; any of these could be used directly by a content page
  • Challenge templates are used to challenge dubious or disputed content; these should be used - sparingly - on content pages as needed
  • Maths templates are used to perform calculations and/or present results; some of these are intended for use on content pages, others are backroom boys who do their work behind the scenes

There is no "miscellaneous" class of templates; the template you are looking for will be classified according to its use and currently resides in one of the classes above. However, if you know the name of the template, you might prefer to look it up in an alphabetical list.


Aroonn wiki policy pages

Contact an administrator

To contact another user, you would normally edit that users talk page. It is possible to contact some users by email, though not every user permits this. To contact an administrator, first find an administrator on the user list then contact them in the normal way.

In a severe emergency only, you may email an oversighter here.

Pages in the Aroonn: namespace

All pages that begin with "Aroonn:" are said to be in the Aroonn namespace. Such pages define official Aroonn wiki policy, and may only be changed by an administrator.

List of pages in the Aroonn: namespace