Difference between revisions of "Template:Arch"

From DAS Wiki
Line 9: Line 9:
 
|death_date=
 
|death_date=
 
|death_place=
 
|death_place=
 +
|nationality=
 +
|alma_mater=
 
|spouse=
 
|spouse=
 
|signature=
 
|signature=
 +
|awards=
 +
|significant_design=
 
}}
 
}}
 
</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|spouse=Page|signature=File}}
+
{{#cargo_declare:_table=Arch|portrait=File|birth_date=Date|birth_place=string|death_date=Date|death_place=string|nationality=string|alma_mater=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|}}}|spouse={{{spouse|}}}|signature={{signature|}}} }}{| 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|}}}|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> -->
 
<!-- ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> -->
 
|-
 
|-
Line 21: Line 25:
 
! 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>}}
 
|-
 
|-
! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{birth_date|}}}{{{death_date|}}}{{{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>
 
|-
 
|-
 
! Born
 
! Born
| {{{birth_date|}}}
+
| {{#if:{{{birth_date|}}}|{{{birth_date|}}}}}
 
|-
 
|-
 
!
 
!
| {{{birth_place|}}}
+
| {{#if:{{{birth_place|}}}|{{{birth_place|}}}}}
 
|-
 
|-
 
! Died
 
! Died
| {{{death_date|}}}
+
| {{#if:{{{death_date|}}}|{{{death_date|}}}}}
 
|-
 
|-
 
!  
 
!  
| {{{death_place|}}}
+
| {{#if:{{{death_place|}}}|{{{death_place|}}}}}
 
|-
 
|-
 +
! Nationality
 +
| {{#if:{{{nationality|}}}|[[{{{nationality|}}}]]}}
 +
|-
 +
! Alma Mater
 +
| {{#if:{{{alma_mater|}}}|[[{{{alma_mater|}}}]]}}
 
|-
 
|-
 
! Spouse
 
! Spouse
Line 41: Line 50:
 
! Signature
 
! Signature
 
| {{#if:{{{signature|}}}|[[File:{{{signature|}}}]]}}
 
| {{#if:{{{signature|}}}|[[File:{{{signature|}}}]]}}
 +
|-
 +
! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{awards|}}}{{{significant_design|}}}|Professional Accomplishments}}</span>
 +
|-
 +
! Awards
 +
| {{#if:{{{awards|}}}|{{{awards|}}}}}
 +
|-
 +
! Significant Design
 +
| {{#if:{{{significant_design|}}}|{{{significant_design|}}}}}
 +
|-
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revision as of 18:29, April 18, 2021

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

{{Arch
|portrait=
|birth_date=
|birth_place=
|death_date=
|death_place=
|nationality=
|alma_mater=
|spouse=
|signature=
|awards=
|significant_design=
}}

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|spouse=Page|signature=File}|awards=string|significant_design=string}