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

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
m
Line 9: Line 9:
 
Example:
 
Example:
 
<pre>
 
<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>
+
<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}} }}</li>
 
</pre>
 
</pre>
  

Revision as of 03:12, 9 July 2018

<< Template:tree node

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}} }}</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: