Difference between revisions of "Template:Class mask/templatepage/row"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(more rowspans)
imported>AfroThundr3007730
m (typo)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{#switch:{{{trigger|¬}}}
 
{{#switch:{{{trigger|¬}}}
 +
|no
 +
|=
 
  |¬
 
  |¬
  |yes=<tr>
+
  |#default=<tr>
 
<td>{{#if:{{{input|}}}
 
<td>{{#if:{{{input|}}}
 
  |{{{input}}}
 
  |{{{input}}}
 
  |{{lc:{{{1}}}}}
 
  |{{lc:{{{1}}}}}
 
}}</td>
 
}}</td>
<td rowspan="{{{rowspan|1}}}" style="text-align:center;">{{classicon|{{{1|}}}}}</td>
+
<td rowspan="{{{rowspan|1}}}" style="text-align:center;">{{class/icon|{{{1|}}}}}</td>
 
{{class
 
{{class
 
  |1={{{1|}}}
 
  |1={{{1|}}}
  |category={{#if:{{{topic|}}}|{{{topic}}} articles}}
+
  |category={{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}
 
  |image=no
 
  |image=no
  |attr=rowspan={{{rowspan|}}}
+
  |rowspan={{{rowspan|1}}}
 
}}
 
}}
<td rowspan="{{{rowspan|1}}}">[[:Category:{{{1|}}}-Class {{{topic|}}} articles]]</td>
+
<td rowspan="{{{rowspan|1}}}">[[:Category:{{{1|}}}-Class {{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}]]</td>
<td rowspan="{{{rowspan|1}}}">{{PAGESINCAT:{{{1|}}}-Class {{{topic|}}} articles}}</td>
+
<td rowspan="{{{rowspan|1}}}">{{PAGESINCAT:{{{1|}}}-Class {{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}</td>
 
</tr>}}
 
</tr>}}

Latest revision as of 22:14, 26 August 2018