Difference between revisions of "Template:Prereq"

From Pathfinder Wiki
Line 1: Line 1:
[[Adventist Youth Honors Answer Book/{{{category}}}/{{{honor}}}|{{#if:{{{displayname|}}}|{{{displayname}}}|{{{honorname}}}}}]] [[Category:Adventist Youth Honors Answer Book/Prerequisite/{{{honor}}}]]
+
[[Adventist Youth Honors Answer Book/{{{category}}}/{{{honorname}}}|{{#if:{{{displayname|}}}|{{{displayname}}}|{{{honorname}}}}}]] [[Category:Adventist Youth Honors Answer Book/Prerequisite/{{{honorname}}}]]
 
<noinclude>
 
<noinclude>
 
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.
 
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.
Line 7: Line 7:
 
<nowiki>
 
<nowiki>
 
{{Prereq
 
{{Prereq
|honor=honor name
+
|honorname=honor name
 
|displayname=honor name (possibly translated)
 
|displayname=honor name (possibly translated)
 
|category=honor category}}
 
|category=honor category}}
 
</nowiki>
 
</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 21:16, 20 November 2014

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

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 |honorname=honor name |displayname=honor name (possibly translated) |category=honor category}}