Template:Software/logo: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
m (Minor code fix)
m (Additional code)
 
Line 1: Line 1:
[[File:{{{1}}}|{{{logo size|64px}}}]]<noinclude>
[[File:{{{1}}}|{{{2|48px}}}]]<noinclude>
==Usage==
==Usage==
<pre>{{software/logo|Filename.ext}}</pre></noinclude>
<pre>{{software/logo|ImageName.ext}}</pre>
 
This template has an additional parameter (which can be added after the file name) for image size:
 
<pre>{{software/logo|ImageName.ext|96px}}</pre>
 
If the size parameter is not used, the image defaults to a width of 48px.
</noinclude>

Latest revision as of 16:59, 26 January 2015

[[File:{{{1}}}|48px]]

Usage

{{software/logo|ImageName.ext}}

This template has an additional parameter (which can be added after the file name) for image size:

{{software/logo|ImageName.ext|96px}}

If the size parameter is not used, the image defaults to a width of 48px.