Template:IncarnateList: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>GuyPerfect
(New template)
 
imported>Sekoia
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{IncarnateListCommonComponent}}</includeonly><noinclude>Generates a list of the crafted items that use the Component or Incarnate ability described by this page.
<includeonly>{{IncarnateList/cat|category=Common Incarnate Components
 
}}{{IncarnateList/cat|category=Uncommon Incarnate Components
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.
}}{{IncarnateList/cat|category=Rare Incarnate Components
 
}}{{IncarnateList/cat|category=Very Rare Incarnate Components
[[Category:Incarnate System Templates]]</noinclude>
}}{{IncarnateList/cat|category=Common Incarnate Abilities
}}{{IncarnateList/cat|category=Uncommon Incarnate Abilities
}}{{IncarnateList/cat|category=Rare Incarnate Abilities
}}{{IncarnateList/cat|category=Very Rare Incarnate Abilities
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 05: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.