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; display:inline-block; width:7.2em; text-align:center; color:#ffffff; box-shadow: 2px 2px 2px #aaaaaa; border-radius:0.4em; 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> | |||
|} | |||
<span style="font-size:75%;">{{ps2classic| }}</span> | |||
<span style="font-size:100%;">{{ps2classic| }}</span> | |||
<span style="font-size:125%;">{{ps2classic| }}</span> | |||
<span style="font-size:150%;">{{ps2classic| }}</span> | |||
<span style="font-size:175%;">{{ps2classic| }}</span> | |||
<span style="font-size:200%;">{{ps2classic| }}</span> | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |