Difference between revisions of "Template:Firm"

From DAS Wiki
Line 42: Line 42:
 
{{#if:{{{logo|}}}{{{location|}}}{{{founded|}}}{{{dissolved|}}}{{{firm_type|}}}{{{website|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">General Information</th></tr>}}<!--
 
{{#if:{{{logo|}}}{{{location|}}}{{{founded|}}}{{{dissolved|}}}{{{firm_type|}}}{{{website|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">General Information</th></tr>}}<!--
 
-->{{#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>{{{location|}}}</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>{{{founded|}}}-{{{dissolved|}}}</td></tr>}}<!--
-->{{#if:{{{firm_type|}}}|<tr><th>Practice Type</th><td>{{#arraymap:{{{firm_type|}}}|,|x|x}}</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>{{{website|}}}</td></tr>}}<!--
+
-->{{#if:{{{website|}}}|<tr><th>Website</th><td><div style="line-height:1.2em;";>{{{website|}}}</div></td></tr>}}<!--
 
-->{{#if:{{{founders|}}}{{{architects|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Personnel</th></tr>}}<!--
 
-->{{#if:{{{founders|}}}{{{architects|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Personnel</th></tr>}}<!--
-->{{#if:{{{founders|}}}|<tr><th>Founders</th><td>{{#arraymap:{{{founders|}}}|;|x|[[x]]}}</td></tr>}}<!--
+
-->{{#if:{{{founders|}}}|<tr><th>Founders</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{founders|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
-->{{#if:{{{antecedents|}}}|<tr><th>Antecedent Firm(s)</th><td>{{#arraymap:{{{antecedents|}}}|;|x|[[x]]}}</td></tr>}}<!--
+
-->{{#if:{{{antecedents|}}}|<tr><th>Antecedent Firm(s)</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{antecedents|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
-->{{#if:{{{successors|}}}|<tr><th>Successor Firm(s)</th><td>{{#arraymap:{{{successors|}}}|;|x|[[x]]}}</td></tr>}}<!--
+
-->{{#if:{{{successors|}}}|<tr><th>Successor Firm(s)</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{successors|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
-->{{#if:{{{architects|}}}|<tr><th>Key people</th><td>{{#arraymap:{{{architects|}}}|;|x|[[x]]}}</td></tr>}}<!--
+
-->{{#if:{{{architects|}}}|<tr><th>Key people</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{architects|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
 
-->{{#if:{{{awards|}}}{{{significant_projects|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Achievements</th></tr>}}<!--
 
-->{{#if:{{{awards|}}}{{{significant_projects|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Achievements</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_projects|}}}|<tr><th>Significant Projects</th><td>{{#arraymap:{{{significant_projects|}}}|,|x|[[x]]}}</td></tr>}}
+
-->{{#if:{{{significant_projects|}}}|<tr><th>Significant Projects</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{significant_projects|}}}|,|x|[[x]]}}</div></td></tr>}}
 
|}
 
|}
  
 
[[Category:Firms]]
 
[[Category:Firms]]
 
</includeonly>
 
</includeonly>

Revision as of 17:33, May 28, 2021

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

{{Firm
|name=
|logo=
|image=
|firm_type=
|founders=
|antecedents=
|successors=
|architects=
|location=
|founded=
|dissolved=
|awards=
|significant_projects=
|website=
}}

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