Difference between revisions of "Template:Keys/helper"

From The iPhone Wiki
Jump to: navigation, search
m
m (adding CSS class)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{file}}} |<br />
+
{{#if: {{{iv}}} |
<h2>{{{header}}}</h2>
+
<h2>{{{header}}}{{#if: {{{model|}}} | &nbsp;<span class="keypage-model">({{{model}}})</span> }}</h2>
<span class="keypage-filename" id="keypage-{{{id}}}">{{{file}}}</span>
+
<span style="position:absolute; visibility:hidden;">Filename: </span><span class="keypage-filename" id="keypage-{{{id}}}">{{{file}}}</span>
{{#switch: {{{build}}}
+
<ul>{{#ifeq: {{{iv}}} | Not Encrypted |
  +
<li>Not Encrypted</li> |
| 1A543a
 
  +
<li>'''IV''': <code id="keypage-{{{id}}}-iv">{{{iv}}}</code></li>
| 1C25
 
  +
<li>'''Key''': <code id="keypage-{{{id}}}-key">{{{key}}}</code></li>{{#if: {{{kbag}}} |
| 1C28
 
  +
<li>'''KBAG''': <code id="keypage-{{{id}}}-kbag">{{{kbag}}}</code></li>
| 3A100a
 
| 3A101a
 
| 3A109a
 
| 3A110a
 
| 3B48b
 
| 4A93
 
| 4A102
 
| 4B1
 
| 5A147p
 
| 5A225c
 
| 5A240d = <span id="keypage-{{{id}}}-iv">Not Encrypted</span>
 
| #default =
 
{{#ifeq: {{{iv}}} | Not Encrypted |
 
* <span id="keypage-{{{id}}}-iv">Not Encrypted</span> |
 
* '''IV''': <code id="keypage-{{{id}}}-iv">{{{iv}}}</code>
 
* '''Key''': <code id="keypage-{{{id}}}-key">{{{key}}}</code>
 
 
}}
 
}}
}}<includeonly><!--
+
}}</ul><includeonly><!--
  +
  +
  +
  +
  +
-->{{#if: {{{file}}} | | [[Category:Incomplete Key Pages]] }}<!--
  +
-->{{#ifeq: {{{iv}}} | Unknown | [[Category:Incomplete Key Pages]] }}<!--
  +
-->{{#ifeq: {{{key}}} | Unknown | [[Category:Incomplete Key Pages]] }}<!--
  +
  +
// if (iv != "Unknown" && kbag)
  +
-->{{#ifeq: {{{iv}}} | Unknown | | {{#if: {{{kbag}}} | [[Category:Pages With Incorrect Template Usage]] }} }}<!--
  +
  +
// if (iv == "Unknown" && !kbag)
  +
-->{{#ifeq: {{{iv}}} | Unknown | {{#if: {{{kbag}}} | | [[Category:Pages With Incorrect Template Usage]] }} }}<!--
   
-->{{#if: {{{file|}}} | | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#ifeq: {{{iv}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#ifeq: {{{key}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
 
 
--></includeonly>}}
 
--></includeonly>}}

Latest revision as of 15:40, 24 April 2018

{{{header}}}

Filename: {{{file}}}

  • IV: {{{iv}}}
  • Key: {{{key}}}
  • KBAG: {{{kbag}}}