Template:Ps2classic: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


if parameter 1 exists
if parameter 1 exists
--->{{#switch:{{{1|}}}<!--
-->{{#switch:{{{1|}}}<!--


if parameter 1 is equal to: left, center, right
awitch cases: left, center, right -->
--->| left
| left
| center
| center
| right = style="background:#7777ff; color:#ffffff; text-align:{{{1|}}}; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} <abbr title="This Game has been released as a official PS2 Classic at the PlayStation Store for this region">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr><!--
| right = style="background:#7777ff; color:#ffffff; text-align:{{{1|}}}; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} <abbr title="This Game has been released as a official PS2 Classic at the PlayStation Store for this region">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr><!--


if parameter 1 is not equal to: left, center, right
switch case: default (different than left, center, right) -->
--->| #default = <span style="background:#7777ff; color:#ffffff; border:2px outset #7777ff;"><abbr title="{{{1|}}}">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr></span><!--
| #default = <span style="background:#7777ff; color:#ffffff; border:2px outset #7777ff;"><abbr title="{{{1|}}}">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr></span><!--


-->}}<!-- switch ends
-->}}<!-- switch ends


else (parameter 1 doesnt exists)-->|style="background:#7777ff; color:#ffffff; text-align:center; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} <abbr title="This Game has been released as a official PS2 Classic at the PlayStation Store for this region">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr><!--
else (parameter 1 doesnt exists)-->
|style="background:#7777ff; color:#ffffff; text-align:center; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} <abbr title="This Game has been released as a official PS2 Classic at the PlayStation Store for this region">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr><!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>

Revision as of 18:34, 21 July 2021

style="background:#7777ff; color:#ffffff; text-align:center; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" | Store logo.pngPS2 Classic


  • Examples/tests
Store logo.pngPS2 Classic inline inside a wikitable {{ps2classic|Your custom text}}
Store logo.pngPS2 Classic inside a wikitable {{ps2classic}}
Store logo.pngPS2 Classic inside a wikitable {{ps2classic|left}}
Store logo.pngPS2 Classic inside a wikitable {{ps2classic|center}}
Store logo.pngPS2 Classic inside a wikitable {{ps2classic|right}}

Inline outside of tables Store logo.pngPS2 Classic {{ps2classic|Your custom text}}