Template:Region icon: Difference between revisions
Jump to navigation
Jump to search
Ozycaevias (talk | contribs) (Created page with "<includeonly>{{Top icon | imagename = {{{Regionimage|}}} | wikilink = {{{Regionpage|}}} | description = This article belongs to the lore of {{{Region}}}. | id...") |
Ozycaevias (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
| description = This article belongs to the lore of {{{Region}}}. | | description = This article belongs to the lore of {{{Region}}}. | ||
| id = RegionIcon{{{Region}}} | | id = RegionIcon{{{Region}}} | ||
| maincat = {{{Regioncategory|{{{Region}}}}}} | | maincat = Category:{{{Regioncategory|{{{Region}}}}}} | ||
| nocat = {{{Nocat|no}}} | | nocat = {{{Nocat|no}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 00:05, 25 March 2019
This template is used to display a region icon on the top-right area of an article page.
Derivative templates should be named in the following format: Template:Region_icon_REGIONNAME For example, an icon template for the region Ajax would be called Template:Region_icon_Ajax
Usage
{{Region icon | Region = <!-- The name of the region. --> | Regionimage = <!-- The name of the region's logo/image for the icon. --> | Regionpage = <!-- The region's page that will be linked to when the icon is clicked on. --> | Regioncategory = <!-- The category to be used for the region's articles. Don't include the "Category:" namespace prefix. Default is the name of the region. --> | Nocat = <!-- Set to "yes" if you don't want the icon to automatically categorize pages. --> }}
Example
{{Region icon | Region = Ajax | Regionimage = Ajax_Logo.png | Regionpage = Ajax | Regioncategory = Ajax | Nocat = }}