Difference between revisions of "Help:Add new Honor"

From Pathfinder Wiki
Line 8: Line 8:
 
That is the first page that need's to be created. It has the following structure: The Honor Navigation, followed by an Overview and the Challenging-Part-Section. On the right side it has the infobox that is displaying the most important information about an honor.
 
That is the first page that need's to be created. It has the following structure: The Honor Navigation, followed by an Overview and the Challenging-Part-Section. On the right side it has the infobox that is displaying the most important information about an honor.
  
Source Code wise it has the following structure: Template call of [[Template:HonorLanding|HonorLanding]] followed by the Overview and the Challenging-Part-Section. The content ends with a call of the [[Template:CloseHonorPage|CloseHonorPage-Template]] Use the following code as a starting point and fill in the needed parts:
+
Source Code wise it has the following structure: Template call of [[Template:HonorLanding|HonorLanding]] followed by the Overview and the Challenging-Part-Section. The content ends with a call of the [[Template:CloseHonorPage|CloseHonorPage-Template]] Use the following code as a starting point and set the needed arguments of the [[Template:HonorLanding|HonorLanding Template]], they are described in the documentation of the template, and write an awesome overview. Then the Landing Page should be finished.
  
<code>
+
<syntaxhighlight lang="Wikitext" style="overflow:auto" highlight="15">
 
<nowiki>{{</nowiki>HonorLanding<br>
 
<nowiki>{{</nowiki>HonorLanding<br>
 
|skill=2<br>
 
|skill=2<br>
Line 31: Line 31:
 
<nowiki>{{</nowiki>#lst:<nowiki>{{</nowiki>#titleparts:<nowiki>{{</nowiki>PAGENAME}}|2|1}}/Requirements<nowiki>{{</nowiki>GetLangSuffix}} |challenge}}<br>
 
<nowiki>{{</nowiki>#lst:<nowiki>{{</nowiki>#titleparts:<nowiki>{{</nowiki>PAGENAME}}|2|1}}/Requirements<nowiki>{{</nowiki>GetLangSuffix}} |challenge}}<br>
 
<nowiki>{{</nowiki>CloseHonorPage}}<br>
 
<nowiki>{{</nowiki>CloseHonorPage}}<br>
</code>
+
</syntaxhighlight >
 +
 
 +
== Create the Requirements Page ==
 +
To create the requirement page, just use the link to the requirements page on the newly created honor landing page.
 +
Use the following code as a template for the requirements page.
 +
 
 +
<syntaxhighlight lang="Wikitext" style="overflow:auto" highlight="15">
 +
<nowiki>{{</nowiki>HonorSubpage}}
 +
 
 +
<nowiki><</nowiki>section begin=Body />
 +
 
 +
<nowiki><</nowiki>b>1. <nowiki><</nowiki>section begin=req1 /><nowiki><</nowiki>noinclude><nowiki><</nowiki>translate>
 +
<nowiki><</nowiki>/noinclude>What is the purpose of Scrapbooking?
 +
<nowiki><</nowiki>noinclude><nowiki><</nowiki>/translate><nowiki><</nowiki>/noinclude><nowiki><</nowiki>section end=req1 /><nowiki><</nowiki>/b>
 +
 
 +
<nowiki><</nowiki>section begin=challenge />
 +
<nowiki><</nowiki>b>N. <nowiki><</nowiki>section begin=reqN /><nowiki><</nowiki>noinclude><nowiki><</nowiki>translate>
 +
<nowiki><</nowiki>/noinclude>Make a scrapbook of at least 12 pages (8 1/2 x 11 or larger) on one of the following themes, and incorporating the use of colored paper, stickers, decorative scissors, matting and journaling.
 +
<nowiki><</nowiki>noinclude><nowiki><</nowiki>/translate><nowiki><</nowiki>/noinclude><nowiki><</nowiki>section end=reqN /><nowiki><</nowiki>/b>
 +
<nowiki><</nowiki>section end=challenge />
 +
 
 +
<nowiki><</nowiki>section end=Body />
 +
 
 +
</syntaxhighlight >

Revision as of 12:23, 3 October 2023

Here you'll find a guide on how to add a new honor to the wiki.

To know which pages are important for an honor, read the section about the Structure of an Honor.

Create the Honor Landing Page

That is the first page that need's to be created. It has the following structure: The Honor Navigation, followed by an Overview and the Challenging-Part-Section. On the right side it has the infobox that is displaying the most important information about an honor.

Source Code wise it has the following structure: Template call of HonorLanding followed by the Overview and the Challenging-Part-Section. The content ends with a call of the CloseHonorPage-Template Use the following code as a starting point and set the needed arguments of the HonorLanding Template, they are described in the documentation of the template, and write an awesome overview. Then the Landing Page should be finished.

<nowiki>{{</nowiki>HonorLanding<br>
|skill=2<br>
|year=Unknown<br>
|category=Regional<br>
|authority=Florida Conference<br>
|insignia=Scrapbooking (FL) AY Honor.png<br>
|insignia_source=FL<br>
|primary=AY Honors/Scrapbooking<br>
}} 

<nowiki>== {{</nowiki>Localize|Overview}}==<br>
<nowiki><</nowiki>translate><br>
WRITE AN AWESOME OVERVIEW HERE :)<br>
<nowiki><</nowiki>/translate>

<nowiki>== {{</nowiki>Localize|The Challenging Part}} ==<br>
<nowiki>{{</nowiki>Localize|Challenging Part}}

<nowiki>{{</nowiki>#lst:<nowiki>{{</nowiki>#titleparts:<nowiki>{{</nowiki>PAGENAME}}|2|1}}/Requirements<nowiki>{{</nowiki>GetLangSuffix}} |challenge}}<br>
<nowiki>{{</nowiki>CloseHonorPage}}<br>

Create the Requirements Page

To create the requirement page, just use the link to the requirements page on the newly created honor landing page. Use the following code as a template for the requirements page.

<nowiki>{{</nowiki>HonorSubpage}}

<nowiki><</nowiki>section begin=Body />

<nowiki><</nowiki>b>1. <nowiki><</nowiki>section begin=req1 /><nowiki><</nowiki>noinclude><nowiki><</nowiki>translate>
<nowiki><</nowiki>/noinclude>What is the purpose of Scrapbooking?
<nowiki><</nowiki>noinclude><nowiki><</nowiki>/translate><nowiki><</nowiki>/noinclude><nowiki><</nowiki>section end=req1 /><nowiki><</nowiki>/b>

<nowiki><</nowiki>section begin=challenge />
<nowiki><</nowiki>b>N. <nowiki><</nowiki>section begin=reqN /><nowiki><</nowiki>noinclude><nowiki><</nowiki>translate>
<nowiki><</nowiki>/noinclude>Make a scrapbook of at least 12 pages (8 1/2 x 11 or larger) on one of the following themes, and incorporating the use of colored paper, stickers, decorative scissors, matting and journaling.
<nowiki><</nowiki>noinclude><nowiki><</nowiki>/translate><nowiki><</nowiki>/noinclude><nowiki><</nowiki>section end=reqN /><nowiki><</nowiki>/b>
<nowiki><</nowiki>section end=challenge />

<nowiki><</nowiki>section end=Body />