Difference between revisions of "Template:PlaceCategory"

From Wazeopedia
m
m
Line 1: Line 1:
<includeonly>{{Button|{{{category|{{{1|Place category}}}}}}|bgcolor=#2D5769|padLR=.3em|padTB=0|style=font-weight:bold; color:white; {{{style|}}}}}</includeonly><noinclude>{{doc}}</noinclude>
+
<includeonly>{{Button|{{{category|{{{1|Place category}}}}}}|bgcolor=#2D5769|padLR=.3em|padTB=0|style=font-weight:bold; color:white; {{{style|}}}}}</includeonly><noinclude>{{doc}}</noinclude><!--

Revision as of 17:11, 5 July 2017

Documentation icon Template documentation[view] [edit] [history] [purge]

Created a display button to mimic the places categories as displayed in WME.

Use

Place {{PlaceCategory|Category Name}} in a wiki text to produce Category Name.

Parameters

  • This template requires only the category name to display which can be simply type in a unnamed parameter as shown above using |category name, or it can be entered using the |category=category name parameter.
  • The template will also accept a |style= parameter to add in CSS style codes.

See Also



Create an illustration mimicking the WME display of Places' categories

Template parameters

ParameterDescriptionTypeStatus
Category named1

this is an unnamed parameter instead of category name

Default
empty
Example
empty
Auto value
empty
Stringoptional
The category namecategory

can be used instead of the unnamed parameter

Default
empty
Example
empty
Auto value
empty
Stringsuggested
additional stylesstyle

Uses CSS style codes

Default
empty
Example
empty
Auto value
empty
Unknownoptional
The above documentation is transcluded from Template:PlaceCategory/doc.
Please add categories to the /doc subpage.
Subpages of this template.