Template:Infobox company: Difference between revisions
From TwogPedia
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|250px]]</div>}} <table>{{#if:{{{headquarter|}}}|<tr> <th style="text-align:left;">Location</th> <td>{{{headquarter}}}</td> </tr>}}{{#if:{{{founded|}}}|<tr> <th style="text-align:left;">Founded</th> <td>{{{founded}}}</td> </tr>}}{{#if:{{{type|}}}|<tr> <th style="text-align:left;">Type</th> <td>{{{type}}}...") |
No edit summary Tag: Manual revert |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <templatestyles src="Infobox.css" /> | ||
< | <noinclude>{{#cargo_declare: | ||
_table = Companies | |||
|country=String | |||
|parentcompany=Page | |||
|closed=Boolean | |||
< | |closedDate = Date | ||
|db_type=List (,) of String | |||
|logo=File | |||
}}</noinclude><includeonly>{{#cargo_store: _table = Companies |parentcompany={{#if: {{{parentcompany|}}} | Companies/{{{parentcompany|}}} }} | |||
|closed={{#if: {{{closed|}}} | Yes | No }} | |||
|closedDate={{{closed|}}} | |||
|logo={{{logoAll|}}} | |||
}}{{#invoke:Infobox company|main}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude> | |||
</ |
Latest revision as of 21:09, 16 April 2025
This template defines the table "Companies". View table.
Documentation (view - edit)
To add a company go to https://twogpedia.com/Form:Company and to edit a company just use the "Edit with form" button.
For a list of country codes / names check https://twogpedia.com/Module:Localisation/Data
For additional links check https://twogpedia.com/Module:Links