Difference between revisions of "Template:Venue"

Template page
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="infobox">
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
|-
| class="ibheader" colspan="2" | '''Information'''
|-
{{#if: {{{location|}}}|
{{!}} class="ibleft" {{!}} Location
{{!}} class="ibright" {{!}}
{{{location}}} }}
|-
{{#if: {{{type|}}}|
{{!}} class="ibleft" {{!}} Type
{{!}} class="ibright" {{!}}
{{{type}}} }}
|-
{{#if: {{{established|}}}|
{{!}} class="ibleft" {{!}} Established
{{!}} class="ibright" {{!}}
{{{established}}} }}
|-
{{#if: {{{affiliation|}}}{{{proprietor|}}}{{{status|}}}|
{{!}} class="ibheader" colspan="2" {{!}} '''Ownership'''
}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}
{{{affiliation}}} }}
|-
{{#if: {{{proprietor|}}}|
{{!}} class="ibleft" {{!}} Proprietor
{{!}} class="ibright" {{!}}
{{{proprietor}}} }}
|-
{{#if: {{{status|}}}|
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibright" {{!}}
{{{status}}} }}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Venue]]
|}</div>
<includeonly>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Venues]]{{DEFAULTSORT:{{{name}}}}}
<infobox theme="bravo">
}}
<title source="name">
</includeonly><noinclude>
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
</title>
<image source="image"/>
<header>Information</header>
<data source="location"><label>Location</label></data>
<data source="type"><label>Type</label></data>
<data source="established"><label>Established</label></data>
<header>Ownership</header>
<data source="affiliation"><label>Affiliation</label></data>
<data source="proprietor"><label>Proprietor</label></data>
<data source="status"><label>Status</label></data>
<header name="footer">[[Template:Venue]]</header>
</infobox>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Venues]]{{DEFAULTSORT:{{{name}}}}}}}
</includeonly>
<noinclude>
==Venue==
==Venue==
Infobox to be used for venues.
==Code==
<pre>
<pre>
{{Venue
{{Venue
| name =  
| name =  
| image =  
| image =  
| location =
| location =  
| type =
| type =  
| established =
| established =  
| affiliation = Civlian/Starfleet/Military?
| affiliation =  
| proprietor =
| proprietor =  
| status =
| status =  
}}</pre>
}}</pre>
==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]]
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Latest revision as of 02:47, 15 November 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
}}