Template:PlaceByLocationByDecade/doc

Generic template for place by decade.

Usage

{{PlaceByLocationByDecade |1= |2= |3= |4= |type= |country= }}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Generic template for place by decade.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
place1 place

Name of the place this category is about

Linerequired
location2 location

Larger location (e.g. country or higher-order administrative division) the place is in

Linerequired
decade 13 decade1

First two digits of the decade

Numberrequired
decade 24 decade2

Second two digits of the decade; always two digits, i.e. 00 for the century’s first decade, not 0

Linerequired
countrycountry

Country this place is in

Lineoptional
location typetype

Type of the location, e.g. administrative division level

Lineoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

Localization

This template is not intended to be localized.

Examples

{{places by decade|Akasaka|1910
...
}}
[[Category:Asakusa by decade]]
[[Category:Tokyo in the 1910s]]
[[Category:Asakusa in the 20th century| 1910]]
{{places by decade|Akasaka|1900
...
}}
[[Category:Nagoya by decade]]
[[Category:Aichi prefecture in the 1900s]]
[[Category:Japan in the 1900s by city]]
[[Category:Nagoya in the 20th century| 1900]]
{{places by decade|Nagasaki prefecture|1900
...
}}
[[Category:Nagasaki prefecture by decade]]
[[Category:Japan in the 1900s by prefecture]]
[[Category:Nagasaki prefecture in the 20th century| 1900]]