Difference between revisions of "Template:Firm"

From DAS Wiki
Line 13: Line 13:
 
|location=
 
|location=
 
|founded=
 
|founded=
 +
|founded_approx=
 
|dissolved=
 
|dissolved=
 +
|dissolved_approx=
 
|awards=
 
|awards=
 
|significant_projects=
 
|significant_projects=
Line 30: Line 32:
 
|location=String
 
|location=String
 
|founded=start date
 
|founded=start date
 +
|founded_approx=Boolean
 
|dissolved=end date
 
|dissolved=end date
 +
|dissolved_approx=Boolean
 
|awards=List (;) of String
 
|awards=List (;) of String
 
|significant_projects=List (;) of Page
 
|significant_projects=List (;) of Page
Line 44: Line 48:
 
|location={{{location|}}}
 
|location={{{location|}}}
 
|founded={{{founded|}}}
 
|founded={{{founded|}}}
 +
|founded_approx={{{founded_approx|}}}
 
|dissolved={{{dissolved|}}}
 
|dissolved={{{dissolved|}}}
 +
|dissolved_approx={{{dissolved_approx|}}}
 
|awards={{{awards|}}}
 
|awards={{{awards|}}}
 
|significant_projects={{{significant_projects|}}}
 
|significant_projects={{{significant_projects|}}}
Line 57: Line 63:
 
-->{{#if:{{{logo|}}}|<tr><td colspan="2"><span>[[File:{{{logo|}}}|320px|frameless]]</span></td></tr>}}<!--
 
-->{{#if:{{{logo|}}}|<tr><td colspan="2"><span>[[File:{{{logo|}}}|320px|frameless]]</span></td></tr>}}<!--
 
-->{{#if:{{{location|}}}|<tr><th>Location</th><td><div style="line-height:1.2em;";>{{{location|}}}</div></td></tr>}}<!--
 
-->{{#if:{{{location|}}}|<tr><th>Location</th><td><div style="line-height:1.2em;";>{{{location|}}}</div></td></tr>}}<!--
-->{{#if:{{{founded|}}}{{{dissolved|}}}|<tr><th>Timespan</th><td>{{{founded|}}}-{{{dissolved|}}}</td></tr>}}<!--
+
-->{{#if:{{{founded|}}}{{{dissolved|}}}|<tr><th>Timespan</th><td>{{yesno|{{{founded_approx|}}}|yes=Abt:&nbsp;}}{{{founded|}}}-{{yesno|{{{dissolved_approx|}}}|yes=Abt:&nbsp;}}{{{dissolved|}}}</td></tr>}}<!--
 
-->{{#if:{{{firm_type|}}}|<tr><th>Practice Type</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{firm_type|}}}|,|x|x}}</div></td></tr>}}<!--
 
-->{{#if:{{{firm_type|}}}|<tr><th>Practice Type</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{firm_type|}}}|,|x|x}}</div></td></tr>}}<!--
 
-->{{#if:{{{website|}}}|<tr><th>Website</th><td><div style="line-height:1.2em;";>{{{website|}}}</div></td></tr>}}<!--
 
-->{{#if:{{{website|}}}|<tr><th>Website</th><td><div style="line-height:1.2em;";>{{{website|}}}</div></td></tr>}}<!--

Revision as of 10:16, June 21, 2021

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

{{Firm
|logo=
|image=
|firm_type=
|founders=
|antecedents=
|successors=
|personnel=
|location=
|founded=
|founded_approx=
|dissolved=
|dissolved_approx=
|awards=
|significant_projects=
|website=
}}

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