Jump to content

Template:Feature: Difference between revisions

From postmarketOS Wiki
Exkc (talk | contribs)
remove descriptions to status due to cargo broke (i tried to fix that but still broke)
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)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{#sub:{{{1|}}}|0|1}}
{{#switch:{{#sub:{{{1|}}}|0|1}}
     |P=<div style="background: #dcef0a !important;" class="feature feature-partial">Partial</div>  
     |P=<div class="feature feature-partial">Partial</div>  
     |Y=<div style="background: #41c161 !important;"  class="feature feature-yes">Works</div>  
     |Y=<div class="feature feature-yes">Works</div>  
     |N=<div style="background: #e84a4a !important;"  class="feature feature-no">Broken</div>  
     |N=<div class="feature feature-no">Broken</div>  
     |-=<div style="background: #a1a3a7 !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