Template:Software/logo: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "[[File:{{{1}}}|64px]]<noinclude> ==Usage== <pre>{{software/logo|Filename.ext}}</pre></noinclude>")
 
m (Additional code)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:{{{1}}}|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.