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

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(added downpayment field)
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
! colspan="2" class="fn org" style="font-size:larger; text-align:center" | {{SUBPAGENAME}}
 
! 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:{{#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 17: Line 15:
 
{{#if:{{{address|<noinclude>x</noinclude>}}}|
 
{{#if:{{{address|<noinclude>x</noinclude>}}}|
 
! Address
 
! Address
{{!}} {{{address}}}{{#if: {{{map_link|<noinclude>x</noinclude>}}} | <sup>[[Image:Gnome globe.png|13px|link={{{map_link|http://maps.google.com}}}]]</sup> }}
+
{{!}} {{{address}}}{{#if: {{{map_link|<noinclude>x</noinclude>}}} | <sup>[[Image:Gnome globe.svg|13px|link={{{map_link|http://maps.google.com}}}]]</sup> }}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{rent|<noinclude>x</noinclude>}}}|
+
{{#if:{{{rent|0}}}|
 
! Rent
 
! Rent
{{!}} ${{{rent}}}/mo
+
{{!}} ${{{rent|0}}}/mo
 +
{{!}}-
 +
}}
 +
 
 +
{{#if:{{{downpayment|0}}}|
 +
! Down Payment
 +
{{!}} ${{{downpayment|0}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{utilities|<noinclude>x</noinclude>}}}|
+
{{#if:{{{utilities|0}}}|
 
! Utilities
 
! Utilities
{{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities}}}/mo
+
{{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities|0}}}/mo
 +
{{!}}-
 +
}}
 +
! Other Bills
 +
| ~${{other bills}}/mo
 +
|-
 +
{{#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:{{{space|{{{sqft|<noinclude>100</noinclude>}}}}}|
+
}}
 +
{{#if:{{{space|{{{sqft|1}}}}}|
 
! Space
 
! Space
{{!}} {{ft2 to m2|{{{space|{{{sqft|<noinclude>100</noinclude>}}}}}}|abbr=yes}}
+
{{!}} {{ft2 to m2|{{{space|{{{sqft|1}}}}}}|abbr=yes}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 40: Line 56:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{length}}} | {{#if: {{{width}}} |
+
{{#if: {{{length|}}} | {{#if: {{{width|}}} |
 
! Measurements
 
! Measurements
 
{{!}} {{ft to m|{{{length|<noinclude>10</noinclude>}}}|abbr=yes}} x {{ft to m|{{{width|<noinclude>15</noinclude>}}}|abbr=yes}} }}
 
{{!}} {{ft to m|{{{length|<noinclude>10</noinclude>}}}|abbr=yes}} x {{ft to m|{{{width|<noinclude>15</noinclude>}}}|abbr=yes}} }}
Line 72: Line 88:
 
{{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