Template:Unplayable: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
m ([Table Mode] Enabled 3D effects. Dropped support for custom left/right alignment)
Line 1: Line 1:
{{#if:{{{1|}}}|<!--
{{#if:{{{1|}}}<!--


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


switch cases: left, right -->
-->|<!-- else (TABLE MODE) -->
| left
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<!--
| right = 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:{{{1|}}}; font-weight:bold; color:#660000;" data-sort-value="4" title="{{Compatibility Tags Descriptions|unplayableShort}}" {{!}} Unplayable<!--
 
switch case: default (different than left, right) -->
| #default = <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><!--
 
-->}}<!-- switch ends
 
else (parameter 1 doesnt exists)-->
| style="background:#df3f3f; color:#660000; text-align:center; font-weight:bold;" data-sort-value="4" title="{{Compatibility Tags Descriptions|unplayableShort}}" {{!}} Unplayable<!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>
Line 24: Line 15:
| {{unplayable}} || '''<nowiki>{{unplayable}}</nowiki>''' Inside a table, default alignment
| {{unplayable}} || '''<nowiki>{{unplayable}}</nowiki>''' Inside a table, default alignment
|-
|-
| {{unplayable|left}} || '''<nowiki>{{unplayable|left}}</nowiki>''' Inside a table, left alignment
| {{unplayable|text}} || '''<nowiki>{{unplayable|text}}</nowiki>''' Inline
|-
| {{unplayable|right}} || '''<nowiki>{{unplayable|right}}</nowiki>''' Inside a table, right alignment
|}
{| style="float:left; border:hidden;"
| {{unplayable|text}} || '''<nowiki>{{unplayable|text}}</nowiki>''' Inline, default font size
|-
| <span style="font-size:1.2em">{{unplayable|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{unplayable|text}}</span></nowiki>''' Inline, bigger font size
|}
|}



Revision as of 16:35, 11 October 2021

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="Template:Compatibility Tags Descriptions" | Unplayable

Examples

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="Template:Compatibility Tags Descriptions" | Unplayable {{unplayable}} Inside a table, default alignment
Unplayable {{unplayable|text}} Inline

Notes

    • The colors of Major Issues and Unplayable 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