Difference between revisions of "Template:IO Set Comparison"
From Paragon Wiki Archive
Line 18: | Line 18: | ||
|} | |} | ||
− | {{#dpl: | + | {{#if: {{{type|}}}|{{#dpl: |
+ | |category={{{category|{{PAGENAME}}}}} | ||
+ | |includepage ={InvSetOverview}ClassName.dpl,{Set Bonus}-EffectLine.dpl | ||
+ | |format =,,\n, | ||
+ | |table =class="wikitable sortable",Invention Set,Type,Levels,# Enhs,Bonus | ||
+ | |includematch=,/class\s*=\s*{{{class}}}.+?type[1-9]?\s*=\s*{{{type}}}/s | ||
+ | |shownamespace=false | ||
+ | }}|{{#dpl: | ||
|category={{{category|{{PAGENAME}}}}} | |category={{{category|{{PAGENAME}}}}} | ||
|includepage ={InvSetOverview}ClassName.dpl,{Set Bonus}-EffectLine.dpl | |includepage ={InvSetOverview}ClassName.dpl,{Set Bonus}-EffectLine.dpl | ||
Line 25: | Line 32: | ||
|includematch=,/class\s*=\s*{{{class}}}/s | |includematch=,/class\s*=\s*{{{class}}}/s | ||
|shownamespace=false | |shownamespace=false | ||
− | }} | + | ||}} |
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 02:37, 12 December 2008
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.
- class
- The class of set bonus. Required. Same as the class parameter given to the Set Bonus template; see Set Bonus Templates for a complete list. Example: "All Powers"
- 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|class=All Powers|type=Accuracy}}