Template:Building: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Undo revision 27755 by Yaron Koren (talk))
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Buildings|Height_in_feet=Integer|Owners=List (,) of Page|Color=Text (allowed values=Red,Green,Blue)}}
{{#cargo_declare:_table=Buildings|Height_in_feet=Integer|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|}}} }}</includeonly>
</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]]
</includeonly>

Revision as of 02:26, January 28, 2015

This is the "Building" template. It should be called in the following format:

{{Building
|Height in feet=
|Owners=
|Color=
}}

Edit the page to see the template text. This template defines the table "Buildings". View table.