Template:BibliographicalItemTop: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude><div class="no-img">This template contains page variables used on item (monograph, paper, postcard etc.) pages in IRHB's Originators section. They are all computed automatically, except one optional parameter:
<noinclude><div class="no-img">This template contains page variables used on item (monograph, paper, postcard etc.) pages in IRHB's Originators section. They are all computed automatically, except one optional parameter:
* FirstEd &ndash;  title of item page for first edition of work. It defaults to the current page, so a value must be provided if the current item is a later edition or reprint.</div></noinclude><includeonly>{{#vardefine:FirstEdition|{{{FirstEd|{{PAGENAME}}}}}}}{{#vardefine:FirstUpper|{{#replace:{{uc:{{#var:FirstEdition}}}}|&#39;|'}}}}{{#vardefine:UpperTitle|{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}}}{{#vardefine:Originator|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}| }}+1}}}}{{#vardefine:Year|{{#replace:|{{#sub:{{#explode:{{PAGENAME}}| |-1}}|0|4}}}}|x|}}}}{{#vardefine:Letter|{{#sub:{{PAGENAME}}|0|1}}}}</includeonly>
* FirstEd &ndash;  title of item page for first edition of work. It defaults to the current page, so a value must be provided if the current item is a later edition or reprint.</div></noinclude><includeonly>{{#vardefine:FirstEdition|{{{FirstEd|{{PAGENAME}}}}}}}{{#vardefine:FirstUpper|{{#replace:{{uc:{{#var:FirstEdition}}}}|&#39;|'}}}}{{#vardefine:UpperTitle|{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}}}{{#vardefine:Originator|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}| }}+1}}}}{{#vardefine:Year|{{#replace:{{#sub:{{#explode:{{PAGENAME}}| |-1}}|0|4}}|x|}}}}{{#vardefine:Letter|{{#sub:{{PAGENAME}}|0|1}}}}YY{{#var:Year}}YY</includeonly>

Revision as of 05:48, 20 October 2017

This template contains page variables used on item (monograph, paper, postcard etc.) pages in IRHB's Originators section. They are all computed automatically, except one optional parameter:
  • FirstEd – title of item page for first edition of work. It defaults to the current page, so a value must be provided if the current item is a later edition or reprint.