Difference between revisions of "Template:See Also"
From Pathfinder Wiki
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude> |
+ | Displays a list of all the honors that the specified honor is a prerequisite to. | ||
+ | |||
+ | ==Parameters== | ||
+ | ;honorname: This parameter specifies the name of the honor. If omitted, the template assumes the can be found as the second element of the page title invoking the template. | ||
+ | |||
+ | ==Example== | ||
+ | |||
+ | {{See Also|honorname=Camping Skills IV}} | ||
+ | |||
</noinclude> | </noinclude> | ||
− | + | <includeonly>{{#vardefine:prereqcat|AY Honors/Prerequisite/{{{honorname|{{#titleparts:{{PAGENAME}}|1|2 }} }}} }} | |
− | < | + | {{#ifexpr:{{PAGESINCATEGORY:{{#var:prereqcat}}}} > 0| |
− | {{# | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | ||
− | Earning this honor meets a requirement for | + | [[:Tab Name/Earning this honor meets a requirement for{{GetLangSuffix}}]] |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{#dpl: | {{#dpl: | ||
|format=,\n*[[%PAGE%¦,]]<br/>, | |format=,\n*[[%PAGE%¦,]]<br/>, | ||
− | |include={Honor | + | |include={Honor tab{{GetLangSuffix}}}:honorname |
− | |category= | + | |category={{#var:prereqcat}} |
− | |category= | + | |category=AY Honors/Honor tab{{GetLangSuffix}} |
|nottitleregexp=.*/en$ | |nottitleregexp=.*/en$ | ||
|order=ascending | |order=ascending | ||
Line 17: | Line 25: | ||
}}{{#dpl: | }}{{#dpl: | ||
|format=,\n*[[%PAGE%¦,]]<br/>, | |format=,\n*[[%PAGE%¦,]]<br/>, | ||
− | |include={IA desc{{ | + | |include={IA desc{{GetLangSuffix}} }:pagename |
− | |category= | + | |category={{#var:prereqcat}} |
− | |category=IA desc{{ | + | |category=IA desc{{GetLangSuffix}} |
|nottitleregexp=.*/en$ | |nottitleregexp=.*/en$ | ||
|order=ascending | |order=ascending | ||
Line 27: | Line 35: | ||
</div> | </div> | ||
}} | }} | ||
− | + | </includeonly> | |
− | |||
− |
Revision as of 23:13, 15 January 2021
Displays a list of all the honors that the specified honor is a prerequisite to.
Parameters
- honorname
- This parameter specifies the name of the honor. If omitted, the template assumes the can be found as the second element of the page title invoking the template.
Example