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|}}}; 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 Classic'''</abbr><!-- | |||
-->|<!-- | if parameter 1 is not equal to: left, center, right | ||
--->| #default = <span style="background:#7777ff; color:#ffffff; border:2px outset #7777ff;"><abbr title="{{{1|}}}">[[Image:Store_logo.png|x16px|link=]]'''PS2 Classic'''</abbr> | |||
}}<!-- 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 Classic'''</abbr><!-- | ||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --> | ||
<noinclude> | |||
== | |||
{{ | *Examples/tests | ||
{{ | {| class="wikitable" style="font-size:85%; width:100%;" | ||
! style="width:200px;" | we !! | |||
|- | |||
| {{ps2classic}} || inside a mediawiki table <nowiki>{{ps2classic}}</nowiki> | |||
|- | |||
| {{ps2classic|left}} || inside a mediawiki table <nowiki>{{ps2classic|left}}</nowiki> | |||
|- | |||
| {{ps2classic|center}} || inside a mediawiki table <nowiki>{{ps2classic|center}}</nowiki> | |||
|- | |||
| {{ps2classic|right}} || inside a mediawiki table <nowiki>{{ps2classic|right}}</nowiki> | |||
|} | |||
Inline {{ps2classic|The custom hidden text feature is intended to be used only inline, you can write whatever you want in it}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |