Difference between revisions of "Template:Keys/helper"

From The iPhone Wiki
Jump to: navigation, search
(Undo revision 52910 by 5urd (talk))
m (adding CSS class)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#if: {{{iv}}} |
 
{{#if: {{{iv}}} |
<h2>{{{header}}}</h2>
+
<h2>{{{header}}}{{#if: {{{model|}}} | &nbsp;<span class="keypage-model">({{{model}}})</span> }}</h2>
 
<span style="position:absolute; visibility:hidden;">Filename: </span><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>
 
<ul>{{#ifeq: {{{iv}}} | Not Encrypted |
 
<ul>{{#ifeq: {{{iv}}} | Not Encrypted |
Line 14: Line 14:
   
 
-->{{#if: {{{file}}} | | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#if: {{{file}}} | | [[Category:Incomplete Key Pages]] }}<!--
-->{{#ifeq: {{{iv}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
+
-->{{#ifeq: {{{iv}}} | Unknown | [[Category:Incomplete Key Pages]] }}<!--
-->{{#ifeq: {{{key}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
+
-->{{#ifeq: {{{key}}} | Unknown | [[Category:Incomplete Key Pages]] }}<!--
   
// if (iv != "TODO" && kbag)
+
// if (iv != "Unknown" && kbag)
-->{{#ifeq: {{{iv}}} | TODO | | {{#if: {{{kbag}}} | [[Category:Pages With Incorrect Template Usage]] }} }}<!--
+
-->{{#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 (iv == "TODO" && !kbag)
 
-->{{#ifeq: {{{iv}}} | TODO | {{#if: {{{kbag}}} | | [[Category:Pages With Incorrect Template Usage]] }} }}<!--
 
 
--></includeonly>}}
 
--></includeonly>}}

Latest revision as of 15:40, 24 April 2018

{{{header}}}

Filename: {{{file}}}

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