Difference between revisions of "Template:Venue"

Template page
(Created page with "<div class="infobox"> {| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;" {{#if: {{{image|}}}| {{!}} col...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
<infobox theme="bravo">
{{#if: {{{image|}}}|
<title source="name">
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
|-
</title>
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
<image source="image"/>
|-
<header>Information</header>
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Information'''
<data source="location"><label>Location</label></data>
|-
<data source="type"><label>Type</label></data>
{{#if: {{{location|}}}|
<data source="established"><label>Established</label></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Location
<header>Ownership</header>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="affiliation"><label>Affiliation</label></data>
{{{location}}} }}
<data source="proprietor"><label>Proprietor</label></data>
|-
<data source="status"><label>Status</label></data>
{{#if: {{{type|}}}|
<header name="footer">[[Template:Venue]]</header>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Type
</infobox>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Venues]]{{DEFAULTSORT:{{{name}}}}}
{{{type}}} }}
|-
{{#if: {{{established|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Established
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{established}}} }}
|-
{{#if: {{{affiliation|}}}{{{proprietor|}}}{{{status|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Ownership'''
}}
}}
|-
</includeonly>
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{affiliation}}} }}
|-
{{#if: {{{proprietor|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Proprietor
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{proprietor}}} }}
|-
{{#if: {{{status|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Status
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{status}}} }}
|-
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Venue|Venue]]
|}</div>
[[Category:Venues]]
<noinclude>
<noinclude>
<br clear=all>
==Venue==
Infobox to be used for venues.
 
==Code==
<pre>
<pre>
{{Venue
{{Venue
| name =  
| name =  
| image =  
| image =  
| location =
| location =  
| type =
| type =  
| established =
| established =  
| affiliation =
| affiliation =  
| proprietor =
| proprietor =  
| status =
| status =  
}}</pre>
}}</pre>


<noinclude>[[Category:Infobox Templates|Venue]]
==Example==
{{Venue
| name = Grandma's House
| image =
| location = Starbase Kickass
| type = Grandma's house
| established = Always has been, always will be
| affiliation = Grandma
| proprietor = Grandma
| status = Baking cookies
| templatemode = nocats
}}
<pre>
{{Venue
| name = Grandma's House
| image =
| location = Starbase Kickass
| type = Grandma's house
| established = Always has been, always will be
| affiliation = Grandma
| proprietor = Grandma
| status = Baking cookies
}}
</pre>
 
{{clear}}
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:03, 27 May 2024


Venue

Infobox to be used for venues.

Code

{{Venue
| name = 
| image = 
| location = 
| type = 
| established = 
| affiliation = 
| proprietor = 
| status = 
}}

Example


{{Venue
| name = Grandma's House
| image = 
| location = Starbase Kickass
| type = Grandma's house
| established = Always has been, always will be
| affiliation = Grandma
| proprietor = Grandma
| status = Baking cookies
}}