Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:IncarnateList"

From Paragon Wiki Archive
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Common Incarnate Components
+
<includeonly>{{IncarnateList/cat|category=Common Incarnate Components
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Uncommon Incarnate Components
+
}}{{IncarnateList/cat|category=Uncommon Incarnate Components
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Rare Incarnate Components
+
}}{{IncarnateList/cat|category=Rare Incarnate Components
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Very Rare Incarnate Components
+
}}{{IncarnateList/cat|category=Very Rare Incarnate Components
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Common Incarnate Abilities
+
}}{{IncarnateList/cat|category=Common Incarnate Abilities
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Uncommon Incarnate Abilities
+
}}{{IncarnateList/cat|category=Uncommon Incarnate Abilities
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Rare Incarnate Abilities
+
}}{{IncarnateList/cat|category=Rare Incarnate Abilities
}}{{IncarnateList/use|uses={{{uses|{{PAGENAME}}}}}|category=Very Rare Incarnate Abilities
+
}}{{IncarnateList/cat|category=Very Rare Incarnate Abilities
}}</includeonly><noinclude>Generates a list of the crafted items that use the Component or Incarnate ability described by this page.
+
}}</includeonly><noinclude>{{documentation}}</noinclude>
 
+
In other words, if you put '''<nowiki>{{</nowiki>IncarnateList}}''' on the ''Foo Component'' page, then it generates a list of all Components and Incarnate abilities that use Foo Component.
+
 
+
[[Category:Incarnate System Templates]]</noinclude>
+

Latest revision as of 09:40, 16 January 2012

[edit] [purge] Documentation

Usage

Generates a list of the crafted items that use the Component or Incarnate ability described by the page that is transcluding the template. (Due to limitations of the transclusion system, this can only be used for the image referred to by the page it is used on.)

Usage is simple, just put this on an Incarnate Component or Incarnate Ability page:

{{IncarnateList}}

And a list of all Incarnate Components and Incarnate Abilities that use the Component or Ability will displayed.

Implementation Notes

This template uses two child templates. {{IncarnateList/query}} performs the DPL query for each category. {{IncarnateList/cat}} checks to see if any output is generated for a category and, if so, outputs it with a heading.