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|}}}<!-- | |||
--> | switch cases: left, center, right --> | ||
| left | |||
| center | |||
| right = class="nowrap" style="background:#0070D1; color:#ffffff; text-align:{{{1|}}}; border:2px outset #0070D1;" data-sort-value="1" title="The Game was released for this region as a official PS2 Classic at the PlayStation Store" {{!}} [[Image:Store_logo_mini.png|x16px|link=]]''' PS2 Classic'''<!-- | |||
-->|<!-- | switch case: default (different than left, center, right) --> | ||
| #default = <span class="nowrap" style="background:#0070D1; color:#ffffff; border-radius:6px; border:2px outset #0070D1;" title="{{{1|}}}"> [[Image:Store_logo_mini.png|x16px|link=]] PS2 Classic </span><!-- | |||
--> | -->}}<!-- switch ends | ||
-->style=" | |||
else (parameter 1 doesnt exists)--> | |||
| class="nowrap" style="background:#0070D1; color:#ffffff; text-align:center; border:2px outset #0070D1;" data-sort-value="1" title="The Game was released for this region as a official PS2 Classic at the PlayStation Store" {{!}} [[Image:Store_logo_mini.png|x16px|link=]]''' PS2 Classic'''<!-- | |||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> | ||
== | |||
{{ | *Examples/tests | ||
{{ | |||
Inline outside of tables {{ps2classic|The custom hidden text feature is intended to be used only inline, you can write whatever you want in it}} <nowiki>{{ps2classic|Your custom text}}</nowiki> | |||
{| class="wikitable" style="font-size:85%; width:100%;" | |||
! style="width:200px;" | {{ps2classic|Your custom text}} !! inline inside a default wikitable <nowiki>{{ps2classic|Your custom text}}</nowiki> | |||
|- | |||
| {{ps2classic}} || inside a default wikitable <nowiki>{{ps2classic}}</nowiki> | |||
|- | |||
| {{ps2classic|left}} || inside a default wikitable <nowiki>{{ps2classic|left}}</nowiki> | |||
|- | |||
| {{ps2classic|center}} || inside a default wikitable <nowiki>{{ps2classic|center}}</nowiki> | |||
|- | |||
| {{ps2classic|right}} || inside a default wikitable <nowiki>{{ps2classic|right}}</nowiki> | |||
|} | |||
{| class="wikitable" style="border-collapse:separate; padding-left:0px; padding-right:0px; border-spacing:0px; font-size:85%; width:100%;" | |||
! style="width:200px;" | Name || Notes | |||
|- | |||
| {{ps2classic}} || inside a custom wikitable <nowiki>{{ps2classic}}</nowiki> | |||
|- | |||
| {{ps2classic|left}} || inside a custom wikitable <nowiki>{{ps2classic|left}}</nowiki> | |||
|- | |||
| {{ps2classic|center}} || inside a custom wikitable <nowiki>{{ps2classic|center}}</nowiki> | |||
|- | |||
| {{ps2classic|right}} || inside a custom wikitable <nowiki>{{ps2classic|right}}</nowiki> | |||
|} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |