Template:ScaledDown: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
No edit summary
(more features)
Line 1: Line 1:
{| align="center"
{| align="center"
  |[[Image:{{{1}}}|{{{2|Click here to see a larger version}}}|465px]]
  |[[Image:{{{1}}}|{{{2|Click here to see a larger version}}}|{{{3|465}}}px]]
  |-
  |-
  |align="center"|<span style="font-size:7pt;line-height:100%;color:#808080">Click on the image to view [[:Image:{{{1}}}|a larger version]]. [[Image:popup.png]]</span>
  |align="{{{align|center}}}"|<span style="font-size:7pt;line-height:100%;color:#808080">Click on the image to view [[:Image:{{{1}}}|a larger version]]. [[Image:popup.png]]</span>
  |}<noinclude>
  |}<noinclude>
==Purpose==
Scales a picture down. By default it makes it 465 pixels and floats it in the centre.
==Usage==
==Usage==
Scales a pic down to 465 pixels and floats it in the centre.
<pre>{{ScaledDown|image name|caption|pixels|alignment}}</pre>
<pre>{{ScaledDown|Buybomber.png|Purchasing ships}}</pre>
 
==Examples==
<pre>{{ScaledDown|Buybomber.png}}</pre>
produces:
produces:
{{ScaledDown|Buybomber.png|Purchasing ships}}
{{ScaledDown|Buybomber.png|Purchasing ships}}
<pre>{{ScaledDown|BuyBomber.png|Purchasing ships|300|right}}</pre>
produces:
{{ScaledDown|BuyBomber.png|Purchasing ships|300|right}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]

Revision as of 03:55, 20 June 2009

[[Image:{{{1}}}|Click here to see a larger version|465px]]
Click on the image to view [[:Image:{{{1}}}|a larger version]]. Popup.png

Purpose

Scales a picture down. By default it makes it 465 pixels and floats it in the centre.

Usage

{{ScaledDown|image name|caption|pixels|alignment}}

Examples

{{ScaledDown|Buybomber.png}}

produces:

Purchasing ships
Click on the image to view a larger version. Popup.png
{{ScaledDown|BuyBomber.png|Purchasing ships|300|right}}

produces:

Purchasing ships
Click on the image to view a larger version. Popup.png