Difference between revisions of "Help:Templates"
(Someone was asking about how to use templates) |
m (changing template example to something without a category in it) |
||
Line 1: | Line 1: | ||
{{Stub}} | {{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>{{ | + | 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}} |
There are different types of templates: | There are different types of templates: | ||
Revision as of 21:57, 11 January 2016
This article or section needs to be expanded upon with more information. Please add to it if you have knowledge. For more information see UOGuide:Introduction. |
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:
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.
- Template:Item_Properties - Used to display an item and its properties
- Template:Creatures - Used for monsters and animals to display their statistics
- Template:Crafting Box - Used on crafted item pages