Jump to content

Template:Feature: Difference between revisions

From postmarketOS Wiki
Exkc (talk | contribs)
No edit summary
Tag: Manual revert
Exkc (talk | contribs)
No edit summary
Line 2: Line 2:
by a colon and a page link or section link for more info. Examples:
by a colon and a page link or section link for more info. Examples:


{{Feature|Y:OnePlus 6#GPS}}
{{Feature|Y:See [[OnePlus 6#GPS]]}}
{{Feature|N:HardPhone#Why nothing works}}
{{Feature|N:See [[HardPhone#Why nothing works]]}}
{{Feature|P:#Issues with boot}}
{{Feature|P:See [[#Issues with boot]]}}
-->
-->


{{#switch:{{#sub:{{{1|}}}|0|1}}
{{#switch:{{#sub:{{{1|}}}|0|1}}
     |P=<div class="feature feature-partial">{{#if:{{#sub:{{{1|}}}|2}}
     |P=<div class="feature feature-partial">{{#if:{{#sub:{{{1|}}}|2}}
         |[[{{#replace:{{#sub:{{{1|}}}|2}}|#|%23}}|Partial]]
         |Partial Note:{{#replace:{{#sub:{{{1|}}}|2}}|#|%23}}
         |Partial
         |Partial
     }}</div>  
     }}</div>  
     |Y=<div class="feature feature-yes">{{#if:{{#sub:{{{1|}}}|2}}
     |Y=<div class="feature feature-yes">{{#if:{{#sub:{{{1|}}}|2}}
         |[[{{#replace:{{#sub:{{{1|}}}|2}}|#|%23}}|Works]]
         |Works Note:{{#replace:{{#sub:{{{1|}}}|2}}|#|%23}}
         |Works
         |Works
     }}</div>  
     }}</div>  
Line 21: Line 21:
     }}</div>  
     }}</div>  
     |-=<div class="feature feature-unavailable">{{#if:{{#sub:{{{1|}}}|2}}
     |-=<div class="feature feature-unavailable">{{#if:{{#sub:{{{1|}}}|2}}
         |[[{{#replace:{{#sub:{{{1|}}}|2}}|#|%23}}|Unavailable]]
         |Unavailable Note:{{#replace:{{#sub:{{{1|}}}|2}}|#|%23}}
         |Unavailable
         |Unavailable
     }}</div>  
     }}</div>  
     | <div></div>
     | <div></div>
}}
}}

Revision as of 09:56, 17 November 2023