Difference between revisions of "Template:See Also"

From Pathfinder Wiki
(make width 100%)
(Cut over to developmental version)
Line 4: Line 4:
 
</noinclude>Earning this honor meets a requirement for:<noinclude></translate></noinclude>
 
</noinclude>Earning this honor meets a requirement for:<noinclude></translate></noinclude>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
{{#tag:DynamicPageList|
+
{{#dpl:
category=Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}
+
|format=,\n*[[%PAGE%¦,]]<br/>,
notcategory=Adventist Youth Honors Answer Book/Secondary
+
|include={Honor desc{{{2|}}}}:honorname
order=ascending
+
|category=Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}
namespace=0
+
|category=Adventist Youth Honors Answer Book/Honor Desc{{{2|}}}
suppresserrors = true
+
|order=ascending
 +
|namespace=0
 +
|suppresserrors = true
 +
}}{{#dpl:
 +
|format=,\n*[[%PAGE%¦,]]<br/>,
 +
|include={IA desc{{{2|}}}}:pagename
 +
|category=Adventist Youth Honors Answer Book/Prerequisite/{{{1|}}}
 +
|category=IA desc{{{2|}}}
 +
|order=ascending
 +
|namespace=0
 +
|suppresserrors = true
 
}}
 
}}
 +
 
</div>
 
</div>
 
</div>
 
</div>
Line 18: Line 29:
  
 
Use:<br/>
 
Use:<br/>
<nowiki>{{See Also|pagename}}</nowiki>
+
<nowiki>{{See Also|pagename|/langcode}}</nowiki>
 +
 
 +
for example:
 +
 
 +
<nowiki>{{See Also|Seeds|/es}}</nowiki>
  
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).
+
Where '''pagename''' is the name of the Honor that serves as the primary version of any variants (such as translations, or regional variants, etc), and '''language''' is an optional argument consisting of a slash followed by the language code (default is English).
  
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.
+
Translations of this page only need to change the display text (which is marked off by &lt;translate> tags).  </noinclude>
</noinclude>
 

Revision as of 01:00, 26 November 2014


This template is used by Template:Honor_desc to build the honor prerequisite list.

Use:
{{See Also|pagename|/langcode}}

for example:

{{See Also|Seeds|/es}}

Where pagename is the name of the Honor that serves as the primary version of any variants (such as translations, or regional variants, etc), and language is an optional argument consisting of a slash followed by the language code (default is English).

Translations of this page only need to change the display text (which is marked off by <translate> tags).