Template:Building: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Building" template.
{{#template_params:Height|Styles (label=Style(s))|Link}}
It should be called in the following format:
{{#cargo_declare:_table=Buildings|Height=String|Styles=List (;) of Page (allowed values=Baroque,Modern,Art Deco)|Link=URL}}
<pre>
</noinclude><includeonly>{{#cargo_store:_table=Buildings}}
{{Building
{{#template_display:_format=sections}}
|Height in feet=
|Owners=
|Color=
}}
</pre>
Edit the page to see the template text.
{{#cargo_declare:_table=Buildings|Height_in_feet=Page|Owners=List (,) of Page|Color=Text (allowed values=Red,Green,Blue)}}
</noinclude><includeonly>{{#cargo_store:_table=Buildings|Height_in_feet={{{Height in feet|}}}|Owners={{{Owners|}}}|Color={{{Color|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
|-
! Height in feet
| {{{Height in feet|}}}
|-
! Owners
| {{#arraymap:{{{Owners|}}}|,|x|[[x]]}}
|-
! Color
| {{{Color|}}}
|}


[[Category:Buildings]]
Styles alternate display: {{#arraymap:{{{Styles|}}}|;|x|[[x]]|;\s}}
</includeonly>
</includeonly>

Latest revision as of 17:25, September 19, 2022

This is the "Building" template.

It should be called in the following format:

{{Building
|Height=
|Styles=
|Link=
}}

Edit the page to see the template text.

This template defines the table "Buildings". View table.