Template:IncarnateList/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(→‎Implementation Notes: /cat no longer needed, just /query)
(→‎Usage: clarify it sometimes outputs multiple lists, remove note about images that doesn't seem applicable)
 
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
==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.)
Generates one or more lists of the crafted items that use the Component or Incarnate ability described by the page that is transcluding the template.


Usage is simple, just put this on an Incarnate Component or Incarnate Ability page:
Usage is simple, just put this on an Incarnate Component or Incarnate Ability page:
<nowiki>{{IncarnateList}}</nowiki>
<pre>{{IncarnateList}}</pre>
And a list of all Incarnate Components and Incarnate Abilities that use the Component or Ability will displayed.
And the list(s) of all Incarnate Components and Incarnate Abilities that use the Component or Ability will displayed.


==Implementation Notes==
==Implementation Notes==

Latest revision as of 19:15, 12 May 2022

This is a documentation subpage for Template:IncarnateList (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Generates one or more lists of the crafted items that use the Component or Incarnate ability described by the page that is transcluding the template.

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

{{IncarnateList}}

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

Implementation Notes

This template uses a child template. {{IncarnateList/query}} performs the DPL query for each category.