Difference between revisions of "VenueBob"

From Sega Retro

 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{BobTable|
+
{{BobTablePlus|
{{BobRow||{{{logos|}}}|align=center}}
+
{{BobRowPlus
{{BobRow||{{{venueimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{venueimage}}}|{{{imgwidth|320x240}}}px]]{{#if: {{{venueimage2|}}} | [[File:{{{venueimage2}}}|{{{imgwidth2|320x240}}}px]] | }}}}
+
| if={{{logo|}}}
{{BobRow||{{{name|}}}|default=Fast facts on the {{PAGENAME}}|content=Fast facts on the {{{name}}}|headline=yes|align=center}}
+
| content=[[File:{{{logo|}}}|320x100px]]
{{BobRow|Location|{{{location|}}}}}
+
| align=center
{{BobRow|Google maps|{{{mapref|}}}|content=[http://www.google.com/maps/@{{{mapref}}},17z {{{mapref}}}]}}
+
}}
{{BobRow|Opened|{{{opened|}}}}}
+
{{BobRowPlus
{{BobRow|Closed|{{{closed|}}}}}
+
| if={{{venueimage|}}}
}}<noinclude>
+
| align=center
 +
| default=[[File:Notavailable.svg]][[Category:Venue without image]]
 +
| content={{#if: {{{venueimage2|}}}
 +
| {{tabs
 +
| icon1={{#if:{{{tab1|}}}|{{{tab1}}}|{{{venueimage|}}}}}
 +
| icon2={{#if:{{{tab2|}}}|{{{tab2}}}|{{{venueimage2|}}}}}
 +
| content1=[[File:{{{venueimage|}}}|320x240px]]
 +
| content2=[[File:{{{venueimage2|}}}|320x240px]]
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| [[File:{{{venueimage|}}}|320x240px]]
 +
}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{name|}}}
 +
| default={{PAGENAME}}
 +
| content={{{name}}}
 +
| headline=yes
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{location|}}}
 +
| title=Location
 +
| content={{{location|}}}{{Location2Country|{{{location|}}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{mapref|}}}
 +
| title=Google maps
 +
| content=[http://www.google.com/maps/@{{{mapref|}}},17z {{{mapref|}}}]
 +
}}
 +
{{BobRowPlus
 +
| if={{{opened|}}}
 +
| title=Opened
 +
| content={{{opened|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{closed|}}}
 +
| title=Closed
 +
| content={{{closed|}}}{{#vardefine:closedoverride|true}}<!--hack for branding table-->
 +
}}
 +
{{BobRowPlus
 +
| if={{{rebrand|}}}
 +
| title=Rebranded
 +
| content={{{rebrand|}}} {{#if:{{{rebrandas|}}}|(as {{{rebrandas|}}})}}{{#vardefine:closedoverride|true}}<!--hack for branding table-->
 +
}}
 +
}}{{#cargo_store:
 +
_table = venues
 +
|name={{#titleparts:{{PAGENAME}}}}
 +
|location={{{location|}}}
 +
|mapref={{{mapref|}}}
 +
|opened={{stripref|{{{opened|}}}}}
 +
|closed={{stripref|{{{closed|}}}}}{{stripref|{{{rebrand|}}}}}
 +
}}<noinclude>{{#cargo_declare:
 +
_table = venues
 +
|name=Text
 +
|location=Text
 +
|mapref=Text
 +
|opened=Text
 +
|closed=Text
 +
}}
 
==Usage==
 
==Usage==
 
This template is to be used on articles about venues. Place the following at the top of a page:
 
This template is to be used on articles about venues. Place the following at the top of a page:
Line 13: Line 74:
 
<pre>
 
<pre>
 
{{VenueBob
 
{{VenueBob
| logos=
+
| logo=
 
| venueimage=
 
| venueimage=
| imgwidth=
 
 
| name=
 
| name=
 
| location=
 
| location=
 
| opened=
 
| opened=
 
| closed=
 
| closed=
 +
| rebrand=
 +
| rebrandas=
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 10:15, 15 September 2023

Notavailable.svg
VenueBob

This template defines the table "venues". View table.

Usage

This template is to be used on articles about venues. Place the following at the top of a page:

{{VenueBob
| logo=
| venueimage=
| name=
| location=
| opened=
| closed=
| rebrand=
| rebrandas=
}}