Template:IO Set Comparison: Difference between revisions
Jump to navigation
Jump to search
imported>Lin Chiao Feng (First version.) |
imported>Lin Chiao Feng (Fixed up docs.) |
||
Line 20: | Line 20: | ||
It takes up to three parameters: | It takes up to three parameters: | ||
;category | ;category | ||
:The category the invention sets are in. Takes the form: "Category:Sets | :The category the invention sets are in. Takes the form: "Category:Sets that improve ___". Defaults to the page name. | ||
;bonus | ;bonus | ||
:The class of set bonus. Required. Same as the set bonus template name, less the leading "SetBonus"; see [[:Category:Set Bonus Templates|Set Bonus Templates]] for a complete list. Example: "AllPowers" | :The class of set bonus. Required. Same as the set bonus template name, less the leading "SetBonus"; see [[:Category:Set Bonus Templates|Set Bonus Templates]] for a complete list. Example: "AllPowers" | ||
;type | ;type | ||
:The type of bonus. Required for those classes | :The type of bonus. Required for those classes whose templates have type parameters. Example: "Accuracy" | ||
Example | |||
==Example== | |||
<pre>{{IO Set Comparison|category=Category:Sets that improve Accuracy|bonus=AllPowers|type=Accuracy}}</pre> | |||
{{IO Set Comparison|category=Category:Sets that improve Accuracy|bonus=AllPowers|type=Accuracy}} | |||
</noinclude> |
Revision as of 17:36, 19 August 2007
This template generates a table comparing the set bonuses from different classes. It takes up to three parameters:
- category
- The category the invention sets are in. Takes the form: "Category:Sets that improve ___". Defaults to the page name.
- bonus
- The class of set bonus. Required. Same as the set bonus template name, less the leading "SetBonus"; see Set Bonus Templates for a complete list. Example: "AllPowers"
- type
- The type of bonus. Required for those classes whose templates have type parameters. Example: "Accuracy"
Example
{{IO Set Comparison|category=Category:Sets that improve Accuracy|bonus=AllPowers|type=Accuracy}}