Difference between revisions of "Template:ocl"
Jump to navigation
Jump to search
| 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> | ||
| − | |txt = <span class="plainlinks">[{{{1}}} {{{ | + | |txt = <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> | }}<noinclude>{{doc2}}</noinclude> | ||
Revision as of 21:56, 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: