Template:Class: Difference between revisions

m 1 revision imported
imported>Nihiltres
Updated from sandbox; re-implements template using Module:Class
 
Line 1: Line 1:
<noinclude><table><tr></noinclude><!--
<noinclude><table><tr></noinclude><!--
 
-->{{#invoke:Class|class}}<!--
--><{{#if:{{{header|}}}|th|td}} class="assess assess-{{lc:{{{1|}}}}} {{{class|}}}" style="
    text-align:center;
    white-space:nowrap;
    {{#ifeq:{{{bold|}}}|no||font-weight:bold;}}
    background:{{class/colour| {{{1|}}} }};
    {{{style|}}}" rowspan="{{{rowspan|1}}}"><!--
 
-->{{#switch:{{uc:{{{image|}}}}}{{lc:{{{1|}}}}}
    |fa|fl|fm|a|al|ga
    |YES{{lc:{{{1|}}}}} = {{class/icon|class={{{1|}}}}}&nbsp;
    |NO{{lc:{{{1|}}}}}
    |#default          = {{class/icon|class={{{1|}}}|style=display:none;}}&nbsp;
  }}<!--
 
-->[[:Category:{{#if:{{{fullcategory|}}}|{{{fullcategory}}}|<!--
 
  -->{{#switch:{{lc:{{{1|¬}}}}}
      |unassessed||¬=Unassessed
      |#default={{{1}}}-Class
    }}<!--
 
  --> {{#if:{{{category|}}}
      |{{{category}}}
      |{{{topic|}}} articles}}
    }}<!--
 
-->|{{#switch:{{lc:{{{1|¬}}}}}
      |unassessed||¬=???
      |#default={{{1}}}
    }}]]&nbsp;<!--
 
--></{{#if:{{{header|}}}|th|td}}><!--
 
--><noinclude></tr></table>
--><noinclude></tr></table>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>