Template:Available: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (The background of {{notavailable}} was too dark)
(Now all this settings are loaded from class="compatibility-tag")
 
(67 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|<!--
{{#if:{{{1|}}}<!--


if parameter 1 exists
-->|<!-- if parameter 1 exists (INLINE MODE)
-->{{#switch:{{{1|}}}<!--


switch cases: left, center, right -->
--><span <!--
| left
  -->class="compatibility-tag"<!--
| center
  -->style="<!--
| right = class="nowrap" style="background:#d0d0d0; color:#909090; text-align:{{{1|}}}; line-height:0.5em;" data-sort-value="8" title="Released for this region, but nobody tested it." {{!}} '''<span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:4px;"><small>(but&nbsp;untested)</small></span>'''<!--
      -->background:#bbb;<!--
      -->color:#888;<!--
      -->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%,.3)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|available}}"<!--
-->><!--
  -->Available<!--
--></span><!--


switch case: default (different than left, center, right) -->
-->|<!-- else (TABLE MODE)
| #default = <span class="nowrap" style="background:#d0d0d0; color:#909090; display:inline-block; width:8.5em; line-height:1.2em; text-align:center; box-shadow: 1px 1px 2px 1px #bbbbbb; border-radius:0.4em; border:2px outset #d0d0d0;" title="{{{1|}}}">Available<span style="font-size:0.65em;">(but&nbsp;untested)</span></span><!--
-->}}<!-- switch ends


else (parameter 1 doesnt exists)-->
-->class="compatibility-tag"<!--
| class="nowrap" style="background:#d0d0d0; color:#909090; text-align:center; line-height:0.5em;" data-sort-value="8" title="Released for this region, but nobody tested it." {{!}} '''<span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:4px;"><small>(but&nbsp;untested)</small></span>'''<!--
-->style="<!--
  -->background:#bbb;<!--
  -->color:#888<!--
-->"<!--
-->data-sort-value="8"<!--
-->title="{{tagtexts|available}}"<!--
-->{{!}}<!--
-->Available<!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>
<br><br>
 
----
== Examples ==
*Notes:
{{compatibility tags syntax}}
**The colors of this template are inverted in relationship with [[Template:notavailable]]
{{compatibility tags colorset}}


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

Latest revision as of 14:24, 3 July 2023

class="compatibility-tag"style="background:#bbb;color:#888"data-sort-value="8"title="Released for this region, but nobody tested it."|Available

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"