Template:Notavailable: Difference between revisions
Jump to navigation
Jump to search
m ([Inline mode] Simple bump effect common for all tags) |
mNo edit summary |
||
Line 4: | Line 4: | ||
-->{{#switch:{{{1|}}}<!-- | -->{{#switch:{{{1|}}}<!-- | ||
switch cases: left | switch cases: left, right --> | ||
| left | | left | ||
| right = class="nowrap" style="background:#c0c0c0; outline:1px solid rgba(255,255,255,0.8); outline-offset:-2px; text-align:{{{1|}}}; color:#666666;" data-sort-value="9" title="{{Compatibility Tags Descriptions|notavailableShort}}" {{!}} '''Not Available'''<!-- | |||
| right = class="nowrap" style="background:#c0c0c0; | |||
switch case: default (different than left | switch case: default (different than left, right) --> | ||
| #default = <span class="nowrap" style="background-image:linear-gradient(#e0e0e0 0%, #c0c0c0 50%, #a0a0a0 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 #e0e0e0;" title="{{{1|}}}">Not Available</span><!-- | | #default = <span class="nowrap" style="background-image:linear-gradient(#e0e0e0 0%, #c0c0c0 50%, #a0a0a0 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 #e0e0e0;" title="{{{1|}}}">Not Available</span><!-- | ||
Line 18: | Line 17: | ||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> | ||
< | |||
---- | == Examples == | ||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{notavailable}} || '''<nowiki>{{notavailable}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{notavailable|left}} || '''<nowiki>{{notavailable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{notavailable|right}} || '''<nowiki>{{notavailable|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{notavailable|text}} || '''<nowiki>{{notavailable|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{notavailable|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{notavailable|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
== Notes == | |||
**The colors of {{available| }} and {{notavailable| }} represents a "undefined compatibility" and has been choosen following some rules: | **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 | ***Are 3 colors in total (2 background colors, and 1 font color common for both) in grey tones |
Revision as of 09:09, 3 October 2021
class="nowrap" style="background:#c0c0c0; color:#666666; text-align:center;" data-sort-value="9" title="Template:Compatibility Tags Descriptions" | Not Available
Examples
class="nowrap" style="background:#c0c0c0; color:#666666; text-align:center;" data-sort-value="9" title="Template:Compatibility Tags Descriptions" | Not Available | {{notavailable}} Inside a table, default alignment |
class="nowrap" style="background:#c0c0c0; outline:1px solid rgba(255,255,255,0.8); outline-offset:-2px; text-align:left; color:#666666;" data-sort-value="9" title="Template:Compatibility Tags Descriptions" | Not Available | {{notavailable|left}} Inside a table, left alignment |
class="nowrap" style="background:#c0c0c0; outline:1px solid rgba(255,255,255,0.8); outline-offset:-2px; text-align:right; color:#666666;" data-sort-value="9" title="Template:Compatibility Tags Descriptions" | Not Available | {{notavailable|right}} Inside a table, right alignment |
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
- The colors of Available and Not Available represents a "undefined compatibility" and has been choosen following some rules: