Difference between revisions of "Template:Infobox location"
Jump to navigation
Jump to search
Wrincewind (talk | contribs) (Created page with "{{Infobox | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}} }}} |width:{{{infoboxwidth|{{{width}}} }}} }} | labelstyle = white-space: nowrap | above = <includeonly>"{{{na...") |
Wrincewind (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}} }}} |width:{{{infoboxwidth|{{{width}}} }}} }} | | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}} }}} |width:{{{infoboxwidth|{{{width}}} }}} }} | ||
| labelstyle = white-space: nowrap | | labelstyle = white-space: nowrap | ||
| − | | above = <includeonly> | + | | above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly> |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| − | | label1 = | + | | label1 = Location |
| − | | data1 = {{{ | + | | data1 = {{{location|}}} |
| − | | label2 = | + | | label2 = Purpose |
| − | | data2 = {{{ | + | | data2 = {{{purpose|}}} |
| − | + | }} | |
| − | |||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 19:34, 10 April 2020
Usage
| {{{name}}} | |
|---|---|
| [[File:{{{image}}}|frameless|upright=1]] {{{caption}}} | |
| Location | {{{location}}} |
| Purpose | {{{purpose}}} |
{{Infobox location
| name =
| image =
| imagesize = <!--if the default is too large-->
| caption =
| location =
| purpose =
}}
Parameters
- name
- What's the place usually referred to as?
- image
- image file, e.g. 'main_bar.png'. no need for [[ or file: or anything.
- caption
- image caption
- location
- Location of Place. e.g. "Oklahoma" or "Café Plaisir (ground floor)"
- purpose
- Primary usage of the room if not obvious from the name, e.g. 'night club'.
Example
| The Main Bar | |
|---|---|
Art by October Flixard | |
| Location | Café Plaisir, Ground Floor |
| Purpose | Entertaining guests |
{{Infobox location
| name = The Main Bar
| image = Cafe_Plaisir_Main_Bar_October_Flixard.png
| caption = Art by [[October Flixard]]
| location = [[Café Plaisir]], Ground Floor
| purpose = Entertaining guests
}}
| The above documentation is transcluded from Template:Infobox location/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |