Difference between revisions of "Template:Workshop space candidates infobox"
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" | {{ | + | ! colspan="2" class="fn org" style="font-size:larger; text-align:center" | {{SUBPAGENAME}} |
|- | |- | ||
− | + | | 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]] | |
− | |||
− | |||
{{#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:{{{ | + | {{#if:{{{rating|<noinclude>x</noinclude>}}}| |
− | ! | + | ! Rating |
− | {{!}} {{ | + | {{!}} {{{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:{{{ | + | {{#if:{{{utilities|0}}}| |
− | ! | + | ! Utilities |
− | {{!}} {{{ | + | {{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities|0}}}/mo |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{ | + | ! 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:{{{ | + | }} |
− | ! | + | {{#if:{{{space|{{{sqft|1}}}}}| |
− | {{!}} {{{ | + | ! Space |
+ | {{!}} {{ft2 to m2|{{{space|{{{sqft|1}}}}}}|abbr=yes}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{ | + | {{#if:{{{lease|<noinclude>x</noinclude>}}}| |
− | ! | + | ! Lease |
− | {{!}} {{{ | + | {{!}} {{{lease}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{ | + | {{#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:{{{ | + | {{#if:{{{offices|<noinclude>x</noinclude>}}}| |
− | ! | + | ! {{#ifeq: {{{offices}}} | 1 | Office | Offices}} |
− | {{!}} {{{ | + | {{!}} {{{offices}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{# | + | {{#if:{{{bathrooms|<noinclude>x</noinclude>}}}| |
− | + | ! {{#ifeq: {{{bathrooms}}} | 1 | Bathroom | Bathrooms}} | |
+ | {{!}} {{{bathrooms}}} | ||
{{!}}- | {{!}}- | ||
− | + | }} | |
− | {{#if:{{{ | + | {{#if:{{{owner|<noinclude>x</noinclude>}}}| |
+ | ! Owner | ||
+ | {{!}} {{{owner}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{notes|<noinclude>x</noinclude>}}}| | ||
+ | ! Notes | ||
+ | {{!}} {{{notes}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | | | + | |}<noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
{{esoteric}} | {{esoteric}} | ||
{{documentation}} | {{documentation}} | ||
+ | |||
+ | [[Category:Infobox templates|Workshop Candidate]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:07, 2 December 2010
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
The above documentation is transcluded from Template:Workshop space candidates infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |