Difference between pages "Template:Importance" and "Template:Importance/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (25 revisions imported)
 
imported>Chealer
(attempt to remove link when category is undefined. seems broken)
 
Line 6: Line 6:
 
     {{#ifeq:{{{bold|}}}|no||font-weight:bold;}}
 
     {{#ifeq:{{{bold|}}}|no||font-weight:bold;}}
 
     background:{{Importance/colour| {{{1|}}} }};
 
     background:{{Importance/colour| {{{1|}}} }};
     {{{style|}}}"><!--
+
     {{{style|}}}" {{{attr|}}}><!--
  
-->&nbsp;[[:Category:<!--
+
-->&nbsp;{{#if:{{{category|}}}|[[:Category:<!--
  
 
   -->{{#switch:{{lc:{{{1|¬}}}}}
 
   -->{{#switch:{{lc:{{{1|¬}}}}}
Line 14: Line 14:
 
       |unknown||¬=Unknown
 
       |unknown||¬=Unknown
 
       |#default={{lc:{{{1}}}}}
 
       |#default={{lc:{{{1}}}}}
     }}-{{{impn|importance}}}<!--
+
     }}-{{{impn|importance}}} {{{category}}}<!--
  
  --> {{#if:{{{category|}}}|{{{category}}}|articles}}<!--
+
-->|}}{{#switch:{{lc:{{{1|¬}}}}}
 
 
-->|{{#switch:{{lc:{{{1|¬}}}}}
 
 
       |na=NA
 
       |na=NA
 
       |unknown||¬=???
 
       |unknown||¬=???
 
       |#default={{ucfirst:{{lc:{{{1}}}}}}}  
 
       |#default={{ucfirst:{{lc:{{{1}}}}}}}  
     }}]]&nbsp;<!--
+
     }}{{#if:{{{category|}}}|]]}}&nbsp;<!--
  
 
--></{{#if:{{{header|}}}|th|td}}><!--
 
--></{{#if:{{{header|}}}|th|td}}><!--