Jump to content

Template:Feature: Difference between revisions

From postmarketOS Wiki
Exkc (talk | contribs)
No edit summary
Exkc (talk | contribs)
remove descriptions to status due to cargo broke (i tried to fix that but still broke)
Line 1: Line 1:
<!-- The argument should be a string of P/Y/N/- possibly followed
by a colon and a page link or section link for more info. Examples:
{{Feature|Y:See [[OnePlus 6#GPS]]}}
{{Feature|N:See [[HardPhone#Why nothing works]]}}
{{Feature|P:See [[#Issues with boot]]}}
-->
{{#switch:{{#sub:{{{1|}}}|0|1}}
{{#switch:{{#sub:{{{1|}}}|0|1}}
     |P=<div style="background: #dcef0a !important;" class="feature feature-partial">{{#if:{{#sub:{{{1|}}}|2}}
     |P=<div style="background: #dcef0a !important;" class="feature feature-partial">Partial</div>  
        |<abbr title="{{#sub:{{{1|}}}|2}}"> Partial* </abbr>
     |Y=<div style="background: #41c161 !important;"  class="feature feature-yes">Works</div>  
        |Partial
     |N=<div style="background: #e84a4a !important;"  class="feature feature-no">Broken</div>  
    }}</div>  
     |-=<div  style="background: #a1a3a7 !important;"  class="feature feature-unavailable">Unavailable</div>  
     |Y=<div style="background: #41c161 !important;"  class="feature feature-yes">{{#if:{{#sub:{{{1|}}}|2}}
     |<div></div>
        |<abbr title="{{#sub:{{{1|}}}|2}}"> Works* </abbr>
        |Works
    }}</div>  
     |N=<div style="background: #e84a4a !important;"  class="feature feature-no">{{#if:{{#sub:{{{1|}}}|2}}
        | <abbr title="{{#sub:{{{1|}}}|2}}"> Broken*  </abbr>
        |Broken
    }}</div>  
     |-=<div  style="background: #a1a3a7 !important;"  class="feature feature-unavailable">{{#if:{{#sub:{{{1|}}}|2}}
        |<abbr title="{{#sub:{{{1|}}}|2}}"> Unavailable*  </abbr>
        |Unavailable
    }}</div>  
     | <div></div>
}}
}}

Revision as of 14:19, 12 October 2024