Template:Available: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (The small font text was causing a stretching in inline mode)
mNo edit summary
Line 6: Line 6:
switch cases: left, right -->
switch cases: left, right -->
| left
| left
| right = class="nowrap" style="background:#d8d8d8; outline:2px dotted #a8a8a8; outline-offset:-4px; text-align:{{{1|}}}; font-weight:bold; line-height:0.5em; color:#666666;" data-sort-value="8" title="{{Compatibility Tags Descriptions|availableShort}}" {{!}} <span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:4px;"><small>(but&nbsp;untested)</small></span><!--
| right = class="nowrap" style="background:#d8d8d8; outline:2px dotted #a8a8a8; outline-offset:-4px; text-align:{{{1|}}}; font-weight:bold; line-height:0.5em; color:#666666;" data-sort-value="8" title="{{Compatibility Tags Descriptions|availableShort}}" {{!}} <span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:3px;"><small>(but&nbsp;untested)</small></span><!--


switch case: default (different than left, right) -->
switch case: default (different than left, right) -->
Line 13: Line 13:


else (parameter 1 doesnt exists)-->
else (parameter 1 doesnt exists)-->
| class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; font-weight:bold; line-height:0.5em;" data-sort-value="8" title="{{Compatibility Tags Descriptions|availableShort}}" {{!}} <span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:4px;"><small>(but&nbsp;untested)</small></span><!--
| class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; font-weight:bold; line-height:0.5em;" data-sort-value="8" title="{{Compatibility Tags Descriptions|availableShort}}" {{!}} <span style="display:inline-block;">Available</span><br><span style="display:inline-block; padding-top:3px;"><small>(but&nbsp;untested)</small></span><!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>

Revision as of 16:20, 8 October 2021

class="nowrap" style="background:#d8d8d8; color:#666666; text-align:center; font-weight:bold; 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; font-weight:bold; 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; font-weight:bold; 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; font-weight:bold; 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(untested) {{available|text}} Inline, default font size
Available(untested) <span style="font-size:1.2em">{{available|text}}</span> Inline, bigger font size

Notes

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