Difference between revisions of "Template:ocl"
Jump to navigation
Jump to search
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#switch: {{{2}}} | + | {{#switch:{{{2|}}} |
| − | |sup=<sup>[[File:OpenCorporates-sm.svg|12x10px|link={{{1}}}]]</sup> | + | |sup = <sup>[[File:OpenCorporates-sm.svg|12x10px|link={{{1}}}]]</sup> |
| − | | | + | |link = <span class="plainlinks">[{{{1}}} {{{3}}}]</span><sup>[[File:OpenCorporates-sm.svg|12x10px]]</sup> |
| − | |#default=[[File:OpenCorporates-sm.svg|16x13px|link={{{1}}}]] | + | |#default = [[File:OpenCorporates-sm.svg|16x13px|link={{{1}}}]] |
| − | }} | + | }}<noinclude>{{doc2}}</noinclude> |
Latest revision as of 21:57, 6 June 2020
[edit] Documentation
Usage
A small template for in-line linking to OpenCorporates.
There are three modes of operation; with each, the link is passed as the first parameter.
The image can be optionally rendered with <sup>...</sup>:
Alternatively, text can be passed as a link:
- {{ocl|https://url/to/opencorporates/page|link|Company Name Ltd}}, gives: Company Name Ltd
