Template:State Simple Or Legend
Jump to navigation
Jump to search
This documentation is transcluded from Template:State Simple Or Legend/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
This template can be used to ease the creation of simple state templates. As such, it is a kind of meta template.
See the templates referring to it for a better explanation.
In short, you call it like
{{State Simple Or Legend|{{{1|}}}|{{{1|XYZ}}}|Bike|<legend parameters>}}
so parameters are
- 1 and 2 = the wanted state
- 1: replaced by empty string
- 2: unreplaced or placed with something else
- 3 = the state name
- 4 = the text to be put into the image; defaults to 3
- ext = the extension, defaults to .svg
Legend parameters are
- template = <Template to be inserted>. See how this is done in {{State Hiking}}
- text = <Text to be inserted>
- maybe one day: autogenerate = yes or something.
The template shouldn't use "us"; rather it should call {{State Simple}} directly in order to avoid a Template Loop.
See also
- {{State}}
- {{State Generic}}
- {{State Bike}}
- {{State Foot}}
- {{State Hiking}}
- {{State Horse}}
- {{State OSeaM}}
- {{State Packstation}}
- {{State Place}}, {{State Place CA}}, {{State Place Omit}}, {{State Place Omit DE}}
- {{State POI}}, {{State POI Omit}}
- {{State Route}}
- {{State Ski}}
- {{State Street}}, {{State Street Omit}}
- {{State Transport}}, {{State Transport Omit}}, {{State Transport Omit CA}}
- {{State Water Mini DE}}
- {{State Waterway}}
- {{Map status}}, {{Template:DE:Map status}}, {{Mapstatus}}
- {{Transport status}}
- {{Template:DE:State Farberklärung}}
and all other things from Category:Map status.