Template:Pixelated: Difference between revisions

From MegaManMaker Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#if: {{{1|}}}|{{#switch:{{{2|true}}}|false=<span style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}}|[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px|}}]]|64px|The file doesn't exist|link=File:{{{1}}}}}</span>|true=<center style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}} |[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px| }}]]|64px|The file doesn't exist|link=File:{{{1}}}}}</center>}}|File..."
 
Changed question mark pic size
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|64px|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|64px|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;}}]]|[[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>

Revision as of 19:00, 7 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)}}