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
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{IncarnateList/use
+
<includeonly>{{IncarnateList/cat|category=Common Incarnate Components
|template=IComponent
+
}}{{IncarnateList/cat|category=Uncommon Incarnate Components
|category=Common Incarnate Components
+
}}{{IncarnateList/cat|category=Rare Incarnate Components
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/cat|category=Very Rare Incarnate Components
}}{{IncarnateList/use
+
}}{{IncarnateList/cat|category=Common Incarnate Abilities
|template=IComponent
+
}}{{IncarnateList/cat|category=Uncommon Incarnate Abilities
|category=Uncommon Incarnate Components
+
}}{{IncarnateList/cat|category=Rare Incarnate Abilities
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/cat|category=Very Rare Incarnate Abilities
}}{{IncarnateList/use
+
}}</includeonly><noinclude>{{documentation}}</noinclude>
|template=IComponent
+
|category=Rare Incarnate Components
+
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/use
+
|template=IComponent
+
|category=Very Rare Incarnate Components
+
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/use
+
|template=IAbility
+
|category=Common Incarnate Abilities
+
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/use
+
|template=IAbility
+
|category=Uncommon Incarnate Abilities
+
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/use
+
|template=IAbility
+
|category=Rare Incarnate Abilities
+
|uses={{{uses|{{PAGENAME}}}}}
+
}}{{IncarnateList/use
+
|template=IAbility
+
|category=Very Rare Incarnate Abilities
+
|uses={{{uses|{{PAGENAME}}}}}
+
}}</includeonly><noinclude>Generates a list of the crafted items that use the Component or Incarnate ability described by this page.
+
 
+
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.