Difference between revisions of "Help:Templates"

(Someone was asking about how to use templates)
 
(adding help navbox)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Stub}}
+
Templates are special pages that are created to be inserted into other pages. For example all [[Monster]] pages use the <nowiki>{{Creatures}}</nowiki> template to neatly format statistics. To use a template simply surround its name with curly brackets. For example <nowiki>{{Event}}</nowiki> will display:
 
+
{{Event}}
Templates are special pages that are created to be inserted into other pages. For example all [[Monster]] pages use the <nowiki>{{Creatures}}</nowiki> template to neatly format statistics. To use a template simply surround its name with curly brackets. For example <nowiki>{{Dye Tubs}}</nowiki> will display:
+
{{Dye Tubs}}
+
 
There are different types of templates:
 
There are different types of templates:
  
Line 20: Line 18:
 
* [http://www.uoguide.com/index.php?title=Special%3APrefixIndex&prefix=&namespace=10 List of all templates on UOGuide]
 
* [http://www.uoguide.com/index.php?title=Special%3APrefixIndex&prefix=&namespace=10 List of all templates on UOGuide]
  
[[Category:Help]]
+
 
 +
{{Help}}

Latest revision as of 11:43, 12 January 2016

Templates are special pages that are created to be inserted into other pages. For example all Monster pages use the {{Creatures}} template to neatly format statistics. To use a template simply surround its name with curly brackets. For example {{Event}} will display:

Mini crystal ball.gif Hear Ye, Hear Ye! This article contains information about an ongoing event.
Content may change dramatically as the event unfolds.

There are different types of templates:

  • Infobox - A template such as {{Event}} which adds an information box to an article.
  • Formating - A template such as {{Creatures}} which is used to neatly format data in a standardized manor.
  • Navigation - A template such as {{Dye Tubs}} that adds an infobox of related pages.
  • Utility - A template such as {{clear}} which performs a function to alter the page or insert special code.

Most Used Templates

Here is a list of the most useful formatting templates on UOGuide.

See Also