Difference between revisions of "AY Honors/Tile Laying/Requirements"

From Pathfinder Wiki
< AY Honors‎ | Tile LayingAY Honors/Tile Laying/Requirements
(Bot: Automated import of articles)
 
m (Importing a new version from external source)
Line 1: Line 1:
<languages /><br />
+
<noinclude>
<noinclude><translate></noinclude>
+
This template displays a header at the top of an honor requirements page.
==Requirements==
+
 
{{reqreq|page={{PAGENAME}}|num=1}}
+
If a '''page''' argument is given, it will display the header for that page.
{{reqsubreq|page={{PAGENAME}}|num=1a}}
+
:Otherwise it assumes that the parent page is an honor page and display a header for that.
{{reqsubreq|page={{PAGENAME}}|num=1b}}
+
 
{{reqsubreq|page={{PAGENAME}}|num=1c}}
+
If an '''honorname''' argument is given, it will display  that as the honor name at the top.
{{reqsubreq|page={{PAGENAME}}|num=1d}}
+
:Otherwise, it will try to pull the honorname from the page argument (or from PAGENAME if no page is given) using #titleparts (starting at the third element of the page name, and displaying only one element).  The honorname argument might be useful for translations.
{{reqreq|page={{PAGENAME}}|num=2}}
+
 
{{reqreq|page={{PAGENAME}}|num=3}}
+
I've not tried to make this look nice.  I've been concentrating on the mechanics.  Feel free to fix the aesthetics!
{{reqreq|page={{PAGENAME}}|num=4}}
+
</noinclude>
{{reqsubreq|page={{PAGENAME}}|num=4a}}
+
={{#if:{{{honorname|}}}|{{{honorname}}}|{{#titleparts:{{{page|{{PAGENAME}}}}}|1|3}}}}=
{{reqsubreq|page={{PAGENAME}}|num=4b}}
+
{{GetHonorCategory|page={{{page|{{BASEPAGENAME}}}}}}}<br>
{{reqreq|page={{PAGENAME}}|num=5}}
+
Skill Level {{GetSkillLevel|page={{{page|{{BASEPAGENAME}}}}}}}
{{reqreq|page={{PAGENAME}}|num=6}}
 
{{reqreq|page={{PAGENAME}}|num=7}}
 
{{reqreq|page={{PAGENAME}}|num=8}}
 
{{reqreq|page={{PAGENAME}}|num=9}}
 
{{reqsubreq|page={{PAGENAME}}|num=9a}}
 
{{reqsubreq|page={{PAGENAME}}|num=9b}}
 
{{reqsubreq|page={{PAGENAME}}|num=9c}}
 
[[Category:Honor Requirements|{{#titleparts:{{PAGENAME}}|1|3}}]]
 
<noinclude></translate></noinclude>
 

Revision as of 01:48, 24 November 2020

This template displays a header at the top of an honor requirements page.

If a page argument is given, it will display the header for that page.

Otherwise it assumes that the parent page is an honor page and display a header for that.

If an honorname argument is given, it will display that as the honor name at the top.

Otherwise, it will try to pull the honorname from the page argument (or from PAGENAME if no page is given) using #titleparts (starting at the third element of the page name, and displaying only one element). The honorname argument might be useful for translations.

I've not tried to make this look nice. I've been concentrating on the mechanics. Feel free to fix the aesthetics!

Requirements


Skill Level