Difference between revisions of "Template:See Also2"

From Pathfinder Wiki
Jump to: navigation, search
m (Reverted edits by Jomegat (talk) to last revision by W126jep)
 
(57 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexpr:{{PAGESINCATEGORY:Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}}} > 0|
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:80%">
 
 
<noinclude><translate><!--T:1-->
 
<noinclude><translate><!--T:1-->
</noinclude>Earning this honor meets a requirement for:<noinclude></translate></noinclude>
+
</noinclude>Earning this honor is a prerequisite for:<noinclude></translate></noinclude>
<div class="mw-collapsible-content">
+
 
 
{{#dpl:
 
{{#dpl:
 +
|format=,\n*[[%PAGE%¦,]]<br/>,
 +
|include={Honor desc{{{2|}}}}:honorname
 
|category=Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}
 
|category=Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}
 +
|category=Adventist Youth Honors Answer Book/Honor Desc{{{2|}}}
 
|notcategory=Adventist Youth Honors Answer Book/Secondary
 
|notcategory=Adventist Youth Honors Answer Book/Secondary
 
|order=ascending
 
|order=ascending
Line 11: Line 12:
 
|suppresserrors = true
 
|suppresserrors = true
 
}}
 
}}
</div>
 
</div>
 
}}
 
<noinclude>
 
This template is used by [[:Template:Honor_desc]] to build the honor prerequisite list.
 
  
Use:<br/>
+
{{#dpl:
<nowiki>{{See Also|pagename}}</nowiki>
+
|format=,\n*[[%PAGE%¦,]]<br/>,
 
+
|include={IA desc{{{2|}}}}:pagename
Where page name is the name of the Honor that serves as the primary version of any variants (such as translations, or regional variants, etc). 
+
|category=Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}
 
+
|category=Adventist Youth Honors Answer Book/IA desc{{{2|}}}
Translations of this page only need to change the display text (which is marked off by &lt;translate> tags).  Translations of the honor_desc template (which calls this) should append "/langcode" (such as "/es") to the argument passed to this template.
+
|notcategory=Adventist Youth Honors Answer Book/Secondary
</noinclude>
+
|order=ascending
 +
|namespace=0
 +
|suppresserrors = true
 +
}}

Latest revision as of 08:20, 28 April 2019

Earning this honor is a prerequisite for: