Difference between revisions of "Template:tree node/doc"
Jump to navigation
Jump to search
m (→Usage) |
m (→Usage) |
||
| Line 7: | Line 7: | ||
* [[Associated British Foods plc]] | * [[Associated British Foods plc]] | ||
| − | <li>{{tree node|Winterbotham Darby & Co. Ltd|sh=100%|txt=Food distribution|ws=https://www.winterbothamdarby.com/|cn=00736901|{{img|Winterbotham-Darby-opt.svg|107|20|float=none}} }} | + | Example: |
| − | + | <pre> | |
| + | <li>{{tree node|Winterbotham Darby & Co. Ltd|sh=100%|txt=Food distribution|ws=https://www.winterbothamdarby.com/|cn=00736901|{{img|Winterbotham-Darby-opt.svg|107|20|float=none}} }}</li> | ||
| + | </pre> | ||
The parameters are: | The parameters are: | ||
<pre> | <pre> | ||
| − | {{{1}}} - | + | {{{1}}} - Company name |
| − | + | sh - Percentage of shareholding by parent company (optional) | |
| − | + | txt - Text (optional) | |
| + | ws - Website (optional) | ||
| + | cn - Company registration number (optional) | ||
| + | img - Company's logo (optional) | ||
</pre> | </pre> | ||
| + | |||
| + | The example above will give: | ||
| + | <ul class="tree"> | ||
| + | <li class="first">{{tree node|Winterbotham Darby & Co. Ltd|sh=100%|txt=Food distribution|ws=https://www.winterbothamdarby.com/|cn=00736901|{{img|Winterbotham-Darby-opt.svg|107|20|float=none}} }}</li> | ||
| + | </ul> | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 02:57, 9 July 2018
Usage
Template for a tree entry.
Usage examples:
Example:
<li>{{tree node|Winterbotham Darby & Co. Ltd|sh=100%|txt=Food distribution|ws=https://www.winterbothamdarby.com/|cn=00736901|{{img|Winterbotham-Darby-opt.svg|107|20|float=none}} }}</li>
The parameters are:
{{{1}}} - Company name
sh - Percentage of shareholding by parent company (optional)
txt - Text (optional)
ws - Website (optional)
cn - Company registration number (optional)
img - Company's logo (optional)
The example above will give:
- (100%) Food distribution website