Template:Majorissues: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m ([Inline mode] Simple bump effect common for all tags)
mNo edit summary
Line 4: Line 4:
-->{{#switch:{{{1|}}}<!--
-->{{#switch:{{{1|}}}<!--


switch cases: left, center, right -->
switch cases: left, right -->
| left
| left
| center
| right = class="nowrap" style="background:#ff8800; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.5); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; color:#660000; text-align:{{{1|}}};" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} '''Major&nbsp;Issues'''<!--
| right = class="nowrap" style="background:#ff8800; color:#660000; text-align:{{{1|}}};" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} '''Major&nbsp;Issues'''<!--


switch case: default (different than left, center, right) -->
switch case: default (different than left, right) -->
| #default = <span style="background-image:linear-gradient(#ffaf4f 0%, #df8f2f 50%, #bf6f0f 100%); color:#660000; 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 #ffaf4f;" title="{{{1|}}}">Major&nbsp;Issues</span><!--
| #default = <span style="background-image:linear-gradient(#ffaf4f 0%, #df8f2f 50%, #bf6f0f 100%); color:#660000; 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 #ffaf4f;" title="{{{1|}}}">Major&nbsp;Issues</span><!--


Line 18: Line 17:


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>
<br><br>
 
----
== Examples ==
*Notes:
{| 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|left}} || '''<nowiki>{{majorissues|left}}</nowiki>''' Inside a table, left alignment
|-
| {{majorissues|right}} || '''<nowiki>{{majorissues|right}}</nowiki>''' Inside a table, right alignment
|}
{| style="float:left; border:hidden;"
| {{majorissues|text}} || '''<nowiki>{{majorissues|text}}</nowiki>''' Inline, default font size
|-
| <span style="font-size:1.2em">{{majorissues|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{majorissues|text}}</span></nowiki>''' Inline, bigger font size
|}
 
== Notes ==
**The colors of {{majorissues|&nbsp;}} and {{unplayable|&nbsp;}} represents a "bad compatibility" and has been choosen following some rules:
**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)
***Are 3 colors in total (2 background colors in red/orange, and 1 font color common for both in dark red)

Revision as of 08:45, 3 October 2021

class="nowrap" style="background:#ff8800; color:#660000; text-align:center;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues

Examples

class="nowrap" style="background:#ff8800; color:#660000; text-align:center;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues {{majorissues}} Inside a table, default alignment
class="nowrap" style="background:#ff8800; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.5); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; color:#660000; text-align:left;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues {{majorissues|left}} Inside a table, left alignment
class="nowrap" style="background:#ff8800; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.5); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; color:#660000; text-align:right;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues {{majorissues|right}} Inside a table, right alignment
Major Issues {{majorissues|text}} Inline, default font size
Major Issues <span style="font-size:1.2em">{{majorissues|text}}</span> Inline, bigger font size

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