Difference between revisions of "Templates"

From IMSMA Wiki
Jump to: navigation, search
(Maintenance templates)
(Maintenance templates)
Line 17: Line 17:
 
* [[Template:Protection]]: This template should only be used on pages after they have been protected by an administrator, and may be removed when the protection has expired.
 
* [[Template:Protection]]: This template should only be used on pages after they have been protected by an administrator, and may be removed when the protection has expired.
 
* [[Template:Cleanup]]: This template should be placed at the top of any page requiring a cleanup.
 
* [[Template:Cleanup]]: This template should be placed at the top of any page requiring a cleanup.
* [[Template:Move]]
+
* [[Template:Move]]: This template tags pages that should be moved to another pages.
 
* [[Template:Outdated]]: This template can be used to mark pages or sections with old or out-of-date information.
 
* [[Template:Outdated]]: This template can be used to mark pages or sections with old or out-of-date information.
 
* [[Template:Rewrite]]: This template should be used on pages which need so much cleanup that completely rewriting them may be necessary to comply with IMSMA guidelines on style and content.
 
* [[Template:Rewrite]]: This template should be used on pages which need so much cleanup that completely rewriting them may be necessary to comply with IMSMA guidelines on style and content.

Revision as of 13:40, 9 September 2013

Templates are used to give standard messages on Pages. Templates are called using these brackets {{template name}}. There are many purposes for using templates. They can be to convey or format messages to the reader of the Page, they can be used to facilitate navigation, or they can be used to convey messages or to flag pages to the editors.

Informative templates

Notes

Every page that is linked to a note should use the Note template. Editors can add it in the corresponding place of the page using the following command: {{Note | Text should be placed here}}

Note.jpg Text should be placed here

Warnings

Every page that is linked to a warning should use the Warning template. Users can add it in the corresponding place of the page using the following command: {{Warning| Text should be placed here}}

Warning.jpg Text should be placed here

Maintenance templates

  • Template:Protection: This template should only be used on pages after they have been protected by an administrator, and may be removed when the protection has expired.
  • Template:Cleanup: This template should be placed at the top of any page requiring a cleanup.
  • Template:Move: This template tags pages that should be moved to another pages.
  • Template:Outdated: This template can be used to mark pages or sections with old or out-of-date information.
  • Template:Rewrite: This template should be used on pages which need so much cleanup that completely rewriting them may be necessary to comply with IMSMA guidelines on style and content.
  • Template:Grammar: This template tags a page if there are grammar errors and should be added at the top of the page.
  • Template:Wikify:
  • Template:Spelling: This should be used in pages where a sentence may be vague, ambiguous, or unspecific.

Formatting templates

IMSMANG

Every page that uses the word IMSMANG should use the IMSMANG template. Editors can add it in the corresponding place of the page using the following command: {{IMSMANG}}

TOC

Per default the Table of Contents (TOC) on a page are placed to the left of the Page. If the editor prefers the TOC to the right, the TOC template is used. Editors can add it in the corresponding place of the page using the following command: {{TOC right}}

Navigation templates

On IMSMA Wiki, a navbox is a template that lists at least several pages that are related. The relationship between all the pages in a single navbox is such that the reader of the current page will be readily referred to other related material with a single link. The goal is to have a navbox in every page (bottom).