Template:Notavailable: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (The background of {{notavailable}} was too dark)
m (New colors for {{available}} and {{notavailable}})
Line 7: Line 7:
| left
| left
| center
| center
| right = class="nowrap" style="background:#909090; color:#d0d0d0; text-align:{{{1|}}};" data-sort-value="9" title="Not released for this region." {{!}} '''Not&nbsp;Available'''<!--
| right = class="nowrap" style="background:#b8b8b8; color:#666666; text-align:{{{1|}}};" data-sort-value="9" title="Not released for this region." {{!}} '''Not&nbsp;Available'''<!--


switch case: default (different than left, center, right) -->
switch case: default (different than left, center, right) -->
| #default = <span class="nowrap" style="background:#909090; color:#d0d0d0; display:inline-block; width:8.5em; line-height:1.2em; text-align:center; box-shadow: 1px 1px 2px 1px #bbbbbb; border-radius:0.4em; border:2px outset #909090;" title="{{{1|}}}">Not&nbsp;Available</span><!--
| #default = <span class="nowrap" style="background:#b8b8b8; color:#666666; display:inline-block; width:8.5em; line-height:1.2em; text-align:center; box-shadow: 1px 1px 2px 1px #bbbbbb; border-radius:0.4em; border:2px outset #b8b8b8;" title="{{{1|}}}">Not&nbsp;Available</span><!--


-->}}<!-- switch ends
-->}}<!-- switch ends


else (parameter 1 doesnt exists)-->
else (parameter 1 doesnt exists)-->
| class="nowrap" style="background:#909090; color:#d0d0d0; text-align:center;" data-sort-value="9" title="Not released for this region." {{!}} '''Not&nbsp;Available'''<!--
| class="nowrap" style="background:#b8b8b8; color:#666666; text-align:center;" data-sort-value="9" title="Not released for this region." {{!}} '''Not&nbsp;Available'''<!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>
Line 21: Line 21:
----
----
*Notes:
*Notes:
**The colors of this template are inverted in relationship with [[Template:available]]
**The colors of {{available|&nbsp;}} and {{notavailable|&nbsp;}} represents a "undefined compatibility" and has been choosen following some rules:
***Are 3 colors in total (2 background colors, and 1 font color common for both) in grey tones
***The background color of {{notavailable|&nbsp;}} is darker than {{available|&nbsp;}} because is considered the worst compatibility
***The font color needs to preserve the readability when is displayed on top of both backgrounds, so is darkest than the backgrounds


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 11:37, 14 August 2021

class="nowrap" style="background:#b8b8b8; color:#666666; text-align:center;" data-sort-value="9" title="Not released for this region." | Not Available


  • Notes:
    • The colors of Available and Not Available represents a "undefined compatibility" and has been choosen following some rules:
      • Are 3 colors in total (2 background colors, and 1 font color common for both) in grey tones
      • The background color of Not Available is darker than Available because is considered the worst compatibility
      • The font color needs to preserve the readability when is displayed on top of both backgrounds, so is darkest than the backgrounds