Template:Available: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (I like this border effect, looks like a "bandage", and is disturbing on purpose because the usage of template {{available}} is something temporal)
m ([Inline mode] Different bump effect, easyer to configure it)
Line 9: Line 9:


switch case: default (different than left, right) -->
switch case: default (different than left, right) -->
| #default = <span class="nowrap" style="background-image:linear-gradient(#f8f8f8 0%, #d8d8d8 50%, #b8b8b8 100%); color:#666666; 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 #f8f8f8;" title="{{{1|}}}">Available<span style="font-size:0.65em;">(but&nbsp;untested)</span></span><!--
| #default = <span class="nowrap" style="background:#d8d8d8; 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:#666666; display:inline-block; width:8.5em; line-height:1.2em; text-align:center; border-radius:0.4em; border:1px outset #e0e0e0;" title="{{{1|}}}">Available<span style="font-size:0.65em;">(but&nbsp;untested)</span></span><!--
-->}}<!-- switch ends
-->}}<!-- switch ends



Revision as of 00:09, 5 October 2021

class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; line-height:0.5em;" data-sort-value="8" title="Template:Compatibility Tags Descriptions" | Available
(but untested)

Examples

class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; line-height:0.5em;" data-sort-value="8" title="Template:Compatibility Tags Descriptions" | Available
(but untested)
{{available}} Inside a table, default alignment
class="nowrap" style="background:#d8d8d8; outline:2px dotted #a8a8a8; outline-offset:-4px; text-align:left; line-height:0.5em; color:#666666;" data-sort-value="8" title="Template:Compatibility Tags Descriptions" | Available
(but untested)
{{available|left}} Inside a table, left alignment
class="nowrap" style="background:#d8d8d8; outline:2px dotted #a8a8a8; outline-offset:-4px; text-align:right; line-height:0.5em; color:#666666;" data-sort-value="8" title="Template:Compatibility Tags Descriptions" | Available
(but untested)
{{available|right}} Inside a table, right alignment
Available(but untested) {{available|text}} Inline, default font size
Available(but untested) <span style="font-size:1.2em">{{available|text}}</span> Inline, bigger font size

Notes

    • The colors of Available(but untested) 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(but untested) 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