Difference between revisions of "Template:Infobox place symbols/sandbox"
Jump to navigation
Jump to search
imported>Shanze1 |
imported>TerraCyprus m (TerraCyprus moved page Template:Infobox region symbols/sandbox to Template:Infobox place symbols/sandbox: more generic) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | | + | |child = {{#if:{{{embed|{{{embedded|}}}}}}|yes}} |
| − | | | + | |bodystyle = {{#switch:{{{align|}}} |
| − | |||
| left = float:left; clear:left; margin:0.5em 1em 0.5em 0 | | left = float:left; clear:left; margin:0.5em 1em 0.5em 0 | ||
| none = float:none; clear:none; margin:0.5em 1em 0.5em 0 | | none = float:none; clear:none; margin:0.5em 1em 0.5em 0 | ||
| Line 8: | Line 7: | ||
| right = | | right = | ||
}} | }} | ||
| − | |title = <includeonly>{{{title|{{#if:{{{embed|{{{embedded|}}}}}}||{{#if:{{{region_type|}}}|{{{region_type}}} symbols|{{# | + | |title = <includeonly>{{{title|{{#if:{{{embed|{{{embedded|}}}}}}||{{#if:{{{region_type|}}}|{{{region_type}}} symbols|{{#if:{{{state|}}}|State symbols|Symbols}}}} of {{if empty|{{{region|}}}|{{{state|}}}|{{{county|}}}|{{{province|}}}|{{{country|}}}|?}}}}}}}</includeonly> |
|titlestyle = font-size:120%; | |titlestyle = font-size:120%; | ||
|subheader = {{#if:{{{embed|{{{embedded|}}}}}}|{{#if: {{{no_header|}}}||Symbols {{#if:{{{region|}}}|of {{{region}}}}}}}}} | |subheader = {{#if:{{{embed|{{{embedded|}}}}}}|{{#if: {{{no_header|}}}||Symbols {{#if:{{{region|}}}|of {{{region}}}}}}}}} | ||
Latest revision as of 18:54, 15 September 2020
| This is the template sandbox page for Template:Infobox place symbols (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
Usage
{{Infobox place symbols
| embedded = <!-- If non-empty, use inside another infobox -->
|region = <!-- Name of the state or region -->
|region_type= <!-- Type of state or region (default is State) -->
| country = <!-- e.g., India -->
| flag =
| emblem =
| nickname =
| motto =
| anthem =
| song = <!-- or | hymn = -->
| language =
| foundation_day =
| currency =
| calendar =
| dance =
| instrument =
| mammal = <!-- or | animal = if no other animals -->
| bird =
| fish =
| butterfly = <!-- or | insect = -->
| flower =
| fruit =
| tree =
| plant =
| vegetable =
| food = <!-- or | dish = -->
| drink =
| sweet = <!-- or | confectionery = -->
| river = <!-- or | lake = -->
| fossil =
| mineral =
| sport = <!-- or | game = -->
| costume = <!-- or | dress = -->
| colour = <!-- or | color = -->
}}
Linking
If the country parameter is set to India, the template will link to India specific lists of state symbols.
Embedding
When the infobox is embedded in another infobox, the default header colour will match {{infobox settlement}}. For an island using {{infobox islands}}, set |island=yes.
Tracking categories
See also
| The above documentation is transcluded from Template:Infobox place symbols/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |