Šablonas:Sprite
#if:|
}}{{
#if: Lua logo.svg|
}}{{
#if: Lua logo.svg|
}}
#if:
| {{{title}}} {{
#if:
| [[{{fullurl:{{
#if:
| {{{discussPage}}}
| Šablono aptarimas:Sprite
}}{{
#if:
| #{{{discussAnchor}}}
}}|{{#if:|{{{qs}}}|{{#sub:{{
#if: | &action={{{action}}}
}}{{
#if: | &redirect={{{redirect}}}
}}{{
#if: | &profile={{{profile}}}
}}|1}}}}}} discuss]
}}
}}{{
#if: | {{#if:|, links]|[links]}} | {{ #if: |] }}
}} {{
#if: This {{#ifeq:10|828|module depends on|template uses}} [[Module:]], {{ #if: | with data stored in [[Module:]]{{ #if: | and [[Module:]] }} | a script written in Lua }}.|
{{ #if: | These scripts are written in Lua. }}
{{ #if: | These scripts are written in Lua. }}
}}
- if:
| | {{#switch: Sprite
| doc | sandbox | testcases = | {{#switch: 10 | 0 | 10 = }} }}
}} This template creates a sprite from a sheet image. Commonly used when many small images are displayed on one page to reduce the total amount of HTTP connections.
Examples[redaguoti vikitekstą]
{{Sprite |pos=1 |align=text-top |image=BlockCSS.png |link=Grass Block |text=Grass |size=16 |sheetsize=256 }}
gives: Grass
Parameter | Function | Default value |
---|---|---|
align |
Sets the vertical alignment of the image to the text. | middle |
class |
Add additional classes to .sprite | None |
css |
Add styling to .sprite | None |
defaultpos |
The default position used if no position is set. | 1 |
image |
Sprite sheet image, without prefix | None |
link |
Create a link to this page | None |
name
|
Sets the name for this spritesheet, used to:
|
None |
pos |
Position index of the sprite, depends on size and sheetsize (left to right, starting at top-left sprite) |
defaultpos
|
scale |
Scale the sprite larger or smaller | 1 |
sheetsize |
Width of the whole sheet in pixels. Must be multiple of size |
256 |
size |
Size of each sprite in pixels, width and height | 16 |
text |
Show some text after the sprite, if link is set, this text will also be linked. |
None |
title |
Set a title to be displayed when hovering over the sprite or text, overrides the link's title. | None |
See also[redaguoti vikitekstą]
- Minecraft
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: BiomeSprite | : }} || Template: }}BiomeSprite|{{ #ifeq: | Template | BiomeSprite | BiomeSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: BiomeSprite | File: }}{{#pos: BiomeSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: BlockSprite | : }} || Template: }}BlockSprite|{{ #ifeq: | Template | BlockSprite | BlockSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: BlockSprite | File: }}{{#pos: BlockSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: EffectSprite | : }} || Template: }}EffectSprite|{{ #ifeq: | Template | EffectSprite | EffectSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: EffectSprite | File: }}{{#pos: EffectSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: EntitySprite | : }} || Template: }}EntitySprite|{{ #ifeq: | Template | EntitySprite | EntitySprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: EntitySprite | File: }}{{#pos: EntitySprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: EnvSprite | : }} || Template: }}EnvSprite|{{ #ifeq: | Template | EnvSprite | EnvSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: EnvSprite | File: }}{{#pos: EnvSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: ItemSprite | : }} || Template: }}ItemSprite|{{ #ifeq: | Template | ItemSprite | ItemSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: ItemSprite | File: }}{{#pos: ItemSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: InvSprite | : }} || Template: }}InvSprite|{{ #ifeq: | Template | InvSprite | InvSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: InvSprite | File: }}{{#pos: InvSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: SchematicSprite | : }} || Template: }}SchematicSprite|{{ #ifeq: | Template | SchematicSprite | SchematicSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: SchematicSprite | File: }}{{#pos: SchematicSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: SlotSprite | : }} || Template: }}SlotSprite|{{ #ifeq: | Template | SlotSprite | SlotSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: SlotSprite | File: }}{{#pos: SlotSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: AchievementSprite | : }} || Template: }}AchievementSprite|{{ #ifeq: | Template | AchievementSprite | AchievementSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: AchievementSprite | File: }}{{#pos: AchievementSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: NewAchievementSprite | : }} || Template: }}NewAchievementSprite|{{ #ifeq: | Template | NewAchievementSprite | NewAchievementSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: NewAchievementSprite | File: }}{{#pos: NewAchievementSprite | Category: }} | }}
- Minecraft (legacy)
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: LegacyBlockSprite | : }} || Template: }}LegacyBlockSprite|{{ #ifeq: | Template | LegacyBlockSprite | LegacyBlockSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: LegacyBlockSprite | File: }}{{#pos: LegacyBlockSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: LegacyEntitySprite | : }} || Template: }}LegacyEntitySprite|{{ #ifeq: | Template | LegacyEntitySprite | LegacyEntitySprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: LegacyEntitySprite | File: }}{{#pos: LegacyEntitySprite | Category: }} | }}
- Minecraft Dungeons
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsLevelSprite | : }} || Template: }}DungeonsLevelSprite|{{ #ifeq: | Template | DungeonsLevelSprite | DungeonsLevelSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsLevelSprite | File: }}{{#pos: DungeonsLevelSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsEnchantmentSprite | : }} || Template: }}DungeonsEnchantmentSprite|{{ #ifeq: | Template | DungeonsEnchantmentSprite | DungeonsEnchantmentSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsEnchantmentSprite | File: }}{{#pos: DungeonsEnchantmentSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsEffectSprite | : }} || Template: }}DungeonsEffectSprite|{{ #ifeq: | Template | DungeonsEffectSprite | DungeonsEffectSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsEffectSprite | File: }}{{#pos: DungeonsEffectSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsEntitySprite | : }} || Template: }}DungeonsEntitySprite|{{ #ifeq: | Template | DungeonsEntitySprite | DungeonsEntitySprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsEntitySprite | File: }}{{#pos: DungeonsEntitySprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsItemSprite | : }} || Template: }}DungeonsItemSprite|{{ #ifeq: | Template | DungeonsItemSprite | DungeonsItemSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsItemSprite | File: }}{{#pos: DungeonsItemSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsAchievementSprite | : }} || Template: }}DungeonsAchievementSprite|{{ #ifeq: | Template | DungeonsAchievementSprite | DungeonsAchievementSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsAchievementSprite | File: }}{{#pos: DungeonsAchievementSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: DungeonsMiscellaneousSprite | : }} || Template: }}DungeonsMiscellaneousSprite|{{ #ifeq: | Template | DungeonsMiscellaneousSprite | DungeonsMiscellaneousSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: DungeonsMiscellaneousSprite | File: }}{{#pos: DungeonsMiscellaneousSprite | Category: }} | }}
- Other
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: Sprite | : }} || Template: }}Sprite|{{ #ifeq: | Template | Sprite | Sprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: Sprite | File: }}{{#pos: Sprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: Sprite grid | : }} || Template: }}Sprite grid|{{ #ifeq: | Template | Sprite grid | Sprite grid }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: Sprite grid | File: }}{{#pos: Sprite grid | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: Layered blueprint | : }} || Template: }}Layered blueprint|{{ #ifeq: | Template | Layered blueprint | Layered blueprint }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: Layered blueprint | File: }}{{#pos: Layered blueprint | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: Schematic | : }} || Template: }}Schematic|{{ #ifeq: | Template | Schematic | Schematic }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: Schematic | File: }}{{#pos: Schematic | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: CommentSprite | : }} || Template: }}CommentSprite|{{ #ifeq: | Template | CommentSprite | CommentSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: CommentSprite | File: }}{{#pos: CommentSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: FrontPageSprite | : }} || Template: }}FrontPageSprite|{{ #ifeq: | Template | FrontPageSprite | FrontPageSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: FrontPageSprite | File: }}{{#pos: FrontPageSprite | Category: }} | }}
- {{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes | n | no | f | false | off | 0 | = | = | #default = yes
}}|}}{{{{#if: |subst: }}[[{{#if: {{#pos: ProgressSprite | : }} || Template: }}ProgressSprite|{{ #ifeq: | Template | ProgressSprite | ProgressSprite }}]]{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}{{ #if: | | }}}}{{#if:{{#switch: yes
| y | yes | t | true | on | 1 = yes
| n | no | f | false | off | 0 | =
| =
| #default = yes
}}|
}}{{#if: {{#pos: ProgressSprite | File: }}{{#pos: ProgressSprite | Category: }} | }}
es:Plantilla:Sprite fr:Modèle:Sprite zh:Template:Sprite