The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Keys/helper"
m |
m (adding CSS class) |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if: {{{iv}}} | |
+ | {{#if: {{{iv}}} | |
+ | <h2>{{{header}}}{{#if: {{{model|}}} | <span class="keypage-model">({{{model}}})</span> }}</h2> |
||
− | <h2> |
||
+ | <ul>{{#ifeq: {{{iv}}} | Not Encrypted | |
||
− | {{{header}}} |
||
+ | <li>Not Encrypted</li> | |
||
− | </h2> |
||
+ | <li>'''IV''': <code id="keypage-{{{id}}}-iv">{{{iv}}}</code></li> |
||
− | {{#ifeq: {{{iv}}} | Not Encrypted | |
||
+ | <li>'''Key''': <code id="keypage-{{{id}}}-key">{{{key}}}</code></li>{{#if: {{{kbag}}} | |
||
− | * Not Encrypted | |
||
− | + | <li>'''KBAG''': <code id="keypage-{{{id}}}-kbag">{{{kbag}}}</code></li> |
|
+ | }} |
||
− | * '''Key''': <code id="keypage-{{{type}}}-key">{{{key}}}</code> |
||
+ | }}</ul><includeonly><!-- |
||
− | }}}} |
||
− | <span class="keypage-filename" id="keypage-{{{ |
+ | <span style="position:absolute; visibility:hidden;">Filename: </span><span class="keypage-filename" id="keypage-{{{id}}}">{{{file}}}</span> |
+ | |||
+ | |||
+ | |||
+ | |||
+ | -->{{#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]] }} }}<!-- |
||
+ | |||
+ | --></includeonly>}} |
Latest revision as of 15:40, 24 April 2018
{{{header}}}
{{{file}}}
- IV:
{{{iv}}}
- Key:
{{{key}}}
- KBAG:
{{{kbag}}}