Difference between revisions of "Template:Sec link auto"

From Self-sufficiency
Jump to: navigation, search
(Updating so "image=yes" also uses the new blue padlock.)
(Renaming parameter "image=yes/no" to "padlock=yes/no" since that is clearer.)
Line 1: Line 1:
 
{{#ifeq: {{SERVERNAME}} | secure.wikimedia.org
 
{{#ifeq: {{SERVERNAME}} | secure.wikimedia.org
| {{#switch: {{lc: {{{image|}}} }}
+
| {{#switch: {{lc: {{{padlock|}}} }}
 
   | yes    <!--Supress CSS icon, to not get double icon-->
 
   | yes    <!--Supress CSS icon, to not get double icon-->
 
   | no = <span class="plainlinks">
 
   | no = <span class="plainlinks">
Line 37: Line 37:
 
       }}
 
       }}
 
     }}
 
     }}
   }}]{{#switch: {{lc: {{{image|}}} }}
+
   }}]{{#switch: {{lc: {{{padlock|}}} }}
 
   | no = </span>
 
   | no = </span>
 
   | yes = </span>[[File:Lock icon blue.gif|16x13px|link=]]
 
   | yes = </span>[[File:Lock icon blue.gif|16x13px|link=]]

Revision as of 20:32, 26 December 2009

en: