Template:Ps2classic: Difference between revisions
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|}}}<!-- | |||
awitch cases: left, center, right --> | |||
| 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 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 Classic'''</abbr><!-- | ||
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 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 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 Classic'''</abbr><!-- | |||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> |
Revision as of 17: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" | PS2 Classic
- Examples/tests
PS2 Classic | inline inside a wikitable {{ps2classic|Your custom text}} |
---|---|
PS2 Classic | inside a wikitable {{ps2classic}} |
PS2 Classic | inside a wikitable {{ps2classic|left}} |
PS2 Classic | inside a wikitable {{ps2classic|center}} |
PS2 Classic | inside a wikitable {{ps2classic|right}} |
Inline outside of tables PS2 Classic {{ps2classic|Your custom text}}