Template:Ps2classic: Difference between revisions
Jump to navigation
Jump to search
m (Checkpoint) |
m (The default usage of the template is still simply by typing {{ps2classic}} inside a table, it will be aligned to center by default, and now this display mode have a hidden "abbr" info text hardcoded in it) |
||
Line 7: | Line 7: | ||
--->| left | --->| left | ||
| center | | center | ||
| right = style="background:#7777ff; color:#ffffff; text-align:{{{1| | | right = style="background:#7777ff; color:#ffffff; text-align:{{{1|}}}; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} [[Image:Store_logo.png|x16px|link=]]'''PS2 Classic'''<!-- | ||
if parameter 1 is not equal to: left, center, right | if parameter 1 is not equal to: left, center, right | ||
Line 13: | Line 13: | ||
}}<!-- 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" 1no {{!}} [[Image:Store_logo.png|x16px|link= | 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 {{!}} <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 --> | -->}}<!-- if ends --> | ||
Line 23: | Line 23: | ||
! style="width:27%;" | we !! | ! style="width:27%;" | we !! | ||
|- | |- | ||
| {{ps2classic | | {{ps2classic}} || inside a mediawiki table <nowiki>{{ps2classic}}</nowiki> | ||
|- | |- | ||
| {{ps2classic| | | {{ps2classic|left}} || inside a mediawiki table <nowiki>{{ps2classic|left}}</nowiki> | ||
|- | |- | ||
| {{ps2classic| | | {{ps2classic|center}} || inside a mediawiki table <nowiki>{{ps2classic|center}}</nowiki> | ||
|- | |- | ||
| {{ps2classic}} || inside a mediawiki table | | {{ps2classic|right}} || inside a mediawiki table <nowiki>{{ps2classic|right}}</nowiki> | ||
|} | |} | ||
Revision as of 16:08, 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 {{ps2classic}} |
PS2 Classic | inside a mediawiki table {{ps2classic|left}} |
PS2 Classic | inside a mediawiki table {{ps2classic|center}} |
PS2 Classic | inside a mediawiki table {{ps2classic|right}} |
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