Template:Ps2classic: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Checkpoint) |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|<!-- | |||
--><noinclude> | 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> | |||
Line 8: | Line 23: | ||
! style="width:27%;" | we !! | ! style="width:27%;" | we !! | ||
|- | |- | ||
| {{ps2classic}} || inside a mediawiki table | | {{ps2classic|left}} || inside a mediawiki table | ||
|- | |- | ||
| {{ps2classic|center}} || inside a mediawiki table | | {{ps2classic|center}} || inside a mediawiki table | ||
Line 14: | Line 29: | ||
| {{ps2classic|right}} || inside a mediawiki table | | {{ps2classic|right}} || inside a mediawiki table | ||
|- | |- | ||
| {{ps2classic | | {{ps2classic}} || inside a mediawiki table | ||
|} | |} | ||
Inline {{ps2classic}} | |||
Inline {{ps2classic|text}} | Inline {{ps2classic|text}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 15:48, 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" 1no | PS2 Classic
- Examples/tests
we | |
---|---|
PS2 Classic | inside a mediawiki table |
PS2 Classic | inside a mediawiki table |
PS2 Classic | inside a mediawiki table |
PS2 Classic | inside a mediawiki table |
Inline style="background:#7777ff; color:#ffffff; text-align:center; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" 1no | PS2 Classic
Inline xxxxxxxxxxxxxxxxxxx CUSTOM ABBR text here