Difference between revisions of "Template:Bot Categorizer"

From Robowiki
Jump to navigation Jump to search
m (Add code size support)
m (add author support)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
-->{{ifeq|{{{isMelee|}}}|1|[[Category:Melee Bots]]}}<!--
 
-->{{ifeq|{{{isMelee|}}}|1|[[Category:Melee Bots]]}}<!--
 
-->{{ifeq|{{{isOpenSource|}}}|1|[[Category:Open Source Bots]]|}}<!--
 
-->{{ifeq|{{{isOpenSource|}}}|1|[[Category:Open Source Bots]]|}}<!--
-->{{ifeq|{{{isMega|}}}|true|[[Category:Mega Bots]]}}<!--
+
-->{{ifeq|{{{isMega|}}}|true|[[Category:MegaBots]]}}<!--
 
-->{{ifeq|{{{isMini|}}}|true|[[Category:MiniBots]]}}<!--
 
-->{{ifeq|{{{isMini|}}}|true|[[Category:MiniBots]]}}<!--
 
-->{{ifeq|{{{isMicro|}}}|true|[[Category:MicroBots]]}}<!--
 
-->{{ifeq|{{{isMicro|}}}|true|[[Category:MicroBots]]}}<!--
Line 34: Line 34:
 
-->{{ifeq|{{{extends|}}}|Interface|[[Category:Implements Interface Bots]]}}<!--
 
-->{{ifeq|{{{extends|}}}|Interface|[[Category:Implements Interface Bots]]}}<!--
 
-->{{ifeq|{{{extends|}}}|[[Interface]]|[[Category:Implements Interface Bots]]}}<!--
 
-->{{ifeq|{{{extends|}}}|[[Interface]]|[[Category:Implements Interface Bots]]}}<!--
 +
-->{{if|test={{{author|}}}|then=[[Category:{{{author}}}'s Bots]]}}<!--
 
-->[[Category:Bots]]<noinclude>
 
-->[[Category:Bots]]<noinclude>
 
Usage:  
 
Usage:  

Latest revision as of 10:32, 14 September 2017

Usage:

{{Template:Bot Categorizer|isMega=true|isOneOnOne=true|isMelee=false|isOpenSource=true|extends=AdvancedRobot}}

Example: