Difference between revisions of "Template:HonorPrintHeader"

From Pathfinder Wiki
Line 13: Line 13:
 
   <div class="header-item header-item--bottom placeholder placeholder--bottom"></div>
 
   <div class="header-item header-item--bottom placeholder placeholder--bottom"></div>
 
   <div id="honorlevel" class="header-item header-item--bottom"><p>{{Localize|Skill Level}}</p><p>{{{skill|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=skill}}}}}</p></div>
 
   <div id="honorlevel" class="header-item header-item--bottom"><p>{{Localize|Skill Level}}</p><p>{{{skill|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=skill}}}}}</p></div>
   <div id="honoryear" class="header-item header-item--bottom"><p>{{Localize|Year}}</p><p>{{{year|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=year}}}}}</p></div>
+
{{#vardefine:honorYear|{{{year|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=year}}}}}}}
 +
   <div id="honoryear" class="header-item header-item--bottom"><p>{{Localize|Year}}</p><p>{{#iferror:{{#expr:1+{{#var:honorYear|X}} }}|{{Localize|Unknown}}|{{#var:honorYear}}}}</p></div>
 
   <div id="exportdate" class="header-item header-item--bottom"><p>Version</p><p>{{CURRENTDAY}}.{{CURRENTMONTH}}.{{CURRENTYEAR}}</p></div>
 
   <div id="exportdate" class="header-item header-item--bottom"><p>Version</p><p>{{CURRENTDAY}}.{{CURRENTMONTH}}.{{CURRENTYEAR}}</p></div>
 
   <div id="honorinstitution" class="header-item header-item--bottom"><p>{{Localize|Approval authority}}</p><p>{{{authority|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=authority}}}}}</p></div>
 
   <div id="honorinstitution" class="header-item header-item--bottom"><p>{{Localize|Approval authority}}</p><p>{{{authority|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=authority}}}}}</p></div>

Revision as of 01:56, 26 March 2021

Camping Skills I

Skill Level

1

Year

1986

Version

22.11.2024

Approval authority

General Conference

Camping Skills I AY Honor.png