Template:PlaceCategory/doc View history

(Created page with "{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> Created a display button to mimic the places categories as displayed in WME. == Use == Place {{tlx|PlaceCategor...")
 
(Doc adjustment)
 
Line 1: Line 1:
{{doc subpage}}
{{doc subpage}}
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
Created a display button to mimic the [[places]] categories as displayed in WME.
Creates a display button to mimic the [[places]] categories as displayed in WME.


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


== Parameters ==
== Parameters ==


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



Latest revision as of 00:24, 25 August 2022

This is a documentation subpage for Template:PlaceCategory.
It contains usage information, categories and other content that is not part of the original template page.

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

Use

Place {{PlaceCategory|Category Name}} to produce Category Name.

Parameters

  • This template requires only the category name to display which can be simply typed as an 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

Stringoptional
The category namecategory

can be used instead of the unnamed parameter

Stringsuggested
additional stylesstyle

Uses CSS style codes

Unknownoptional