Template:US states2/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Usage

[edit]

The same as Template:States of the United States, but in this template you can initialize several suffixes and prefixes: if the pair suffix-prefix does not suit, the pair suffix2-prefix2 will be tried and so on up to 5.

DC and Insular areas appear only when you write |territories=1

All parameters from prefix to prefix5 and from suffix to suffix5 must be filled.

Examples

[edit]

States only

[edit]

Link to each state's subcategory of Category:State police of the United States.

{{US states2 |prefix=:Category: |prefix2=:Category: |prefix3=:Category: |prefix4=:Category: |prefix5=:Category: |suffix=State Police |suffix2=Highway Patrol |suffix3=State Patrol |suffix4=State Troopers |suffix5=State Highway Patrol }}

Include DC and Insular areas

[edit]
{{US states2 |territories=yes |prefix=:Category: |prefix2=:Category: |prefix3=:Category: |prefix4=:Category: |prefix5=:Category: |suffix=State Police |suffix2=Highway Patrol |suffix3=State Patrol |suffix4=State Troopers |suffix5=State Highway Patrol }}

Comparison with Template:States of the United States

[edit]
{{States of the United States |all=yes |prefix=:Category: |suffix=State Police }}

See also

[edit]