Template:CompanyCargo: Difference between revisions

Schang1146 (talk | contribs)
No edit summary
Schang1146 (talk | contribs)
Formatting
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
| Logo          = File
| Logo          = File
| ParentCompany = Page
| ParentCompany = Page
| Type          = String (allowed values=Public,Private,Government,Non-Profit,Other)
| Type          = String
| Website      = List (,) of URL
| Website      = List (,) of URL
}}
}}
Line 48: Line 48:
"Private",
"Private",
                 "Government",
                 "Government",
                 "Non-Profit",
                 "Non-Profit"
                "Other"
]
]
},
},
Line 68: Line 67:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<includeonly><!--


<includeonly>
-->{{#cargo_store:_table=Company
{{#cargo_store:_table=Company
| Founded      = {{{Founded|}}}
| Founded      = {{{Founded|}}}
| Industry      = {{{Industry|}}}
| Industry      = {{{Industry|}}}
Line 78: Line 77:
| Website      = {{{Website|}}}
| Website      = {{{Website|}}}
| Description  = {{{Description|}}}
| Description  = {{{Description|}}}
}}
}}<!--
<div class="infobox">
 
  <div style="display: flex; gap: 8px; flex-direction: column">
// company infobox element
--><div class="infobox">
    <div style="display: flex; gap: 8px; flex-direction: column">
     <div class="infobox-title">{{PAGENAME}}</div>
     <div class="infobox-title">{{PAGENAME}}</div>
     <div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div>
     <div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div>
Line 101: Line 102:
       <tr>
       <tr>
         <th>{{nowrap|Official website}}</th>
         <th>{{nowrap|Official website}}</th>
         <td>{{{Website|}}}</td>
         <td>{{#explode:{{{Website|}}}|,|0}}</td>
       </tr>
       </tr>
     </table>
     </table>
   </div>
   </div>
</div>
</div><!--
</includeonly>
 
--></includeonly>