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, right --> | ||
| left | |||
| right = class="nowrap" style="background:#007fdf; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.25), inset -2px -4px 6px 0px rgba(0,0,0,0.2); outline:3px outset rgba(255,255,255,0.15); outline-offset:-3px; text-align:{{{1|}}}; font-weight:bold; color:#ffffff; cursor:help; padding-top:0px; padding-bottom:0px;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps2classicShort}}" {{!}} [[Image:Store_logo_mini.png|x19px|link=]] PS2 Classic<!-- | |||
-->|< | switch case: default (different than left, right) --> | ||
| #default = <span class="nowrap" style="background:#007fdf; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.25), inset -2px -4px 6px 0px rgba(0,0,0,0.2), 1px 1px 2px 1px #cccccc; outline:3px outset rgba(255,255,255,0.15); outline-offset:-3px; color:#ffffff; display:inline-block; width:8.5em; line-height:1.4em; text-align:center; font-weight:bold; border-radius:0.4em; border:1px outset rgba(127,127,127,0.5); cursor:default;" title="{{{1|}}}">[[Image:Store_logo_mini.png|x15px|link=]] PS2 Classic</span><!-- | |||
--> | -->}}<!-- switch ends | ||
-->style=" | |||
else (parameter 1 doesnt exists)--> | |||
| class="nowrap" style="background:#0070D0; color:#ffffff; text-align:center; font-weight:bold;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps2classicShort}}" {{!}} [[Image:Store_logo_mini.png|x13px|link=]] PS2 Classic<!-- | |||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> | ||
== Examples == | == Examples == | ||
{{compatibility | The wikitables below are reducing the font size with the setting: '''<nowiki>class="wikitable sortable" style="font-size:85%"</nowiki>''' | ||
{{compatibility | |||
{| class="wikitable sortable" style="font-size:85%;" | |||
|+<nowiki>class="wikitable sortable" style="font-size:85%"</nowiki> | |||
! [https://www.mediawiki.org/wiki/Help:Sorting#Specifying_a_sort_key data-sort-value] !! style="width:125px;" | Tag !! style="width:300px;" | Syntax !! {{edit|Template:Compatibility Tags Descriptions|<nowiki>{{Compatibility Tags Descriptions}}</nowiki>}} | |||
|- | |||
| rowspan="3" | 0 || {{ps1classic}} || '''{{edit|Template:ps1classic|<nowiki>{{ps1classic}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|ps1classicShort}}</nowiki>''' {{Compatibility Tags Descriptions|ps1classicShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|ps1classicLong}}</nowiki>''' {{Compatibility Tags Descriptions|ps1classicLong}} | |||
|- | |||
| {{ps1classic|left}} || '''<nowiki>{{ps1classic|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{ps1classic|right}} || '''<nowiki>{{ps1classic|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{ps1classic|text}} || '''<nowiki>{{ps1classic|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 0 || {{ps2classic}} || '''{{edit|Template:ps2classic|<nowiki>{{ps2classic}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|ps2classicShort}}</nowiki>''' {{Compatibility Tags Descriptions|ps2classicShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|ps2classicLong}}</nowiki>''' {{Compatibility Tags Descriptions|ps2classicLong}} | |||
|- | |||
| {{ps2classic|left}} || '''<nowiki>{{ps2classic|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{ps2classic|right}} || '''<nowiki>{{ps2classic|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{ps2classic|text}} || '''<nowiki>{{ps2classic|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 1 || {{playable}} || '''{{edit|Template:playable|<nowiki>{{playable}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|playableShort}}</nowiki>''' {{Compatibility Tags Descriptions|playableShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|playableLongPS1}}</nowiki>''' {{Compatibility Tags Descriptions|playableLongPS1}}<br>'''<nowiki>{{Compatibility Tags Descriptions|playableLongPS2}}</nowiki>''' {{Compatibility Tags Descriptions|playableLongPS2}}<br>'''<nowiki>{{Compatibility Tags Descriptions|playableLongPSP}}</nowiki>''' {{Compatibility Tags Descriptions|playableLongPSP}} | |||
|- | |||
| {{playable|left}} || '''<nowiki>{{playable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{playable|right}} || '''<nowiki>{{playable|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{playable|text}} || '''<nowiki>{{playable|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 2 || {{minorissues}} || '''{{edit|Template:minorissues|<nowiki>{{minorissues}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|minorissuesShort}}</nowiki>''' {{Compatibility Tags Descriptions|minorissuesShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|minorissuesLong}}</nowiki>''' {{Compatibility Tags Descriptions|minorissuesLong}} | |||
|- | |||
| {{minorissues|left}} || '''<nowiki>{{minorissues|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{minorissues|right}} || '''<nowiki>{{minorissues|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{minorissues|text}} || '''<nowiki>{{minorissues|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 3 || {{majorissues}} || '''{{edit|Template:majorissues|<nowiki>{{majorissues}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|majorissuesShort}}</nowiki>''' {{Compatibility Tags Descriptions|majorissuesShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|majorissuesLong}}</nowiki>''' {{Compatibility Tags Descriptions|majorissuesLong}} | |||
|- | |||
| {{majorissues|left}} || '''<nowiki>{{majorissues|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{majorissues|right}} || '''<nowiki>{{majorissues|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{majorissues|text}} || '''<nowiki>{{majorissues|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 4 || {{unplayable}} || '''{{edit|Template:unplayable|<nowiki>{{unplayable}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|unplayableShort}}</nowiki>''' {{Compatibility Tags Descriptions|unplayableShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|unplayableLong}}</nowiki>''' {{Compatibility Tags Descriptions|unplayableLong}} | |||
|- | |||
| {{unplayable|left}} || '''<nowiki>{{unplayable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{unplayable|right}} || '''<nowiki>{{unplayable|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{unplayable|text}} || '''<nowiki>{{unplayable|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 8 || {{available}} || '''{{edit|Template:available|<nowiki>{{available}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|availableShort}}</nowiki>''' {{Compatibility Tags Descriptions|availableShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|availableLong}}</nowiki>''' {{Compatibility Tags Descriptions|availableLong}} | |||
|- | |||
| {{available|left}} || '''<nowiki>{{available|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{available|right}} || '''<nowiki>{{available|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{available|text}} || '''<nowiki>{{available|text}}</nowiki>''' Inline || Custom text | |||
|- | |||
| rowspan="3" | 9 || {{notavailable}} || '''{{edit|Template:notavailable|<nowiki>{{notavailable}}</nowiki>}}''' Inside a table, default alignment || rowspan="3" | '''<nowiki>{{Compatibility Tags Descriptions|notavailableShort}}</nowiki>''' {{Compatibility Tags Descriptions|notavailableShort}}<br>'''<nowiki>{{Compatibility Tags Descriptions|notavailableLong}}</nowiki>''' {{Compatibility Tags Descriptions|notavailableLong}} | |||
|- | |||
| {{notavailable|left}} || '''<nowiki>{{notavailable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{notavailable|right}} || '''<nowiki>{{notavailable|right}}</nowiki>''' Inside a table, right alignment | |||
|- | |||
| N/A || {{notavailable|text}} || '''<nowiki>{{notavailable|text}}</nowiki>''' Inline || Custom text | |||
|} | |||
== Notes == | |||
*'''GOOD''' compatibility Tags: {{ps2classic| }} {{playable| }} {{minorissues| }} | |||
** The colors of <nowiki>{{ps2classic}}</nowiki> are inspired by the official style used in PSN store, PlayStation console boxes, etc..., white text/logo on top of a blue background | |||
** The font color of <nowiki>{{playable}}</nowiki> and <nowiki>{{minorissues}}</nowiki> is derived from the background color of <nowiki>{{ps2classic}}</nowiki> | |||
*'''BAD''' compatibility Tags: {{majorissues| }} {{unplayable| }} | |||
** Backgrounds in orange/red tones | |||
** Shared font color in a red tone darker than the backgrounds | |||
*'''UNDEFINED''' compatibility Tags: {{available| }} {{notavailable| }} | |||
** Backgrounds in gray tones, <nowiki>{{notavailable}}</nowiki> have the darkest background color because represents the worst compatibility | |||
** Shared font color in a gray tone darker than the backgrounds | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |