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

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(added downpayment field)
 
(12 intermediate revisions by the same user not shown)
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>}}}|
+
| colspan="2" style="text-align:center;" | [[File:{{#ifexist: Image:{{{image}}} | {{{image}}} | No image available.svg}} | {{#if:{{{infobox_width|}}}|{{{infobox_width}}}|250px}} | alt={{{alt<includeonly>|</includeonly>}}} | link=Requirements and comparison of spaces/{{SUBPAGENAME}} pictures]]
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{#if:{{{image_size|<noinclude>x</noinclude>}}}|{{{image_size}}}|250px}}|alt={{{alt<includeonly>|</includeonly>}}}]]
 
}}
 
 
{{#if:{{{caption|<noinclude>x</noinclude>}}}|{{{caption}}}<br />}}
 
{{#if:{{{caption|<noinclude>x</noinclude>}}}|{{{caption}}}<br />}}
 
|-
 
|-
 
! 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:{{{address|<noinclude>x</noinclude>}}}|
 +
! Address
 +
{{!}} {{{address}}}{{#if: {{{map_link|<noinclude>x</noinclude>}}} | <sup>[[Image:Gnome globe.svg|13px|link={{{map_link|http://maps.google.com}}}]]</sup> }}
 +
{{!}}-
 +
}}
 +
{{#if:{{{rent|0}}}|
 +
! Rent
 +
{{!}} ${{{rent|0}}}/mo
 +
{{!}}-
 +
}}
 +
 
 +
{{#if:{{{downpayment|0}}}|
 +
! Down Payment
 +
{{!}} ${{{downpayment|0}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{start_time|<noinclude>x</noinclude>}}}|
+
{{#if:{{{utilities|0}}}|
! Start Time
+
! Utilities
{{!}} {{{start_time}}}
+
{{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities|0}}}/mo
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{end_date|<noinclude>x</noinclude>}}}|
+
! Other Bills
! End Date
+
| ~${{other bills}}/mo
{{!}} {{date|{{{end_date}}}|mdy}}
+
|-
 +
{{#if:{{{rent|0}}}|{{#if:{{{utilities|0}}}|
 +
! Est Total
 +
{{!}} ~${{#expr: {{{rent|0}}} + {{{utilities|0}}} + {{other bills}} }}/mo
 +
{{!}}-
 +
! Est Members Needed
 +
{{!}} {{#number_format:{{#expr: ( {{{rent|0}}} + {{{utilities|0}}} + {{other bills}} ) / {{Membership cost|regular}} }}}} @ ${{Membership cost|regular}}/mo
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{end_time|<noinclude>x</noinclude>}}}|
+
}}
! End Time
+
{{#if:{{{space|{{{sqft|1}}}}}|
{{!}} {{{end_time}}}
+
! Space
 +
{{!}} {{ft2 to m2|{{{space|{{{sqft|1}}}}}}|abbr=yes}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{cost|<noinclude>x</noinclude>}}}|
+
{{#if:{{{lease|<noinclude>x</noinclude>}}}|
! Cost
+
! Lease
{{!}} {{{cost}}}
+
{{!}} {{{lease}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{website|<noinclude>x</noinclude>}}}|
+
{{#if: {{{length|}}} | {{#if: {{{width|}}} |
! Website
+
! Measurements
{{!}} [{{{website}}} {{{website}}}]
+
{{!}} {{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:{{{location|<noinclude>x</noinclude>}}}|
+
{{#if:{{{offices|<noinclude>x</noinclude>}}}|
! Location
+
! {{#ifeq: {{{offices}}} | 1 | Office | Offices}}
{{!}} {{{location}}}
+
{{!}} {{{offices}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#ifeq: {{{media|<noinclude>yes</noinclude>}}}| yes
+
{{#if:{{{bathrooms|<noinclude>x</noinclude>}}}|
|! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Media
+
! {{#ifeq: {{{bathrooms}}} | 1 | Bathroom | Bathrooms}}
 +
{{!}} {{{bathrooms}}}
 
{{!}}-
 
{{!}}-
! 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:{{{owner|<noinclude>x</noinclude>}}}|
 +
! Owner
 +
{{!}} {{{owner}}}
 +
{{!}}-
 +
}}
 +
{{#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}}
 +
 +
[[Category:Infobox templates|Workshop Candidate]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:07, 2 December 2010

Workshop space candidates infobox
{{{alt}}}

{{{caption}}}

Information
Rating {{{rating}}}
Address {{{address}}}Gnome-globe.svg
Rent $0/mo
Down Payment $0
Utilities ~$0/mo
Other Bills ~$169.23/mo
Est Total ~$169.23/mo
Est Members Needed {{#number_format:3.7606666666667}} @ $45/mo
Space 1 sq ft (0.093 m2)
Lease {{{lease}}}
Measurements x
Offices {{{offices}}}
Bathrooms {{{bathrooms}}}
Owner {{{owner}}}
Notes {{{notes}}}
[edit] [purge] Template documentation

Usage

See also