Difference between revisions of "Template:RequirementsHeader"

From Pathfinder Wiki
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Oh we are the Pathfinders Strong: The Pathfinders are not the General Conference, Division, Union, or local Conference leadership. Yes, those people are Pathfinders, and they contribute greatly to the program, but without the ''children'' in the local clubs, there would ''be'' no Pathfinders.  ''We'' are the PathfindersAnd we are strongAs Pathfinders, we make an impact in our church and communityPathfinders is one of the more visible arms of our church, and without them, many people would not know that a Seventh-day Adventist Church met in their communities.
+
<noinclude>
 +
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.
 +
 
 +
TODO:
 +
 
 +
*I've not tried to make this look niceI've been concentrating on the mechanicsFeel free to fix the aesthetics!
 +
*{{done}} Add the year of introduction (we need to get #switchcategory working or this will be an insane errand).
 +
*{{done}} Add the insigniaWe might want to create an insignia page at AYHAB/<category>/<honor>/Insignia for each honor and just include thatI don't think we can fish the insignia out of the honor, but maybe DPL can manage somehow.  If it can, it could also extract the year from the parent's honor_desc as well.
 +
*{{done}} Add the approval authority.
 +
 
 +
{{RequirementsHeader|page=AY Honors/Aboriginal Lore}}
 +
[[Category:Requirements Template]]
 +
</noinclude>
 +
 
 +
<includeonly>
 +
={{GetHonorName|page={{{page|{{BASEPAGENAME}}}}}}}=
 +
Authority: {{GetHonorAuthority|page={{{page|{{BASEPAGENAME}}}}}}}<br>
 +
Category: {{GetHonorCategory|page={{{page|{{BASEPAGENAME}}}}}}}<br>
 +
Skill Level: {{GetSkillLevel|page={{{page|{{BASEPAGENAME}}}}}}}<br>
 +
Year Introduced: {{GetHonorYear|page={{{page|{{BASEPAGENAME}}}}}}}<br>
 +
[[File:{{GetHonorInsignia|page={{{page|{{BASEPAGENAME}}}}}}}|50px]]</includeonly>

Latest revision as of 23:09, 20 January 2021

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.

TODO:

  • I've not tried to make this look nice. I've been concentrating on the mechanics. Feel free to fix the aesthetics!
  • DONE: Add the year of introduction (we need to get #switchcategory working or this will be an insane errand).
  • DONE: Add the insignia. We might want to create an insignia page at AYHAB/<category>/<honor>/Insignia for each honor and just include that. I don't think we can fish the insignia out of the honor, but maybe DPL can manage somehow. If it can, it could also extract the year from the parent's honor_desc as well.
  • DONE: Add the approval authority.



Aboriginal Lore

Authority:
Category:
Skill Level:
Year Introduced:
Aboriginal Lore AY Honor.png