Difference between revisions of "Template:HonorPrintHeader"
From Pathfinder Wiki
DesignerThan (talk | contribs) |
DesignerThan (talk | contribs) (day shall have a leading zero) |
||
Line 16: | Line 16: | ||
{{#vardefine:honorYear|{{{year|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=year}}}}}}} | {{#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="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>{{ | + | <div id="exportdate" class="header-item header-item--bottom"><p>Version</p><p>{{CURRENTDAY2}}.{{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> | ||
<div id="honorinsignia">[[File:{{{insignia|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=insignia}}}}}|200px]]</div> | <div id="honorinsignia">[[File:{{{insignia|{{GetHonorMetaData|honor={{{honorname|}}}|parameter=insignia}}}}}|200px]]</div> | ||
</div> | </div> | ||
</onlyinclude></includeonly>{{HonorPrintHeader|honorname=Camping Skills I|isExample=true}} | </onlyinclude></includeonly>{{HonorPrintHeader|honorname=Camping Skills I|isExample=true}} |