Template:Ps1classic: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
([Table Mode] Restored padding=0)
(Now all this settings are loaded from class="compatibility-tag")
 
(20 intermediate revisions by 2 users not shown)
Line 2: Line 2:


-->|<!-- if parameter 1 exists (INLINE MODE)
-->|<!-- if parameter 1 exists (INLINE MODE)
--><span <!--
--><span <!--
  -->class="compatibility-tag"<!--
   -->style="<!--
   -->style="<!--
      -->text-align:center;<!--
       -->background:#08e;<!--
       -->background:#08e;<!--
       -->color:#fff;<!--
       -->color:#fff;<!--
       -->display:inline-block;<!-- container
       -->display:inline-block;<!-- container
       -->width:8.5em;<!-- container width, dependant of font size
       -->width:8.4em;<!-- container width, dependant of font size
       -->line-height:1.4em;<!-- container height, dependant of font size
       -->line-height:1.3em;<!-- container height, dependant of font size
       -->border-radius:0.4em;<!-- container radius, dependant of font size
       -->border-radius:0.4em;<!-- container radius, dependant of font size
       -->box-shadow:<!--
       -->box-shadow:<!--
         -->inset 2px 4px 6px rgba(255,255,255,0.3),<!-- internal white shadow
         -->2px 4px 6px hsla(0,0%,99%,.3)inset,<!-- internal white shadow
         -->inset -2px -4px 6px rgba(0,0,0,0.3),<!-- internal black shadow
         -->-2px -4px 6px rgba(0,0,0,.3)inset,<!-- internal black shadow
         -->1px 1px 2px rgba(0,0,0,0.4);<!-- external black shadow
         -->1px 1px 2px rgba(0,0,0,.4);<!-- external black shadow
       -->border:<!--
       -->border:<!--
         -->outset 1px rgba(127,127,127,0.5);<!-- container grey border
         -->1px rgba(127,127,127,.5)outset<!-- container grey border
   -->"<!--
   -->"<!--
   -->title="{{{1|}}}"<!--
   -->title="{{tagtexts|ps1classic}}"<!--
-->><!--
-->><!--
   -->[[Image:Store_logo_mini.png|x16px|link=]]<!--
   -->PSone Classic<!--
  -->'''PSone Classic'''<!--
--></span><!--
--></span><!--


-->|<!-- else (TABLE MODE)
-->|<!-- else (TABLE MODE)
-->class="compatibility-tag"<!--
-->style="<!--
-->style="<!--
  -->text-align:center;<!--
   -->background:#08e;<!--
   -->background:#08e;<!--
   -->color:#fff;<!--
   -->color:#fff;<!--
  -->cursor:help;<!--
   -->box-shadow:<!--
   -->box-shadow:<!--
       -->inset 2px 4px 6px rgba(255,255,255,0.3),<!-- internal white shadow
       -->2px 4px 6px hsla(0,0%,99%,.3)inset,<!-- internal white shadow
       -->inset -2px -4px 6px rgba(0,0,0,0.3);<!-- internal black shadow
       -->-2px -4px 6px rgba(0,0,0,.3)inset<!-- internal black shadow
  -->padding:0px<!-- removed default wikitable cell padding:0.2em 0.4em to keep the tag width under 100px
-->"<!--
-->"<!--
-->data-sort-value="0"<!--
-->data-sort-value="0"<!--
-->title="{{tagtexts|ps1classic}}"<!--
-->title="{{tagtexts|ps1classic}}"<!--
-->{{!}}<!--
-->{{!}}<!--
-->[[Image:Store_logo_mini.png|x16px|link=]]<!--
-->PSone Classic<!--
-->'''PSone Classic'''<!--


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


== Examples ==
== Examples ==
{| class="wikitable" style="font-size:85%;"
{{compatibility tags syntax}}
| style="border-top:hidden; width:96px; min-width:96px; max-width:96px; padding:2px" | || style="border-top:hidden; padding:0px; width:350px;" |
{{compatibility tags colorset}}
|-
| {{ps1classic}} || '''<nowiki>{{ps1classic}}</nowiki>''' Inside a table
|}
 
{{ps1classic|text}} '''<nowiki>{{ps1classic|text}}</nowiki>''' Inline


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

Latest revision as of 13:17, 3 July 2023

class="compatibility-tag"style="background:#08e;color:#fff;box-shadow:2px 4px 6px hsla(0,0%,99%,.3)inset,-2px -4px 6px rgba(0,0,0,.3)inset"data-sort-value="0"title="Released for the PS3 at the PlayStation Store, the compatibility is certified by Sony."|PSone Classic

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"