Template:Majorissues: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Inline mode: the width, height and radius of the colored area are adjusted dynamically with the font size. And better shadows)
mNo edit summary
(23 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 class="nowrap" style="background:#df8f2f; 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); cursor:default;" title="{{{1|}}}">Major&nbsp;Issues</span><!--


switch cases: left, center, right -->
-->|<!-- else (TABLE MODE) -->
| left
class="nowrap" style="background:#df8f2f; 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; cursor:help;" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} Major&nbsp;Issues<!--
| center
| right = class="nowrap" style="background:#ffaa00; color:#000000; text-align:{{{1|}}};" data-sort-value="4" title="The Game has strong issues, it works but it will be a pain for your Gaming experience" {{!}} '''Major&nbsp;Issues'''<!--


switch case: default (different than left, center, right) -->
-->}}<!-- if ends --><noinclude>
| #default = <span style="background:#ffaa00; color:#000000; display:inline-block; width:7em; line-height:1.2em; text-align:center; box-shadow: 1px 1px 2px 1px #bbbbbb; border-radius:0.4em; border:2px outset #ffaa00;" title="{{{1|}}}">Major&nbsp;Issues</span><!--


-->}}<!-- switch ends
== Examples ==
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;"
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" |
|-
| {{majorissues}} || '''<nowiki>{{majorissues}}</nowiki>''' Inside a table, default alignment
|-
| {{majorissues|text}} || '''<nowiki>{{majorissues|text}}</nowiki>''' Inline
|}


else (parameter 1 doesnt exists)-->
== Notes ==
| class="nowrap" style="background:#ffaa00; color:#000000; text-align:center;" data-sort-value="4" title="The Game has strong issues, it works but it will be a pain for your Gaming experience" {{!}} '''Major&nbsp;Issues'''<!--
*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


-->}}<!-- if ends --><noinclude>[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 17:55, 11 October 2021

class="nowrap" style="background:#df8f2f; 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; cursor:help;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues

Examples

class="nowrap" style="background:#df8f2f; 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; cursor:help;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues {{majorissues}} Inside a table, default alignment
Major Issues {{majorissues|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