Difference between revisions of "Template:Arch"
From DAS Wiki
(27 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|portrait= | |portrait= | ||
|birth_date= | |birth_date= | ||
+ | |birth_approx= | ||
|birth_place= | |birth_place= | ||
|death_date= | |death_date= | ||
+ | |death_approx= | ||
|death_place= | |death_place= | ||
|nationality= | |nationality= | ||
Line 23: | Line 25: | ||
|portrait=File | |portrait=File | ||
|birth_date=Date | |birth_date=Date | ||
+ | |birth_approx=Boolean | ||
|birth_place=string | |birth_place=string | ||
|death_date=Date | |death_date=Date | ||
+ | |death_approx=Boolean | ||
|death_place=string | |death_place=string | ||
|nationality=string | |nationality=string | ||
Line 30: | Line 34: | ||
|associated_firms=List (;) of Page | |associated_firms=List (;) of Page | ||
|burial_place=string | |burial_place=string | ||
− | |spouse= | + | |spouse=string |
|signature=File | |signature=File | ||
|awards=string | |awards=string | ||
|significant_design=string | |significant_design=string | ||
}} | }} | ||
− | </noinclude><includeonly>__NOCACHE__{{#default_form: | + | </noinclude><includeonly>__NOCACHE__{{#default_form:Edit Architect}}{{#cargo_store:_table=Arch |
|portrait={{{portrait|}}} | |portrait={{{portrait|}}} | ||
|birth_date={{{birth_date|}}} | |birth_date={{{birth_date|}}} | ||
+ | |birth_approx={{birth_approx|}}} | ||
|birth_place={{{birth_place|}}} | |birth_place={{{birth_place|}}} | ||
|death_date={{{death_date|}}} | |death_date={{{death_date|}}} | ||
+ | |death_approx={{{death_approx|}}} | ||
|death_place={{{death_place|}}} | |death_place={{{death_place|}}} | ||
|nationality={{{nationality|}}} | |nationality={{{nationality|}}} | ||
Line 50: | Line 56: | ||
|significant_design={{{significant_design|}}} | |significant_design={{{significant_design|}}} | ||
}} | }} | ||
− | {| | + | {| class="infobox" |
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
Line 56: | Line 62: | ||
|- | |- | ||
{{#if:{{{birth_date|}}}{{{death_date|}}}{{{associated_firms|}}}{{{nationality|}}}{{{spouse|}}}{{{signature|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">General Information</th></tr>}}<!-- | {{#if:{{{birth_date|}}}{{{death_date|}}}{{{associated_firms|}}}{{{nationality|}}}{{{spouse|}}}{{{signature|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">General Information</th></tr>}}<!-- | ||
− | + | -->{{#if:{{{birth_date|}}}|{{#if:{{{birth_place|}}}|<tr><th>Birth</th><td><div style="line-height:1.2em;";>{{yesno|{{{birth_approx|}}}|yes=Abt: }}{{{birth_date|}}}<br />{{{birth_place|}}}</div></td></tr>|<tr><th>Birth</th><td>{{yesno|{{{birth_approx|}}}|yes=Abt: }}{{{birth_date|}}}</td></tr>}} }}<!-- | |
− | -->{{#if:{{{birth_date|}}} | + | -->{{#if:{{{birth_date|}}}||{{#if:{{{birth_place|}}}|<tr><th>Birth</th><td>{{{birth_place|}}}</td></tr>}} }}<!-- |
− | |{{#if:{{{birth_place|}}}|<tr><th>Birth</th><td>{{{birth_date|}}}<br />{{{birth_place|}}}</td></tr>|<tr><th>Birth</th><td>{{{birth_date|}}}</td></tr>}} }} | + | -->{{#if:{{{death_date|}}}|{{#if:{{{death_place|}}}|<tr><th>Death</th><td><div style="line-height:1.2em;";>{{yesno|{{{death_approx|}}}|yes=Abt: }}{{{death_date|}}}<br />{{{death_place|}}}</div></td></tr>|<tr><th>Death</th><td>{{yesno|{{{death_approx|}}}|yes=Abt: }}{{{death_date|}}}</td></tr>}} }}<!-- |
− | + | -->{{#if:{{{death_date|}}}||{{#if:{{{death_place|}}}|<tr><th>Death</th><td>{{{death_place|}}}</div></td></tr>}} }}<!-- | |
− | {{#if:{{{birth_date|}}} | + | -->{{#if:{{{burial_place|}}}|<tr><th>Buried</th><td><div style="line-height:1.2em;";>{{{burial_place|}}}</div></td></tr>}}<!-- |
− | || | + | -->{{#if:{{{nationality|}}}|<tr><th>Nationality</th><td><div style="line-height:1.2em;";>{{{nationality|}}}</div></td></tr>}}<!-- |
− | {{#if:{{{birth_place|}}}|<tr><th>Birth</th><td>{{{birth_place|}}}</td></tr>}} | + | -->{{#if:{{{alma_mater|}}}|<tr><th>Alma Mater</th><td><div style="line-height:1.2em;";>{{{alma_mater|}}}</div></td></tr>}}<!-- |
− | + | -->{{#if:{{{associated_firms|}}}|<tr><th>Firm(s)</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{associated_firms|}}}|;|x|{{#formredlink:target=x|form=Firm}}}}</div></td></tr>}}<!-- | |
− | -->{{#if:{{{death_date|}}}|<tr><th>Death</th><td>{{{death_date|}}}</td></tr>}}<!-- | + | -->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td><div style="line-height:1.2em;";>{{{spouse|}}}</div></td></tr>}}<!-- |
− | -->{{#if:{{{death_place|}}}|<tr><th> </th><td>{{{death_place|}}}</td></tr>}}<!-- | ||
− | -->{{#if:{{{burial_place|}}}|<tr><th>Buried</th><td>{{{burial_place|}}}</td></tr>}}<!-- | ||
− | -->{{#if:{{{nationality|}}}|<tr><th>Nationality</th><td>{{{nationality|}}}</td></tr>}}<!-- | ||
− | -->{{#if:{{{alma_mater|}}}|<tr><th>Alma Mater</th><td>{{{alma_mater|}}}</td></tr>}}<!-- | ||
− | -->{{#if:{{{associated_firms|}}}|<tr><th>Firm(s)</th><td>{{#arraymap:{{{associated_firms|}}}| | ||
− | -->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td> | ||
-->{{#if:{{{signature|}}}|<tr><td style="text-align: center;", colspan="2">[[File:{{{signature|}}}|150px|frameless]]</td></tr>}}<!-- | -->{{#if:{{{signature|}}}|<tr><td style="text-align: center;", colspan="2">[[File:{{{signature|}}}|150px|frameless]]</td></tr>}}<!-- | ||
-->{{#if:{{{awards|}}}{{{significant_design|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Professional Accomplishments</th></tr>}}<!-- | -->{{#if:{{{awards|}}}{{{significant_design|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Professional Accomplishments</th></tr>}}<!-- | ||
− | -->{{#if:{{{awards|}}}|<tr><th>Awards</th><td>{{{awards|}}}</td></tr>}}<!-- | + | -->{{#if:{{{awards|}}}|<tr><th>Awards</th><td><div style="line-height:1.2em;";>{{{awards|}}}</div></td></tr>}}<!-- |
− | -->{{#if:{{{significant_design|}}}|<tr><th>Significant Design</th><td>{{{significant_design|}}}</td></tr>}} | + | -->{{#if:{{{significant_design|}}}|<tr><th>Significant Design</th><td><div style="line-height:1.2em;";>{{{significant_design|}}}</div></td></tr>}} |
|} | |} | ||
[[Category: Architects]] | [[Category: Architects]] | ||
</includeonly> | </includeonly> |
Latest revision as of 09:34, July 18, 2021
This is the "Arch" template. It should be called in the following format:
{{Arch |portrait= |birth_date= |birth_approx= |birth_place= |death_date= |death_approx= |death_place= |nationality= |alma_mater= |associated_firms= |burial_place= |spouse= |signature= |awards= |significant_design= }}
Edit the page to see the template text. This template defines the table "Arch". View table.