Difference between revisions of "Template:Arch"
From DAS Wiki
(53 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
− | {{ | + | {{Arch |
|portrait= | |portrait= | ||
|birth_date= | |birth_date= | ||
+ | |birth_approx= | ||
|birth_place= | |birth_place= | ||
|death_date= | |death_date= | ||
+ | |death_approx= | ||
|death_place= | |death_place= | ||
|nationality= | |nationality= | ||
|alma_mater= | |alma_mater= | ||
+ | |associated_firms= | ||
|burial_place= | |burial_place= | ||
|spouse= | |spouse= | ||
Line 19: | Line 22: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | {{#cargo_declare:_table=Arch|portrait=File|birth_date=Date|birth_place=string|death_date=Date|death_place=string|nationality=string|alma_mater=string|burial_place=string|spouse= | + | {{#cargo_declare:_table=Arch |
− | </noinclude><includeonly>__NOCACHE__{{#default_form: | + | |portrait=File |
+ | |birth_date=Date | ||
+ | |birth_approx=Boolean | ||
+ | |birth_place=string | ||
+ | |death_date=Date | ||
+ | |death_approx=Boolean | ||
+ | |death_place=string | ||
+ | |nationality=string | ||
+ | |alma_mater=string | ||
+ | |associated_firms=List (;) of Page | ||
+ | |burial_place=string | ||
+ | |spouse=string | ||
+ | |signature=File | ||
+ | |awards=string | ||
+ | |significant_design=string | ||
+ | }} | ||
+ | </noinclude><includeonly>__NOCACHE__{{#default_form:Edit Architect}}{{#cargo_store:_table=Arch | ||
+ | |portrait={{{portrait|}}} | ||
+ | |birth_date={{{birth_date|}}} | ||
+ | |birth_approx={{birth_approx|}}} | ||
+ | |birth_place={{{birth_place|}}} | ||
+ | |death_date={{{death_date|}}} | ||
+ | |death_approx={{{death_approx|}}} | ||
+ | |death_place={{{death_place|}}} | ||
+ | |nationality={{{nationality|}}} | ||
+ | |alma_mater={{{alma_mater|}}} | ||
+ | |associated_firms={{{associated_firms|}}} | ||
+ | |burial_place={{{burial_place|}}} | ||
+ | |spouse={{{spouse|}}} | ||
+ | |signature={{{signature|}}} | ||
+ | |awards={{{awards|}}} | ||
+ | |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> | ||
|- | |- | ||
! style="text-align: center; margin-left: 1em;padding:3px;", colspan="2"|<span>{{#if:{{{portrait|}}}|[[File:{{{portrait|}}}|320px|frameless]]}}</span> | ! style="text-align: center; margin-left: 1em;padding:3px;", colspan="2"|<span>{{#if:{{{portrait|}}}|[[File:{{{portrait|}}}|320px|frameless]]}}</span> | ||
|- | |- | ||
− | + | {{#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|}}}|<tr><th>Birth</th><td>{{{ | + | -->{{#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:{{{ | + | -->{{#if:{{{birth_date|}}}||{{#if:{{{birth_place|}}}|<tr><th>Birth</th><td>{{{birth_place|}}}</td></tr>}} }}<!-- |
− | -->{{#if:{{{death_date|}}}|<tr><th>Death</th><td>{{{ | + | -->{{#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:{{{ | + | -->{{#if:{{{death_date|}}}||{{#if:{{{death_place|}}}|<tr><th>Death</th><td>{{{death_place|}}}</div></td></tr>}} }}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{burial_place|}}}|<tr><th>Buried</th><td><div style="line-height:1.2em;";>{{{burial_place|}}}</div></td></tr>}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{nationality|}}}|<tr><th>Nationality</th><td><div style="line-height:1.2em;";>{{{nationality|}}}</div></td></tr>}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{alma_mater|}}}|<tr><th>Alma Mater</th><td><div style="line-height:1.2em;";>{{{alma_mater|}}}</div></td></tr>}}<!-- |
− | -->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td> | + | -->{{#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:{{{spouse|}}}|<tr><th>Spouse</th><td><div style="line-height:1.2em;";>{{{spouse|}}}</div></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|}}}|<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]] | ||
</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.