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> |
| − | |co=<span class="plainlinks">[{{{1}}} {{{co}}}]</span><sup>[[File:OpenCorporates-sm.svg|12x10px]]</sup> | + | |co = <span class="plainlinks">[{{{1}}} {{{co}}}]</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> |
Revision as of 20:33, 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: