Template:Available: Difference between revisions
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:# | | right = class="nowrap" style="background:#d8d8d8; color:#666666; text-align:{{{1|}}}; line-height:0.5em;" data-sort-value="8" title="Released for this region, but nobody tested it." {{!}} '''<span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:4px;"><small>(but untested)</small></span>'''<!-- | ||
switch case: default (different than left, center, right) --> | switch case: default (different than left, center, right) --> | ||
| #default = <span class="nowrap" style="background:# | | #default = <span class="nowrap" style="background:#d8d8d8; 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 #d8d8d8;" title="{{{1|}}}">Available<span style="font-size:0.65em;">(but untested)</span></span><!-- | ||
-->}}<!-- switch ends | -->}}<!-- switch ends | ||
else (parameter 1 doesnt exists)--> | else (parameter 1 doesnt exists)--> | ||
| class="nowrap" style="background:# | | class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; line-height:0.5em;" data-sort-value="8" title="Released for this region, but nobody tested it." {{!}} '''<span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:4px;"><small>(but untested)</small></span>'''<!-- | ||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> | ||
Line 20: | Line 20: | ||
---- | ---- | ||
*Notes: | *Notes: | ||
**The colors of | **The colors of {{available| }} and {{notavailable| }} 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| }} 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 | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 11:35, 14 August 2021
class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; line-height:0.5em;" data-sort-value="8" title="Released for this region, but nobody tested it." | Available
(but untested)
- 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
- The colors of Available(but untested) and Not Available represents a "undefined compatibility" and has been choosen following some rules: