Template:Pixelated: Difference between revisions
Jump to navigation
Jump to search
SagiriHimoto (talk | contribs) 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..." |
SagiriHimoto (talk | contribs) 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| | <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| }}|The file doesn't exist|link=File:{{{1}}}]]}}</span>|true=<center style="image-rendering:pixelated;">{{#ifexist: File:{{{1}}} |[[File:{{{1}}}|{{#if: {{{3|}}}|{{{3}}}px| }}]]|[[File:QuestionMarkIcon.png|{{#if: {{{3|}}}|{{{3}}}px| }}|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> |