Template:Infobox software: Difference between revisions

Al Piskun (talk | contribs)
No edit summary
No edit summary
Line 31: Line 31:
</tr>}}
</tr>}}


{{#if:{{{status|}}}|<tr>
{{#if:{{{status|}}}|{{#ifeq:{{{status}}}|Active|<tr style="background:#d4edda;"><th style="width:110px; color:#155724;">Status</th><td style="background:#d4edda; color:#155724; font-weight:600;">{{{status}}}</td></tr>|<tr style="background:#f8d7da;"><th style="width:110px; color:#721c24;">Status</th><td style="background:#f8d7da; color:#721c24; font-weight:600;">{{{status}}}</td></tr>}}}}
<th style="width:110px;">Status</th>
{{#ifeq:{{{status}}}|Active|<td style="background:#d4edda; color:#155724; font-weight:600;">{{{status}}}</td>|<td style="background:#f8d7da; color:#721c24; font-weight:600;">{{{status}}}</td>}}
</tr>}}


{{#if:{{{category|}}}|<tr>
{{#if:{{{category|}}}|<tr>
Line 128: Line 125:


{{#if:{{{stats as of|}}}|<tr>
{{#if:{{{stats as of|}}}|<tr>
<th style="width:110px;">Stats as of</th>
<th style="width:110px; background:#e8d5f5; color:#4a235a;">Stats as of</th>
<td style="background:#e8d5f5; color:#4a235a; font-weight:600;">{{{stats as of}}}</td>
<td style="background:#e8d5f5; color:#4a235a; font-weight:600;">{{{stats as of}}}</td>
</tr>}}
</tr>}}