Difference between revisions of "Template:Prereq"

From Pathfinder Wiki
Line 6: Line 6:
 
<nowiki>
 
<nowiki>
  
{{PrereqListItem
+
{{Prereq<br/>
|honor=honor name
+
|honor=honor name<br/>
|displayname=honor name (possibly translated)
+
|displayname=honor name (possibly translated)<br/>
 
|category=honor category}}
 
|category=honor category}}
 
</nowiki>
 
</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 21:11, 20 November 2014

[[Adventist Youth Honors Answer Book/{{{category}}}/{{{honor}}}|{{#if:|{{{displayname}}}|{{{honorname}}}]] [[Category:Adventist Youth Honors Answer Book/Prerequisite/{{{honor}}}]]

This template is used for naming an honor as a prerequisite of the page that includes it. Using it will include the current page in the named honor's prerequisite category and cause it to show up in that honor's "See Also" box (which lists all the honors for which that honor is a prerequisite). It will also print the honor name, complete with a link to that honor's page in the wiki. It is similar to Template:Honor prerequisite except that it does not add any text to the transcluding page other than the honor name.

Use: {{Prereq<br/> |honor=honor name<br/> |displayname=honor name (possibly translated)<br/> |category=honor category}}