Difference between revisions of "Template:Workshop space candidates infobox"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
Line 1: Line 1:
 
{| class="infobox" style="font-size:90%; width:{{#if:{{{infobox_width|}}}|{{{infobox_width}}}|300px}}; text-align:left"
 
{| class="infobox" style="font-size:90%; width:{{#if:{{{infobox_width|}}}|{{{infobox_width}}}|300px}}; text-align:left"
 
|- style="background:#D3D3D3"
 
|- style="background:#D3D3D3"
! colspan="2" class="fn org" style="font-size:larger; text-align:center" | {{{event_name}}}
+
! colspan="2" class="fn org" style="font-size:larger; text-align:center" | {{SUBPAGENAME}}
 
|-
 
|-
 
{{#if:{{{image|<noinclude>x</noinclude>}}}|
 
{{#if:{{{image|<noinclude>x</noinclude>}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{#if:{{{image_size|<noinclude>x</noinclude>}}}|{{{image_size}}}|250px}}|alt={{{alt<includeonly>|</includeonly>}}}]]
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{#ifexist: Image:{{{image}}} | {{{image}}} | No image available.png }} | {{#if:{{{image_size|250px}}}|{{{image_size|250px}}}}} | alt={{{alt<includeonly>|</includeonly>}}} | link=Requirements and comparison of spaces/{{SUBPAGENAME}} pictures]]
 
}}
 
}}
 
{{#if:{{{caption|<noinclude>x</noinclude>}}}|{{{caption}}}<br />}}
 
{{#if:{{{caption|<noinclude>x</noinclude>}}}|{{{caption}}}<br />}}
Line 10: Line 10:
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Information
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Information
 
|-
 
|-
{{#if:{{{start_date|<noinclude>x</noinclude>}}}|
+
{{#if:{{{rating|<noinclude>x</noinclude>}}}|
! Start Date
+
! Rating
{{!}} {{date|{{{start_date}}}|mdy}}
+
{{!}} {{{rating}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{start_time|<noinclude>x</noinclude>}}}|
+
{{#if:{{{address|<noinclude>x</noinclude>}}}|
! Start Time
+
! Address
{{!}} {{{start_time}}}
+
{{!}} {{{address}}}{{#if: {{{map_link|<noinclude>x</noinclude>}}} | <sup>[[Image:Gnome globe.png|13px|link={{{map_link|http://maps.google.com}}}]]</sup> }}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{end_date|<noinclude>x</noinclude>}}}|
+
{{#if:{{{rent|<noinclude>x</noinclude>}}}|
! End Date
+
! Rent
{{!}} {{date|{{{end_date}}}|mdy}}
+
{{!}} ${{{rent}}}/mo
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{end_time|<noinclude>x</noinclude>}}}|
+
{{#if:{{{utilities|<noinclude>x</noinclude>}}}|
! End Time
+
! Utilities
{{!}} {{{end_time}}}
+
{{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities}}}/mo
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{cost|<noinclude>x</noinclude>}}}|
+
{{#if:{{{space|{{{sqft|<noinclude>100</noinclude>}}}}}|
! Cost
+
! Space
{{!}} {{{cost}}}
+
{{!}} {{ft2 to m2|{{{space|{{{sqft|<noinclude>100</noinclude>}}}}}}|abbr=yes}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{website|<noinclude>x</noinclude>}}}|
+
{{#if:{{{lease|<noinclude>x</noinclude>}}}|
! Website
+
! Lease
{{!}} [{{{website}}} {{{website}}}]
+
{{!}} {{{lease}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{location|<noinclude>x</noinclude>}}}|
+
{{#if: {{{length}}} | {{#if: {{{width}}} |
! Location
+
! Measurements
{{!}} {{{location}}}
+
{{!}} {{ft to m|{{{length|<noinclude>10</noinclude>}}}|abbr=yes}} x {{ft to m|{{{width|<noinclude>15</noinclude>}}}|abbr=yes}} }}
 +
{{!}}-
 +
|
 +
! Measurements
 +
{{!}} {{{measurements|<noinclude>x</noinclude>}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{offices|<noinclude>x</noinclude>}}}|
 +
! {{#ifeq: {{{offices}}} | 1 | Office | Offices}}
 +
{{!}} {{{offices}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{bathrooms|<noinclude>x</noinclude>}}}|
 +
! {{#ifeq: {{{bathrooms}}} | 1 | Bathroom | Bathrooms}}
 +
{{!}} {{{bathrooms}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#ifeq: {{{media|<noinclude>yes</noinclude>}}}| yes
+
{{#if:{{{owner|<noinclude>x</noinclude>}}}|
|! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Media
+
! Owner
 +
{{!}} {{{owner}}}
 
{{!}}-
 
{{!}}-
! colspan="2" style="text-align: center;"{{!}}
+
}}
{{#if:{{{digg|<noinclude>x</noinclude>}}}|[[Image:Digg_Icon.png|30px|link={{{digg}}}|alt=Digg]]}}{{#if:{{{facebook|<noinclude>x</noinclude>}}}|[[Image:Facebook_Icon.png|30px|link={{{facebook}}}|alt=Facebook]]}}{{#if:{{{flickr|<noinclude>x</noinclude>}}}|[[Image:Flickr_Icon.png|30px|link={{{flickr}}}|alt=Flickr]]}}{{#if:{{{myspace|<noinclude>x</noinclude>}}}|[[Image:Myspace_Icon.png|30px|link={{{myspace}}}|alt=MySpace]]}}{{#if:{{{twitter|<noinclude>x</noinclude>}}}|[[Image:Twitter_Icon.png|30px|link={{{twitter}}}|alt=Twitter]]}}{{#if:{{{youtube|<noinclude>x</noinclude>}}}|[[Image:Youtube_Icon.png|30px|link={{{youtube}}}|alt=YouTube]]}}
+
{{#if:{{{notes|<noinclude>x</noinclude>}}}|
 +
! Notes
 +
{{!}} {{{notes}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|}
+
|}<noinclude>
{{{lease|<noinclude>x</noinclude>}}}
 
{{#if: {{{length|}}} | {{#if: {{{width|}}} | {{ft to m|{{{length|<noinclude>10</noinclude>}}}|abbr=yes}} x {{ft to m|{{{width|<noinclude>15</noinclude>}}}|abbr=yes}} }} | {{{measurements|<noinclude>x</noinclude>}}} }}
 
{{{bathrooms|<noinclude>x</noinclude>}}} {{#ifeq: {{{bathrooms}}} | 1 | bathroom| bathrooms}}
 
{{{owner|<noinclude>x</noinclude>}}}
 
{{{notes|<noinclude>x</noinclude>}}}<noinclude>
 
 
{{esoteric}}
 
{{esoteric}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 22:00, 30 May 2010

Workshop space candidates infobox
250px

{{{caption}}}

Information
Rating {{{rating}}}
Address {{{address}}}Gnome globe.png
Rent ${{{rent}}}/mo
Utilities ~${{{utilities}}}/mo
Space 100 sq ft (9.3 m2)
Lease {{{lease}}}
Measurements 10 ft (3.0 m) x 15 ft (4.6 m)
Offices {{{offices}}}
Bathrooms {{{bathrooms}}}
Owner {{{owner}}}
Notes {{{notes}}}
[edit] [purge] Template documentation

Usage

See also