Help:Templates: Difference between revisions
(New page: '''Templates''' are pages that allow for duplicating the same content across many pages. Templates can contain static information or allow for the inputting of variables (See [[Template:...) |
mNo edit summary |
||
Line 31: | Line 31: | ||
;Map Templates |
;Map Templates |
||
*<nowiki>{{Map Error|errors=errors here}}</nowiki> - Indicates map has errors. Puts the map in [[:Category:Map Errors]] |
*<nowiki>{{Map Error|errors=errors here}}</nowiki> - Indicates map has errors. Puts the map in [[:Category:Map Errors]] |
||
*[[Template:Map infobox]] - Provides basic information about each map, including shops, creatures, etc. |
|||
;Request Admin Templates |
;Request Admin Templates |
||
*<nowiki>{{DeletePage|reason}}</nowiki> - Tags article for deletion (with reason). An admin will view the article and delete it if warranted. |
*<nowiki>{{DeletePage|reason}}</nowiki> - Tags article for deletion (with reason). An admin will view the article and delete it if warranted. |
||
;Shop Templates |
|||
*[[:Category:Shop Templates]] - Currently used shop templates. [[:Category:Shops]] is currently being overhauled to use the newest templates. |
|||
;Spell Templates |
;Spell Templates |
Revision as of 09:17, 9 April 2007
Templates are pages that allow for duplicating the same content across many pages. Templates can contain static information or allow for the inputting of variables (See Template:Critter at a Glance for a fine example).
We will be creating a variety of templates to keep the look of Elanthipedia universal and polished.
Templates may be confusing for new users, but they make our larger projects easier to control in terms of appearance and efficiency.
All of templates are collected in Category:Templates. Each one will have details on how to use them and what articles they are appropriate for use on.
How to create/use templates
A template is inserted into a page with the use of brackets: { }. The template name is included within the brackets (see examples below). When you edit a page, you can see what templates the page uses in a list at the bottom of the editing page.
To read up on how to create templates, both basic and advanced, see: [1].
Common Templates
- Basic Templates
- {{stub}} - Indicates that the article is unfinished. Puts in Category:Stubs.
- {{wikify}} - Tags article for someone to apply wikicode to the page. Useful for those unsure about wikicode.
- Bestiary Templates
- Image Templates
- {{Ranik Map}} - Tag for Ranik Maps images. Puts in Category: Ranik Maps (Images)
- {{Simu Image}} - Tag for official Simutronics images. Puts in Category:Simutronics Images
- Map Templates
- {{Map Error|errors=errors here}} - Indicates map has errors. Puts the map in Category:Map Errors
- Template:Map infobox - Provides basic information about each map, including shops, creatures, etc.
- Request Admin Templates
- {{DeletePage|reason}} - Tags article for deletion (with reason). An admin will view the article and delete it if warranted.
- Shop Templates
- Category:Shop Templates - Currently used shop templates. Category:Shops is currently being overhauled to use the newest templates.
- Spell Templates