Template:State Simple/File Entry/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:State Simple/File Entry. It contains usage information, categories and other content or metadata that is not part of the original template. |
Usage
Generate a reference to a state file, with some defaults:
Parameters:
- 1 = Level as it appears in the file name (no NA).
- 2 = State name (Foot, Bike, ...)
- 3 = Describing text (defaults to Parameter 1)
- 4 = Suffix to the text (preceded by a space if present; defaults to "(<level>/4)".)
- ext = Extension (defaults to .svg)
Examples:
- {{State Simple/File Entry|2|Foot}} -->
- {{State Simple/File Entry|1|Foot|ext=.png}} -->
- {{State Simple/File Entry|2|Foot|Hiking|(2/4)}} -->
- {{State Simple/File Entry|2|Foot|Hiking}} -->
- {{State Simple/File Entry|1|Foot|Hiking}} -->
- {{State Simple/File Entry|0|Foot|Hiking}} -->
- {{State Simple/File Entry||Foot|Hiking}} -->
Only to be used from within {{State Simple}}!