Jump to content

Template:Feature: Difference between revisions

From postmarketOS Wiki
MartijnBraam (talk | contribs)
No edit summary
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)
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#ifeq:{{{1|}}}|P| <div class="feature feature-partial">Partial</div> | {{#ifeq:{{{1|}}}|Y| <div class="feature feature-yes">Works</div> | <div></div> }} }}
{{#switch:{{#sub:{{{1|}}}|0|1}}
    |P=<div class="feature feature-partial">Partial</div>  
    |Y=<div class="feature feature-yes">Works</div>  
    |N=<div class="feature feature-no">Broken</div>
    |-=<div class="feature feature-unavailable">Unavailable</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