Difference between revisions of "Template:Firm"

From DAS Wiki
 
(2 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
|significant_projects=List (;) of Page
 
|significant_projects=List (;) of Page
 
|website=URL}}
 
|website=URL}}
</noinclude><includeonly>__NOCACHE__{{#cargo_store:_table=Firms
+
</noinclude><includeonly>__NOCACHE__{{#default_form:Edit Firm}}{{#cargo_store:_table=Firms
 
|logo={{{logo|}}}
 
|logo={{{logo|}}}
 
|image={{{image|}}}
 
|image={{{image|}}}
Line 55: Line 55:
 
|website={{{website|}}}
 
|website={{{website|}}}
 
}}
 
}}
{| style="width: 24em; 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;"
+
{| 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>
 
|-
 
|-
Line 67: Line 67:
 
-->{{#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>}}<!--
 
-->{{#if:{{{founders|}}}{{{personnel|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Personnel</th></tr>}}<!--
 
-->{{#if:{{{founders|}}}{{{personnel|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Personnel</th></tr>}}<!--
-->{{#if:{{{founders|}}}|<tr><th>Founders</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{founders|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
+
-->{{#if:{{{founders|}}}|<tr><th>Founders</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{founders|}}}|;|x|{{#formredlink:target=x|form=New Architect}}}}</div></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:{{{antecedents|}}}|<tr><th>Antecedent Firm(s)</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{antecedents|}}}|;|x|{{#formredlink:target=x|form=Firm}}}}</div></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:{{{successors|}}}|<tr><th>Successor Firm(s)</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{successors|}}}|;|x|{{#formredlink:target=x|form=Firm}}}}</div></td></tr>}}<!--
-->{{#if:{{{personnel|}}}|<tr><th>Key people</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{personnel|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
+
-->{{#if:{{{personnel|}}}|<tr><th>Key people</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{personnel|}}}|;|x|{{#formredlink:target=x|form=New Architect}}}}</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><div style="line-height:1.2em;";>{{{awards|}}}</div></td></tr>}}<!--
 
-->{{#if:{{{awards|}}}|<tr><th>Awards</th><td><div style="line-height:1.2em;";>{{{awards|}}}</div></td></tr>}}<!--

Latest revision as of 09:13, July 18, 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.