Template:Majorissues: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
switch cases: left, right --> | switch cases: left, right --> | ||
| left | | left | ||
| right = class="nowrap" style="background:#df8f2f; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.35); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; text-align:{{{1|}}}; color:#660000;" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} | | right = class="nowrap" style="background:#df8f2f; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.35); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; text-align:{{{1|}}}; font-weight:bold; color:#660000;" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} Major Issues<!-- | ||
switch case: default (different than left, right) --> | switch case: default (different than left, right) --> | ||
| #default = <span 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. | | #default = <span 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);" title="{{{1|}}}">Major Issues</span><!-- | ||
-->}}<!-- switch ends | -->}}<!-- switch ends | ||
else (parameter 1 doesnt exists)--> | else (parameter 1 doesnt exists)--> | ||
| class="nowrap" style="background:#ff8800; color:#660000; text-align:center;" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} | | class="nowrap" style="background:#ff8800; color:#660000; text-align:center; font-weight:bold;" data-sort-value="3" title="{{Compatibility Tags Descriptions|majorissuesShort}}" {{!}} Major Issues<!-- | ||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> |
Revision as of 13:03, 7 October 2021
class="nowrap" style="background:#ff8800; color:#660000; text-align:center; font-weight:bold;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues
Examples
class="nowrap" style="background:#ff8800; color:#660000; text-align:center; font-weight:bold;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues | {{majorissues}} Inside a table, default alignment |
class="nowrap" style="background:#df8f2f; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.35); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; text-align:left; font-weight:bold; color:#660000;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues | {{majorissues|left}} Inside a table, left alignment |
class="nowrap" style="background:#df8f2f; box-shadow:inset 2px 4px 6px 0px rgba(0,0,0,0.3), inset -2px -4px 6px 0px rgba(255,255,255,0.35); outline:3px inset rgba(255,255,255,0.2); outline-offset:-3px; text-align:right; font-weight:bold; color:#660000;" data-sort-value="3" title="Template:Compatibility Tags Descriptions" | Major Issues | {{majorissues|right}} Inside a table, right alignment |
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
- The colors of Major Issues and Unplayable represents a "bad compatibility" and has been choosen following some rules: