Template:Playable: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Inline mode: the width, height and radius of the colored area are adjusted dynamically with the font size. And better shadows)
mNo edit summary
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|<!--
{{#if:{{{1|}}}<!--


if parameter 1 exists
-->|<!-- if parameter 1 exists (INLINE MODE) -->
-->{{#switch:{{{1|}}}<!--
<span style="background:#9fdf9f; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.5), inset -2px -4px 6px 0px rgba(0,0,0,0.15), 1px 1px 2px 1px #cccccc; outline:3px outset rgba(255,255,255,0.2); outline-offset:-3px; color:#0050b0; 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|}}}">Playable</span><!--


switch cases: left, center, right -->
-->|<!-- else (TABLE MODE) -->
| left
style="background:#9fdf9f; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.5), inset -2px -4px 6px 0px rgba(0,0,0,0.15); outline:3px outset rgba(255,255,255,0.2); outline-offset:-3px; text-align:center; font-weight:bold; color:#0050b0; cursor:help;" data-sort-value="1" title="{{Compatibility Tags Descriptions|playableShort}}" {{!}} Playable<!--
| center
| right = class="nowrap" style="background:#90ff90; color:#000000; text-align:{{{1|}}};" data-sort-value="2" title="The Game works perfect without any noticeable error" {{!}} '''Playable'''<!--


switch case: default (different than left, center, right) -->
-->}}<!-- if ends --><noinclude>
| #default = <span style="background:#90ff90; color:#000000; display:inline-block; width:7em; line-height:1.2em; text-align:center; box-shadow: 1px 1px 2px 1px #bbbbbb; border-radius:0.4em; border:2px outset #90ff90;" title="{{{1|}}}">Playable</span><!--


-->}}<!-- switch ends
== Examples ==
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;"
| style="border-top:hidden; padding:0px; width:150px;" | || style="border-top:hidden; padding:0px; width:350px;" |
|-
| {{playable}} || '''<nowiki>{{playable}}</nowiki>''' Inside a table
|-
| {{playable|text}} || '''<nowiki>{{playable|text}}</nowiki>''' Inline
|}


else (parameter 1 doesnt exists)-->
== Notes ==
| class="nowrap" style="background:#90ff90; color:#000000; text-align:center;" data-sort-value="2" title="The Game works perfect without any noticeable error" {{!}} '''Playable'''<!--
**The colors of {{ps2classic|&nbsp;}}, {{playable|&nbsp;}}, {{minorissues|&nbsp;}} represents a "good compatibility"
***The {{ps2classic|&nbsp;}} is the official style composed by a white logo/text on top of a blue background
***The font color of {{playable|&nbsp;}} and {{minorissues|&nbsp;}} is taken from the background color of {{ps2classic|&nbsp;}}


-->}}<!-- if ends --><noinclude>[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 17:52, 11 October 2021

style="background:#9fdf9f; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.5), inset -2px -4px 6px 0px rgba(0,0,0,0.15); outline:3px outset rgba(255,255,255,0.2); outline-offset:-3px; text-align:center; font-weight:bold; color:#0050b0; cursor:help;" data-sort-value="1" title="Template:Compatibility Tags Descriptions" | Playable

Examples

style="background:#9fdf9f; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.5), inset -2px -4px 6px 0px rgba(0,0,0,0.15); outline:3px outset rgba(255,255,255,0.2); outline-offset:-3px; text-align:center; font-weight:bold; color:#0050b0; cursor:help;" data-sort-value="1" title="Template:Compatibility Tags Descriptions" | Playable {{playable}} Inside a table
Playable {{playable|text}} Inline

Notes

    • The colors of PS2 Classic, Playable, Minor Issues represents a "good compatibility"
      • The PS2 Classic is the official style composed by a white logo/text on top of a blue background
      • The font color of Playable and Minor Issues is taken from the background color of PS2 Classic