Sablon:Icon/3ds

Innen: Terraria Wiki
Ugrás a navigációhoz Ugrás a kereséshez

3DS version

Displays a linked 3ds icon, which when clicked, takes the user to the 3DS version page. The link can be removed with the parameter "nl" .

Usage

All parameters are optional.

{{icon/3ds
|nl=y/yes: un-links the icon; default is a linked icon
|size= ##; size in px. equal to width=## AND height=##, the image will be resized to fit within the given width and height in pixels. Default is currently 32(px) and can be found here: File:3DS.svg.
|width= ##; will override size=## in horizontal dimension. Default is currently 32(px) and can be found here: File:3DS.svg.
|height= ##; will override size=## in vertical dimension. Default is currently 10(px) and can be found here: File:3DS.svg.
|scale= scale ratio; default is 1. Size dimension will be multiplied by this ratio.
|small= y/yes; creates a smaller icon (of 24px by default), equal to scale=0.75. This will be overrided by scale=xx. (useful when space is an issue)
}}

Note that the image will always retain its aspect ratio.

Examples

code displays clickable note
{{icon/3ds}} 3DS version Yes
{{icon/3ds | small=y }} 3DS version
{{icon/3ds | scale=0.5 }} 3DS version
{{icon/3ds | size=40 | scale=0.5 }} 3DS version equal to {{icon/3ds | size=20}}
{{icon/3ds | width=16 | height=30}} 3DS version image will fit within the rectangle and retain its aspect ratio.
{{icon/3ds | nl=y }} 3DS version No not clickable.
{{icon/3ds | nl=y | size=20 }} 3DS version