Template:Pixelated: Difference between revisions

From MegaManMaker Wiki
Jump to navigation Jump to search
Changed question mark pic size
Subbed
 
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|{{#switch:{{{2|true}}}|false=<span style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}}|[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px|}}]]|[[File:QuestionMarkIcon.png|{{#if: {{{3|}}}|{{{3}}}px|&nbsp;}}|The file doesn't exist|link=File:{{{1}}}]]}}</span>|true=<center style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}} |[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px|&nbsp;}}]]|[[File:QuestionMarkIcon.png|{{#if: {{{3|}}}|{{{3}}}px|&nbsp;}}|The file doesn't exist|link=File:{{{1}}}]]}}</center>}}|File name is undefined when using [[Template:Pixelated]]}}</includeonly><noinclude>{{Pixelated|SpringTileIcon.png}}<br/>Example above uses '''<nowiki>{{Pixelated|SpringTileIcon.png}}</nowiki>'''<br/>{{Pixelated|SpringTileIcon.png|true|32}}<br/>Example above uses '''<nowiki>{{Pixelated|SpringTileIcon.png|true|32}}</nowiki>'''<br/><br/><nowiki>{{Pixelated|<File Name>|<Centered> (Optional) (Default is centered) (Use "true" or "false")|<Size in px> (Optional) (Default is source size) (Use values without "px", ex. "32" for 32px)}}</nowiki>[[Category:Templates]]</noinclude>
<includeonly>{{#if: {{{1|}}}|{{#switch:{{{2|true}}}|false=<span style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}}|[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px|}}]]|[[File:QuestionMarkIcon.png|{{#if: {{{3|}}}|{{{3}}}px|&nbsp;}}|The file doesn't exist|link=File:{{{1}}}]]}}</span>|true=<center style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}} |[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px|&nbsp;}}|{{{sub|sub}}}]]|[[File:QuestionMarkIcon.png|{{#if: {{{3|}}}|{{{3}}}px|&nbsp;}}|The file doesn't exist|link=File:{{{1}}}]]}}</center>}}|File name is undefined when using [[Template:Pixelated]]}}</includeonly><noinclude>{{Pixelated|SpringTileIcon.png}}<br/>Example above uses '''<nowiki>{{Pixelated|SpringTileIcon.png}}</nowiki>'''<br/>{{Pixelated|SpringTileIcon.png|true|32}}<br/>Example above uses '''<nowiki>{{Pixelated|SpringTileIcon.png|true|32}}</nowiki>'''<br/><br/><nowiki>{{Pixelated|<File Name>|<Centered> (Optional) (Default is centered) (Use "true" or "false")|<Size in px> (Optional) (Default is source size) (Use values without "px", ex. "32" for 32px)}}</nowiki>[[Category:Templates]]</noinclude>

Latest revision as of 09:31, 11 August 2024

 


Example above uses {{Pixelated|SpringTileIcon.png}}


Example above uses {{Pixelated|SpringTileIcon.png|true|32}}

{{Pixelated|<File Name>|<Centered> (Optional) (Default is centered) (Use "true" or "false")|<Size in px> (Optional) (Default is source size) (Use values without "px", ex. "32" for 32px)}}