Wikipedia:Find templates
This essay contains the advice or opinions of one or more Wikipedia contributors. Essays may represent widespread norms or minority viewpoints. Consider these views with discretion. It is not a Wikipedia policy. |
The following lists ways of hunting or finding templates of Wikipedia markup-language (or markup macros)[1] by searching for related words. Also note that the word "template" has another connotation, mainly used by Wikipedia system admins, as a verb to refer to issuing a canned message to users, based on putting templates on user talk-pages.
In general, any template of the form {{xyzz}} is stored under page name "Template:Xyzz".
Using wiki-search |
---|
The introduction to templates is: Help:Template.
Search by related words or phrases
[edit]English Wikipedia has an extensive word-search index of all templates, to allow a wiki-search, similar to googling (as with Google Search, Yahoo! Search, Bing.com, Dogpile.com, etc.). For example, to search for the word "string" within any templates (or template names):
- Search templates for "string" - matches string handling, stringed instruments, string theory, etc.
After an initial search, then the search word(s) can be changed to re-run the search, with different words.
Groups of related templates
[edit]- String handling: {{Strlen quick}}, {{Strfind short}}, {{Strloc insert}}, or see full list: {{String-handling templates}}
- Flags: {{Flag}}, {{Flagicon}}, {{Flags of Europe}} (articles), or list index of names (more than 130): prefixindex "flag...".
- Word formatting: {{nowrap}}, {{Word-stub}}, or list of names with prefixindex "word...".
- Information-box templates (infoboxes): {{infobox}}, {{Infobox settlement}}, {{Infobox musician}}, {{Infobox musician awards}}, or list names of prefixindex "infobox..." (over 10,100 templates).
- Navigation templates (navboxes): {{navbox}}, {{Year nav}} (for each year article), {{Navbox musical artist}}, or names with prefixindex "navbox...".
- Mapping templates: {{Location map}}, {{Location map many}}, or names with prefixindex "map..." or with prefixindex "location...".
- Color templates (colour/hue): {{color}}, {{grey}}, {{Color box}} (see: Web colors), or names with prefixindex "color..." (20 templates).
- WP:Disambiguation templates: {{disambig}}, {{hndis|name=Last, First}}, {{geodis}}, {{roaddis}}, {{schooldis}}
Lists and categories
[edit]- Wikipedia:Template index — curated lists of most used templates
- Wikipedia:List of infoboxes
- Category:Wikipedia templates — root category for all templates used on English Wikipedia
See also
[edit]- Help:Template - introduction to templates
- Help:Calculation - introduction to calculations using function #expr
- WP:Advanced template coding - advanced techniques of writing markup
- Help:Magic - list of magic-word functions for markup
- WP:Parser function - list of general MediaWiki parser functions
- WP:Icons - some lists linking hundreds of icon-symbol images
Notes
[edit]- ^ For many decades, the term "macro" has been used to denote a group of formatting directives, used to control computerized typesetting. However, Wikipedia has used the word "template" instead of "macro" for that purpose.
- [ This essay is just a quick draft, to be expanded later. ]