Difference between revisions of "Template:tree node/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
m (→‎Usage)
Line 6: Line 6:
 
* [[ComplEat Food Group Ltd]]
 
* [[ComplEat Food Group Ltd]]
 
* [[Associated British Foods plc]]
 
* [[Associated British Foods plc]]
 +
 +
Possible "li" classes: [ first | last | holdco | dormant | header | <empty>]
  
 
Example:
 
Example:
 
<pre>
 
<pre>
 
<ul class="tree">
 
<ul class="tree">
−
{{tree node|em=Winterbotham Darby:|name=Winterbotham Darby & Co. Ltd.|sh=100%|txt=Food distribution.|ws=https://www.winterbothamdarby.com/|ch=00736901|oc=gb/00736901|png=Winterbotham-Darby-opt.svg|w=107|h=20}}
+
<li>{{tree node|em=Winterbotham Darby:|name=Winterbotham Darby & Co. Ltd.|sh=100%|txt=Food distribution.|ws=https://www.winterbothamdarby.com/|ch=00736901|oc=gb/00736901|png=Winterbotham-Darby-opt.svg|w=107|h=20}}</li>
 
</ul>
 
</ul>
 
</pre>
 
</pre>
Line 16: Line 18:
 
The parameters are:
 
The parameters are:
 
<pre>
 
<pre>
−
class  - Choices: [ first | last | holdco | dormant | header | <empty>]
 
 
em      - puts the text in colour (optional)
 
em      - puts the text in colour (optional)
 
name    - Company name (optional)
 
name    - Company name (optional)

Revision as of 15:05, 30 August 2018

<< Template:tree node

Usage

Template for a tree entry.

Usage examples:

Possible "li" classes: [ first | last | holdco | dormant | header | <empty>]

Example:

<ul class="tree">
 <li>{{tree node|em=Winterbotham Darby:|name=Winterbotham Darby & Co. Ltd.|sh=100%|txt=Food distribution.|ws=https://www.winterbothamdarby.com/|ch=00736901|oc=gb/00736901|png=Winterbotham-Darby-opt.svg|w=107|h=20}}</li>
</ul>

The parameters are:

em      - puts the text in colour (optional)
name    - Company name (optional)
sh      - Percentage of shareholding by parent company (optional)
txt     - Text (optional)
ch      - Companies House registration number (optional)
oc      - Open Corporates listing
hr      - Handelsregister (Germany, payfor)
ws      - Website (optional)
img     - Company's logo (optional)

The example above will give:

  • Winterbotham Darby & Co. Ltd. Winterbotham Darby: (100%) Food distribution. CH OC website