Difference between revisions of "Template:GetTermCurrentDescendants"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#if: {{{term|}}}<!-- | -->{{#if: {{{term|}}}<!-- | ||
− | + | -->|{{#ask: [[-Descendant items::{{{term|}}}]]|link={{{link|all}}}}}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->}}<!-- if term | -->}}<!-- if term | ||
--></includeonly> | --></includeonly> |
Latest revision as of 22:07, 16 January 2023
This template returns a comma separate list of the current descendants of the given term, i.e. its subclasses, sub-subclasses, etc.
IMPORTANT: This template is agent-agnostic, as it returns the descendants of the term accepted by any registered agent.
NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Parameters:
|term=
- the term page.|link=
- determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.