Difference between revisions of "Template:Workshop space candidates infobox"
Jump to navigation
Jump to search
(added downpayment field) |
|||
(10 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}} | ||
|- | |- | ||
− | | colspan="2" style="text-align:center;" | [[File:{{#ifexist: Image:{{{image}}} | {{{image}}} | No image available. | + | | 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 />}} | ||
|- | |- | ||
Line 15: | 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. | + | {{!}} {{{address}}}{{#if: {{{map_link|<noinclude>x</noinclude>}}} | <sup>[[Image:Gnome globe.svg|13px|link={{{map_link|http://maps.google.com}}}]]</sup> }} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{rent| | + | {{#if:{{{rent|0}}}| |
! Rent | ! Rent | ||
− | {{!}} ${{{rent}}}/mo | + | {{!}} ${{{rent|0}}}/mo |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{utilities| | + | |
+ | {{#if:{{{downpayment|0}}}| | ||
+ | ! Down Payment | ||
+ | {{!}} ${{{downpayment|0}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{utilities|0}}}| | ||
! Utilities | ! Utilities | ||
− | {{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities}}}/mo | + | {{!}} {{#ifeq: {{{approx|yes}}} | yes | ~ | }}${{{utilities|0}}}/mo |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{space|{{{sqft| | + | ! 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|1}}}}}| | ||
! Space | ! Space | ||
− | {{!}} {{ft2 to m2|{{{space|{{{sqft| | + | {{!}} {{ft2 to m2|{{{space|{{{sqft|1}}}}}}|abbr=yes}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 38: | 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 70: | Line 88: | ||
{{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. |