Jump to content

Template:Feature: Difference between revisions

From postmarketOS Wiki
Exkc (talk | contribs)
color tweak
Knuxify (talk | contribs)
add styling to "No data" fallback (todo: this should be in MediaWiki:Common.css, or we should add TemplateStyles and move those styles under the template)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch:{{#sub:{{{1|}}}|0|1}}
{{#switch:{{#sub:{{{1|}}}|0|1}}
     |P=<div style="background: #f1fa8c !important;" class="feature feature-partial">Partial</div>  
     |P=<div class="feature feature-partial">Partial</div>  
     |Y=<div style="background: #50fa7b !important;" class="feature feature-yes">Works</div>  
     |Y=<div class="feature feature-yes">Works</div>  
     |N=<div style="background: #ff5555 !important;" class="feature feature-no">Broken</div>  
     |N=<div class="feature feature-no">Broken</div>  
     |-=<div style="background: #E1E1E1 !important;" class="feature feature-unavailable">Unavailable</div>  
     |-=<div class="feature feature-unavailable">Unavailable</div>  
     |<div></div>
     |=<div class="feature feature-no-data" style="font-style: italic; opacity: 0.6;">No data</div>
}}
}}

Latest revision as of 12:09, 8 March 2025

No data