Difference between revisions of "Template:Arch"
From DAS Wiki
Line 21: | Line 21: | ||
{{#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=Page|signature=File|awards=string|significant_design=string}} | {{#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=Page|signature=File|awards=string|significant_design=string}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Arch|portrait={{{portrait|}}}|birth_date={{{birth_date|}}}|birth_place={{{birth_place|}}}|death_date={{{death_date|}}}|death_place={{{death_place|}}}|nationality={{{nationality|}}}|alma_mater={{{alma_mater|}}}|burial_place={{{burial_place|}}}|spouse={{{spouse|}}}|signature={{{signature|}}}|awards={{{awards|}}}|significant_design={{{significant_design|}}} }}{| style="width: 20em; 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;" | </noinclude><includeonly>{{#cargo_store:_table=Arch|portrait={{{portrait|}}}|birth_date={{{birth_date|}}}|birth_place={{{birth_place|}}}|death_date={{{death_date|}}}|death_place={{{death_place|}}}|nationality={{{nationality|}}}|alma_mater={{{alma_mater|}}}|burial_place={{{burial_place|}}}|spouse={{{spouse|}}}|signature={{{signature|}}}|awards={{{awards|}}}|significant_design={{{significant_design|}}} }}{| style="width: 20em; 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" |<span style="font-size: larger;">{{PAGENAME}}</span> | |
|- | |- | ||
<!-- | {{#if:{{{portrait|}}}|[[File:{{{portrait|}}}|200px]]}} --> | <!-- | {{#if:{{{portrait|}}}|[[File:{{{portrait|}}}|200px]]}} --> | ||
Line 27: | Line 27: | ||
|- | |- | ||
! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{birth_date|}}}{{{death_date|}}}{{{nationality|}}}{{{spouse|}}}{{{signature|}}}|General information}}</span> | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{birth_date|}}}{{{death_date|}}}{{{nationality|}}}{{{spouse|}}}{{{signature|}}}|General information}}</span> | ||
− | + | {{#if:{{{birth_date|}}}|<tr><th>Birth Date</th><td>{{{birth_date|}}}</td></tr>}}{{#if:{{{birth_place|}}}|<tr><th> </th><td>{{{birth_place|}}}</td></tr>}}{{#if:{{{death_date|}}}|<tr><th>Death</th><td>{{{death_date|}}}</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:{{{spouse|}}}|<tr><th>Spouse</th><td>[[{{{spouse|}}}]]</td></tr>}}{{#if:{{{signature|}}}|<tr><th>Signature</th><td>File:{{{signature|}}}</td></tr>}} | |
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{awards|}}}{{{significant_design|}}}|Professional Accomplishments}}</span> | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{awards|}}}{{{significant_design|}}}|Professional Accomplishments}}</span> | ||
− | + | {{#if:{{{awards|}}}|<tr><th>Awards</th><td>[[{{{awards|}}}]]</td></tr>}}{{#if:{{{significant_design|}}}|<tr><th>Significant Design</th><td>File:{{{significant_design|}}}</td></tr>}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 22:21, April 21, 2021
This is the "Arch" template. It should be called in the following format:
{{Infobox Arch |portrait= |birth_date= |birth_place= |death_date= |death_place= |nationality= |alma_mater= |burial_place= |spouse= |signature= |awards= |significant_design= }}
Edit the page to see the template text. This template defines the table "Arch". View table.