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

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(Created page with '{| class="infobox" style="font-size:90%; width:{{#if:{{{infobox_width|}}}|{{{infobox_width}}}|300px}}; text-align:left" |- style="background:#D3D3D3" ! colspan="2" class="fn org"…')
 
(added downpayment field)
 
(13 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:{{{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.svg|13px|link={{{map_link|http://maps.google.com}}}]]</sup> }}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{end_date|<noinclude>x</noinclude>}}}|
+
{{#if:{{{rent|0}}}|
! End Date
+
! Rent
{{!}} {{date|{{{end_date}}}|mdy}}
+
{{!}} ${{{rent|0}}}/mo
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{end_time|<noinclude>x</noinclude>}}}|
+
 
! End Time
+
{{#if:{{{downpayment|0}}}|
{{!}} {{{end_time}}}
+
! Down Payment
 +
{{!}} ${{{downpayment|0}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{cost|<noinclude>x</noinclude>}}}|
+
{{#if:{{{utilities|0}}}|
! Cost
+
! Utilities
{{!}} {{{cost}}}
+
{{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities|0}}}/mo
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{website|<noinclude>x</noinclude>}}}|
+
! Other Bills
! Website
+
| ~${{other bills}}/mo
{{!}} [{{{website}}} {{{website}}}]
+
|-
 +
{{#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:{{{location|<noinclude>x</noinclude>}}}|
+
}}
! Location
+
{{#if:{{{space|{{{sqft|1}}}}}|
{{!}} {{{location}}}
+
! Space
 +
{{!}} {{ft2 to m2|{{{space|{{{sqft|1}}}}}}|abbr=yes}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#ifeq: {{{media|<noinclude>yes</noinclude>}}}| yes
+
{{#if:{{{lease|<noinclude>x</noinclude>}}}|
|! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Media
+
! Lease
 +
{{!}} {{{lease}}}
 
{{!}}-
 
{{!}}-
! 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: {{{length|}}} | {{#if: {{{width|}}} |
 +
! Measurements
 +
{{!}} {{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>}}}|
<noinclude>
+
! {{#ifeq: {{{bathrooms}}} | 1 | Bathroom | Bathrooms}}
 +
{{!}} {{{bathrooms}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{owner|<noinclude>x</noinclude>}}}|
 +
! Owner
 +
{{!}} {{{owner}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{notes|<noinclude>x</noinclude>}}}|
 +
! Notes
 +
{{!}} {{{notes}}}
 +
{{!}}-
 +
}}
 +
|}<noinclude>
 
{{esoteric}}
 
{{esoteric}}
 
{{documentation}}
 
{{documentation}}
</noinclude>
 
 
  
{{{lease|<noinclude>x</noinclude>}}}
+
[[Category:Infobox templates|Workshop Candidate]]
{{#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>
 
{{documentation}}
 
 
</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