Template:Playable: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(16 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<!--
| right = class="nowrap" style="background:#9fdf9f; background-image:linear-gradient(to bottom, #bfffbf 0px, #9fdf9f 8px, rgba(0,0,0,0.0) 9px), linear-gradient(to top, #7fbf7f 0px, #9fdf9f 8px, rgba(0,0,0,0.0) 9px); color:#0050b0; outline:3px outset rgba(255, 255, 255, 0.2); outline-offset:-3px; box-shadow: inset -2px -2px 3px 1px rgba(0, 0, 0, 0.05); text-align:{{{1|}}};" data-sort-value="1" title="{{Compatibility Tags Descriptions|playableShort}}" {{!}} '''Playable'''<!--
 
switch case: default (different than left, center, right) -->
| #default = <span style="background-image:linear-gradient(#bfffbf 0%, #9fdf9f 50%, #7fbf7f 100%); color:#0050b0; display:inline-block; width:8.5em; line-height:1.2em; text-align:center; box-shadow: 1px 1px 2px 1px #cccccc; border-radius:0.4em; border:1px outset #bfffbf;" title="{{{1|}}}">Playable</span><!--
 
-->}}<!-- switch ends
 
else (parameter 1 doesnt exists)-->
| class="nowrap" style="background:#90ff90; color:#0050b0; text-align:center;" data-sort-value="1" title="{{Compatibility Tags Descriptions|playableShort}}" {{!}} '''Playable'''<!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>
Line 22: Line 13:
| style="border-top:hidden; padding:0px; width:150px;" | || style="border-top:hidden; padding:0px; width:350px;" |  
| style="border-top:hidden; padding:0px; width:150px;" | || style="border-top:hidden; padding:0px; width:350px;" |  
|-
|-
| {{playable}} || '''<nowiki>{{playable}}</nowiki>''' Inside a wikitable, default alignment (center)
| {{playable}} || '''<nowiki>{{playable}}</nowiki>''' Inside a table
|-
| {{playable|left}} || '''<nowiki>{{playable|left}}</nowiki>''' Inside a wikitable, aligned to left
|-
| {{playable|right}}<br><br><br> || '''<nowiki>{{playable|right}}</nowiki>''' Inside a wikitable, aligned to right
|}
{| style="float:left; border:hidden;"
| {{playable|text}} || '''<nowiki>{{playable|text}}</nowiki>''' Inline with default font size
|-
|-
| <span style="font-size:1.2em">{{playable|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{playable|text}}</span></nowiki>''' Inline with bigger font size
| {{playable|text}} || '''<nowiki>{{playable|text}}</nowiki>''' Inline
|}
|}



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