Template:ScaledDown: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
m (try again)
mNo edit summary
Line 1: Line 1:
{| align="{{{align|center}}}"
{| align="{{{4|center}}}"
  |[[Image:{{{1}}}|{{{2|Click here to see a larger version}}}|{{{3|465}}}px]]
  |[[Image:{{{1}}}|{{{2|Click here to see a larger version}}}|{{{3|465}}}px]]
  |-
  |-
Line 16: Line 16:
{{ScaledDown|Buybomber.png|Purchasing ships}}
{{ScaledDown|Buybomber.png|Purchasing ships}}


<pre>{{ScaledDown|Buybomber.png|Purchasing ships|300|align=right}}</pre>
<pre>{{ScaledDown|Buybomber.png|Purchasing ships|300|right}}</pre>
produces:
produces:
{{ScaledDown|Buybomber.png|Purchasing ships|300|right}}
{{ScaledDown|Buybomber.png|Purchasing ships|300|right}}


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

Revision as of 03:00, 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|align=left,right, or center}}


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