Template:IncarnateList/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== Generates a list of the crafted items that use the Component or Inca...")
 
(→‎Usage: clarify it sometimes outputs multiple lists, remove note about images that doesn't seem applicable)
 
(One intermediate revision by the same user not shown)
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==
This template uses two child templates. {{tl|IncarnateList/query}} performs the DPL query for each category. {{tl|IncarnateList/cat}} checks to see if any output is generated for a category and, if so, outputs it with a heading.
This template uses a child template. {{tl|IncarnateList/query}} performs the DPL query for each category.


<includeonly><!--
<includeonly><!--

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.