P.MysteryUniverse Wiki:Templates

There are many templates in use in ; this is an overview, representing some of the most important and commonly used ones.
 * Category:Templates should cover all templates in the wiki, categorized into the various subcategories.
 * The Template namespace (found from Special:Allpages) always has all templates in the wiki, sorted alphanumerically.

What are Templates?
A template on a wiki is pre-made code or text; a means to insert the same content over and over in pages. Templates are inserted in a page by putting " " somewhere (e.g.  ). This saves editors the hassle of duplicating the same text again and again, and also helps ensure consistency. To go to the page of a template, as well as search for or make one, you must put "Template:" before the name, as that is their namespace.

The user can pass parameters to a template, to alter or add more information. A parameter is defined by text after a horizontal bar (|), after the template name (e.g. ). They can be required for the template to function, or be optional.

Detailed instructions on the usage of a template should exist on a subpage of it named "/doc" with documentation on the template's page (preferred); or sometimes on the template page itself (inside "noinclude" tags). Although not required, a template can also have TemplateData on its documentation subpage. It helps visual editor users, or can just serve as secondary documentation.

For more information on templates, see w:Help:Templates.

Common Templates
This is a list of frequently used or useful templates so editors can get familiar with why and how to use them. More information will always be found on the page of the template itself. Clicking the template name will take you to the template's page, where you can see how it is used.

Article Management Templates
See Category:Article management templates. Templates that display a notice about the status of a page to the reader.

!Template !Description
 * Add this at the beginning of an article or section to denote that something needs to be clarified or confirmed. It will be added to Category:Clarification needed
 * Add this at the beginning of an article or section when the info is there, but needs to be tidied to be more in line with our stylistic guidelines. It will be added to Category:Article cleanup.
 * Add this at the beginning of a page (article, file or otherwise) to request its deletion. It will be added to Category:Candidates for deletion.
 * Add this at the beginning of an article or section when it is missing only a small part of information. It will be added to Category:Missing information. See also: Needmoreinfo.
 * Add at the beginning of an article or section that only needs an image or images in particular. It will be added to Category:Images needed.
 * Add this at the beginning of an article that little or no useful information and is thus considered a stub. It will be added to Category:Article stubs.
 * When there's articles that have similar or identical names, create a "disambiguation" page using the main article name. For example:
 * Mt. Moon
 * Mt. Moon (PMU 6)
 * Mt. Moon (PMU 7)
 * Add this at the beginning of an article or section when it is missing only a small part of information. It will be added to Category:Missing information. See also: Needmoreinfo.
 * Add at the beginning of an article or section that only needs an image or images in particular. It will be added to Category:Images needed.
 * Add this at the beginning of an article that little or no useful information and is thus considered a stub. It will be added to Category:Article stubs.
 * When there's articles that have similar or identical names, create a "disambiguation" page using the main article name. For example:
 * Mt. Moon
 * Mt. Moon (PMU 6)
 * Mt. Moon (PMU 7)
 * Add this at the beginning of an article that little or no useful information and is thus considered a stub. It will be added to Category:Article stubs.
 * When there's articles that have similar or identical names, create a "disambiguation" page using the main article name. For example:
 * Mt. Moon
 * Mt. Moon (PMU 6)
 * Mt. Moon (PMU 7)
 * Mt. Moon (PMU 6)
 * Mt. Moon (PMU 7)

Use disambig marks the article as a disambiguation and page adds it to Category:Disambiguations. Add links to the various articles under the banner. For more information, see w:Help:Disambiguation.
 * }

General Wiki Templates
See Category:General wiki templates. These are general-purpose templates that can be used all around the wiki.

!Template !Description
 * This template allows you to show example template code (with a link to the template) without using the template itself. It is used extensively on this page.
 * Gives an id to content so that it can be linked to, similarly to a header. For example, P.MysteryUniverse Wiki:Templates will link to this row. It is used extensively on this page.
 * A template meant to collapse long lists in particular.
 * Colors text.
 * rowspan=3|These templates are used to replace the code . It clears space below things like images and tables, so the following stuff doesn't begin until the bottom of it. clrl and clrr clear only left and right floats.
 * Similar to, use at the top of article to link other articles that may be or are related.
 * Used to easily create a basic infobox when one other than the pre-made ones is needed.
 * Use at the beginning of a section to link to the main article on it.
 * Consider it a lite version of ; can be used directly in areas something is missing when its so minor it doesn't warrant using Missinginfo.
 * rowspan=4|These templates are used to link to pages on other wikis:, , , and.
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * rowspan=3|These templates are used to replace the code . It clears space below things like images and tables, so the following stuff doesn't begin until the bottom of it. clrl and clrr clear only left and right floats.
 * Similar to, use at the top of article to link other articles that may be or are related.
 * Used to easily create a basic infobox when one other than the pre-made ones is needed.
 * Use at the beginning of a section to link to the main article on it.
 * Consider it a lite version of ; can be used directly in areas something is missing when its so minor it doesn't warrant using Missinginfo.
 * rowspan=4|These templates are used to link to pages on other wikis:, , , and.
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * Used to easily create a basic infobox when one other than the pre-made ones is needed.
 * Use at the beginning of a section to link to the main article on it.
 * Consider it a lite version of ; can be used directly in areas something is missing when its so minor it doesn't warrant using Missinginfo.
 * rowspan=4|These templates are used to link to pages on other wikis:, , , and.
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * Consider it a lite version of ; can be used directly in areas something is missing when its so minor it doesn't warrant using Missinginfo.
 * rowspan=4|These templates are used to link to pages on other wikis:, , , and.
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * Used to color tables or elements that cannot use the  class with colors from our color schemes.
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * rowspan=2|These templates display text when the content in the template is hovered over. Wdstt is almost always preferred as it can contain wixitext (i.e. formatting such as links) and works on mobile when tapped.
 * }
 * }
 * }

In-game Content
Templates that are exclusively used for reasons related to the game.

!Template !Description
 * Displays an image for Ability pages.
 * Standardizes the display of dialogue of bosses on dungeon pages.
 * Displays a sprite of a control or key that can be used in-game.
 * Used to display the contents of a sign in the game.
 * Displays a chat command.
 * Displays a list of items.
 * Displays text or an image with a tooltip to display information. Mainly used on dungeon pages, item pages, Recruitable Pokémon and Pokémon Obtaining Guide.
 * Links to a status condition's section on its respective status condition page.
 * Used to show dialogue choices.
 * Used to show repeating dialogue.
 * }
 * Used to display the contents of a sign in the game.
 * Displays a chat command.
 * Displays a list of items.
 * Displays text or an image with a tooltip to display information. Mainly used on dungeon pages, item pages, Recruitable Pokémon and Pokémon Obtaining Guide.
 * Links to a status condition's section on its respective status condition page.
 * Used to show dialogue choices.
 * Used to show repeating dialogue.
 * }
 * Displays text or an image with a tooltip to display information. Mainly used on dungeon pages, item pages, Recruitable Pokémon and Pokémon Obtaining Guide.
 * Links to a status condition's section on its respective status condition page.
 * Used to show dialogue choices.
 * Used to show repeating dialogue.
 * }
 * Used to show dialogue choices.
 * Used to show repeating dialogue.
 * }
 * Used to show repeating dialogue.
 * }
 * Used to show repeating dialogue.
 * }

Table Templates
There are several templates to help create tables for common information.

!Template !Description
 * Puts a table start for standalone data tables.
 * Item/t
 * rowspan=2|Item info on item pages.
 * DunPokemon/t
 * rowspan=2|Pokémon spawns on dungeon pages.
 * DunItem/t
 * rowspan=2|Item spawns on dungeon pages.
 * DunEgg/t
 * rowspan=2|Mystery Egg spawns on dungeon pages.
 * Shop/t
 * rowspan=2|Items in shopss
 * DunTrap/t
 * rowspan=2|Traps on dungeon pages.
 * NPCHeader
 * Table header for dialogue.
 * }
 * DunEgg/t
 * rowspan=2|Mystery Egg spawns on dungeon pages.
 * Shop/t
 * rowspan=2|Items in shopss
 * DunTrap/t
 * rowspan=2|Traps on dungeon pages.
 * NPCHeader
 * Table header for dialogue.
 * }
 * rowspan=2|Items in shopss
 * DunTrap/t
 * rowspan=2|Traps on dungeon pages.
 * NPCHeader
 * Table header for dialogue.
 * }
 * NPCHeader
 * Table header for dialogue.
 * }
 * NPCHeader
 * Table header for dialogue.
 * }

Navboxes
See Category:Navboxes.

!Template !Description
 * This navbox goes at the end of item articles.
 * This navbox goes at the end of move articles.
 * rowspan=4|These navboxes go at the end of a dungeon in the specified region.
 * }
 * This navbox goes at the end of move articles.
 * rowspan=4|These navboxes go at the end of a dungeon in the specified region.
 * }
 * rowspan=4|These navboxes go at the end of a dungeon in the specified region.
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }