Template:Unplayable: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m ([Table Mode] Enabled 3D effects. Dropped support for custom left/right alignment)
(Now all this settings are loaded from class="compatibility-tag")
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}<!--
{{#if:{{{1|}}}<!--


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


-->|<!-- else (TABLE MODE) -->
--><span <!--
style="background:#df3f3f; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.2), inset -2px -4px 6px 0px rgba(255,255,255,0.25); outline:3px inset rgba(255,255,255,0.15); outline-offset:-3px; text-align:center; font-weight:bold; color:#660000;" data-sort-value="4" title="{{Compatibility Tags Descriptions|unplayableShort}}" {{!}} Unplayable<!--
  -->class="compatibility-tag"<!--
  -->style="<!--
      -->background:#e44;<!--
      -->color:#722;<!--
      -->display:inline-block;<!-- container
      -->width:8.4em;<!-- container width, dependant of font size
      -->line-height:1.3em;<!-- container height, dependant of font size
      -->border-radius:0.4em;<!-- container radius, dependant of font size
      -->box-shadow:<!--
        -->2px 4px 6px hsla(0,0%,99%,.5)inset,<!-- internal white shadow
        -->-2px -4px 6px rgba(0,0,0,.2)inset,<!-- internal black shadow
        -->1px 1px 2px rgba(0,0,0,.4);<!-- external black shadow
      -->border:<!--
        -->1px rgba(127,127,127,.5)outset<!-- container grey border
  -->"<!--
  -->title="{{tagtexts|unplayable}}"<!--
-->><!--
  -->Unplayable<!--
--></span><!--
 
-->|<!-- else (TABLE MODE)
 
-->class="compatibility-tag"<!--
-->style="<!--
  -->background:#e44;<!--
  -->color:#722;<!--
  -->box-shadow:<!--
      -->2px 4px 6px rgba(0,0,0,.2)inset,<!-- internal black shadow
      -->-2px -4px 6px hsla(0,0%,99%,.3)inset<!-- internal white shadow
-->"<!--
-->data-sort-value="4"<!--
-->title="{{tagtexts|unplayable}}"<!--
-->{{!}}<!--
-->Unplayable<!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>


== Examples ==
== Examples ==
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;"
{{compatibility tags syntax}}
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" |
{{compatibility tags colorset}}
|-
| {{unplayable}} || '''<nowiki>{{unplayable}}</nowiki>''' Inside a table, default alignment
|-
| {{unplayable|text}} || '''<nowiki>{{unplayable|text}}</nowiki>''' Inline
|}
 
== Notes ==
**The colors of {{majorissues|&nbsp;}} and {{unplayable|&nbsp;}} represents a "bad compatibility" and has been choosen following some rules:
***Are 3 colors in total (2 background colors in red/orange, and 1 font color common for both in dark red)
***The font color needs to preserve the readability when is displayed on top of both backgrounds, so is darkest than the backgrounds


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 13:23, 3 July 2023

class="compatibility-tag"style="background:#e44;color:#722;box-shadow:2px 4px 6px rgba(0,0,0,.2)inset,-2px -4px 6px hsla(0,0%,99%,.3)inset"data-sort-value="4"title="Critical problems, doesn't boots, freezes or crashes after some gaming progress."|Unplayable

Examples[edit source]

Compatibility tags colorset
  • GOOD compatibility Tags: PSone Classic  PS2 Classic  Playable  Minor Issues
    • Colors
      • The colors of {{ps1classic}} and {{ps2classic}} 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 {{playable}} and {{minorissues}} is derived from the background color of {{ps1classic}} and {{ps2classic}}
    • 3D effects
      • Inline Mode: "bump", common for all tags
      • Table Mode: "bump"
  • BAD compatibility Tags: Major Issues  Unplayable
    • Colors
      • Backgrounds in orange/red tones
      • Shared font color in a red tone darker than the backgrounds
    • 3D effects
      • Inline Mode: "bump", common for all tags
      • Table Mode: "hollow"
  • UNDEFINED compatibility Tags: Available  Not Available
    • Colors
      • Backgrounds in gray tones, {{notavailable}} have the brighter background color because represents the worst compatibility
      • Shared font color in a gray tone darker than the backgrounds
    • 3D effects
      • Inline Mode: "bump", common for all tags
      • Table Mode: "flat"