Difference between revisions of "Template:Block"
From ComputerCraft Wiki
(Apparently I can't count to three.) |
m (Added automatic categorization to Category:Peripheral if {{is-peripheral}} is set in template-data.) |
||
Line 11: | Line 11: | ||
<td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{{damage-value}}}</td></tr> | <td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{{damage-value}}}</td></tr> | ||
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; border-right: solid #C9C9C9 1px; padding: .4em; font-weight: bold;">Peripheral?</td> | <tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; border-right: solid #C9C9C9 1px; padding: .4em; font-weight: bold;">Peripheral?</td> | ||
− | <td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{#if:{{{is-peripheral|}}}|{{{is-peripheral}}}{{#if:{{{peripheral-api|}}}| - [[{{{peripheral-api}}}]]}}|No}}</td></tr> | + | <td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{#if:{{{is-peripheral|}}}|{{{is-peripheral}}}<includeonly>[[Category:Peripherals]]</includeonly>{{#if:{{{peripheral-api|}}}| - [[{{{peripheral-api}}}]]}}|No}}</td></tr> |
</table> | </table> | ||
</div> | </div> |