Template:Minorissues: 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 class="nowrap" style="background:#e7e787; 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);" title="{{{1|}}}">Minor&nbsp;Issues</span><!--


switch cases: left, right -->
-->|<!-- else (TABLE MODE) -->
| left
class="nowrap" style="background:#e7e787; 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;" data-sort-value="2" title="{{Compatibility Tags Descriptions|minorissuesShort}}" {{!}} Minor&nbsp;Issues<!--
| right = class="nowrap" style="background:#e7e787; 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:{{{1|}}}; font-weight:bold; color:#0050b0;" data-sort-value="2" title="{{Compatibility Tags Descriptions|minorissuesShort}}" {{!}} Minor&nbsp;Issues<!--
 
switch case: default (different than left, right) -->
| #default = <span class="nowrap" style="background:#e7e787; 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);" title="{{{1|}}}">Minor&nbsp;Issues</span><!--
 
-->}}<!-- switch ends
 
else (parameter 1 doesnt exists)-->
| class="nowrap" style="background:#ffff90; color:#0050b0; text-align:center; font-weight:bold;" data-sort-value="2" title="{{Compatibility Tags Descriptions|minorissuesShort}}" {{!}} Minor&nbsp;Issues<!--


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



Revision as of 16:28, 11 October 2021

class="nowrap" style="background:#e7e787; 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;" data-sort-value="2" title="Template:Compatibility Tags Descriptions" | Minor Issues

Examples

class="nowrap" style="background:#e7e787; 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;" data-sort-value="2" title="Template:Compatibility Tags Descriptions" | Minor Issues {{minorissues}} Inside a table, default alignment
Minor Issues {{minorissues|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