Difference between revisions of "Template:HonorPrintHeader"
From Pathfinder Wiki
DesignerThan (talk | contribs) |
DesignerThan (talk | contribs) |
||
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>{{{ | + | {{#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> |