Editing Template:Ps2classic
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}<!-- | {{#if:{{{1|}}}|<!-- | ||
-->|<!-- | if parameter 1 exists | ||
--->{{#switch:{{{1|}}}<!-- | |||
--> | if parameter 1 is equal to: left, center, right | ||
--->| left | |||
| center | |||
| right = style="background:#7777ff; color:#ffffff; text-align:{{{1|center}}}; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} [[Image:Store_logo.png|x16px|link=https://store.playstation.com]]'''PS2 Classic'''<!-- | |||
-->|<!-- | if parameter 1 is not equal to: left, center, right | ||
--->| #default = xxxxxxxxxxxxxxxxxxx CUSTOM ABBR text here | |||
}}<!-- 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" 1no {{!}} [[Image:Store_logo.png|x16px|link=https://store.playstation.com]]'''PS2 Classic'''<!-- | ||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --> | ||
<noinclude> | |||
== | |||
{{ | *Examples/tests | ||
{{ | {| class="wikitable" style="font-size:85%; width:100%;" | ||
! style="width:27%;" | we !! | |||
|- | |||
| {{ps2classic|left}} || inside a mediawiki table | |||
|- | |||
| {{ps2classic|center}} || inside a mediawiki table | |||
|- | |||
| {{ps2classic|right}} || inside a mediawiki table | |||
|- | |||
| {{ps2classic}} || inside a mediawiki table | |||
|} | |||
Inline {{ps2classic}} | |||
Inline {{ps2classic|text}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |