Difference between revisions of "Template:Object"

(created and content copy from test version)
 
(end of testing, new version: more than one keyword is displayed)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#get_file_data:
 
{{#get_file_data:
directory=???
+
directory=itt
|file name=???
+
|file name={{Itt_bib}}
 
|format=xml
 
|format=xml
 
|data=namePartF={{#var:xmlpath}}/name[role/roleTerm='aut']/namePart[@type='family'],namePartG={{#var:xmlpath}}/name[role/roleTerm='aut']/namePart[@type='given'],namePartD={{#var:xmlpath}}/name[role/roleTerm='aut']/namePart[@type='date'],coAuthorF={{#var:xmlpath}}/name[role/roleTerm='ctb']/namePart[@type='family'],coAuthorG={{#var:xmlpath}}/name[role/roleTerm='ctb']/namePart[@type='given'],coAuthorD={{#var:xmlpath}}/name[role/roleTerm='ctb']/namePart[@type='date'],title={{#var:xmlpath}}/titleInfo/title,subTitle={{#var:xmlpath}}/titleInfo/subTitle,publisher={{#var:xmlpath}}/originInfo/publisher,dateIssued={{#var:xmlpath}}/originInfo/dateIssued,dateOther={{#var:xmlpath}}/originInfo/dateOther,place={{#var:xmlpath}}/originInfo/place/placeTerm,edition={{#var:xmlpath}}/originInfo/edition,titleTransl={{#var:xmlpath}}/titleInfo[@type='translated']/title,subTitleTransl={{#var:xmlpath}}/titleInfo[@type='translated']/subTitle,titleUni={{#var:xmlpath}}/titleInfo[@type='uniform']/title,subTitleUni={{#var:xmlpath}}/titleInfo[@type='uniform']/subTitle,pages={{#var:xmlpath}}/physicalDescription/extent,volumes={{#var:xmlpath}}/relatedItem/physicalDescription/note,languageTerm={{#var:xmlpath}}/language/languageTerm,topic={{#var:xmlpath}}/subject/topic,note={{#var:xmlpath}}/note,url={{#var:xmlpath}}/location/url,locations={{#var:xmlpath}}/location/physicalLocation,locationsUrl={{#var:xmlpath}}/location/physicalLocation/@xlink:href,shelf={{#var:xmlpath}}/location/shelfLocator,recordCr={{#var:xmlpath}}/recordInfo/recordCreationDate,recordCh={{#var:xmlpath}}/recordInfo/recordChangeDate,recordId={{#var:xmlpath}}/recordInfo/recordIdentifier
 
|data=namePartF={{#var:xmlpath}}/name[role/roleTerm='aut']/namePart[@type='family'],namePartG={{#var:xmlpath}}/name[role/roleTerm='aut']/namePart[@type='given'],namePartD={{#var:xmlpath}}/name[role/roleTerm='aut']/namePart[@type='date'],coAuthorF={{#var:xmlpath}}/name[role/roleTerm='ctb']/namePart[@type='family'],coAuthorG={{#var:xmlpath}}/name[role/roleTerm='ctb']/namePart[@type='given'],coAuthorD={{#var:xmlpath}}/name[role/roleTerm='ctb']/namePart[@type='date'],title={{#var:xmlpath}}/titleInfo/title,subTitle={{#var:xmlpath}}/titleInfo/subTitle,publisher={{#var:xmlpath}}/originInfo/publisher,dateIssued={{#var:xmlpath}}/originInfo/dateIssued,dateOther={{#var:xmlpath}}/originInfo/dateOther,place={{#var:xmlpath}}/originInfo/place/placeTerm,edition={{#var:xmlpath}}/originInfo/edition,titleTransl={{#var:xmlpath}}/titleInfo[@type='translated']/title,subTitleTransl={{#var:xmlpath}}/titleInfo[@type='translated']/subTitle,titleUni={{#var:xmlpath}}/titleInfo[@type='uniform']/title,subTitleUni={{#var:xmlpath}}/titleInfo[@type='uniform']/subTitle,pages={{#var:xmlpath}}/physicalDescription/extent,volumes={{#var:xmlpath}}/relatedItem/physicalDescription/note,languageTerm={{#var:xmlpath}}/language/languageTerm,topic={{#var:xmlpath}}/subject/topic,note={{#var:xmlpath}}/note,url={{#var:xmlpath}}/location/url,locations={{#var:xmlpath}}/location/physicalLocation,locationsUrl={{#var:xmlpath}}/location/physicalLocation/@xlink:href,shelf={{#var:xmlpath}}/location/shelfLocator,recordCr={{#var:xmlpath}}/recordInfo/recordCreationDate,recordCh={{#var:xmlpath}}/recordInfo/recordChangeDate,recordId={{#var:xmlpath}}/recordInfo/recordIdentifier
Line 26: Line 26:
 
{{!}}style="border-bottom: 1pt grey solid;"{{!}} {{#external_value:place}}}}
 
{{!}}style="border-bottom: 1pt grey solid;"{{!}} {{#external_value:place}}}}
 
|-
 
|-
! {{#ifeq: {{#external_value:dateIssued}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Date of Issue
+
! {{#ifeq: {{#external_value:dateIssued}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Year
 
{{!}}style="border-bottom: 1pt grey solid;"{{!}} {{#external_value:dateIssued}}}}
 
{{!}}style="border-bottom: 1pt grey solid;"{{!}} {{#external_value:dateIssued}}}}
 
|-
 
|-
! {{#ifeq: {{#external_value:dateOther}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Date of Issue (transl.)
+
! {{#ifeq: {{#external_value:dateOther}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Hebrew Year
 
{{!}}style="border-bottom: 1pt grey solid;"{{!}} {{#external_value:dateOther}}}}
 
{{!}}style="border-bottom: 1pt grey solid;"{{!}} {{#external_value:dateOther}}}}
 
|-
 
|-
Line 57: Line 57:
 
|-
 
|-
 
! scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"|Locations
 
! scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"|Locations
|style="border-bottom: 1pt grey solid;"|{{#for_external_table:- [{{{locationsUrl}}} {{{locations}}}] ({{{shelf}}})<br /> }}
+
|style="border-bottom: 1pt grey solid;"|{{#for_external_table:- {{{locations}}} ({{{shelf}}})<br /> }}
 
|-
 
|-
 
! scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"|Language(s) of document
 
! scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"|Language(s) of document
|style="border-bottom: 1pt grey solid;"|{{#for_external_table: {{{languageTerm}}}&nbsp;&nbsp; }}
+
|style="border-bottom: 1pt grey solid;"|{{#for_external_table: {{{languageTerm}}}&nbsp; &frasl; &nbsp; }}
 
|-
 
|-
! {{#ifeq: {{#external_value:topic}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Primary topic
+
! scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"|Keywords
{{!}}style="border-bottom: 1pt grey solid;"{{!}} [[:Category:{{#external_value:topic}}|{{#external_value:topic}}]]}}
+
|style="border-bottom: 1pt grey solid;"|{{#for_external_table: [[:Category:{{{topic}}}|{{{topic}}}]]&nbsp; &frasl; &nbsp; }}
 
|-
 
|-
 
! {{#ifeq: {{#external_value:note}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Notes
 
! {{#ifeq: {{#external_value:note}} | - | scope="col" style="padding:0em;"{{!}} | scope="col" style="border-bottom: 1pt grey solid; font-weight: bold; text-align:left;"{{!}}Notes

Latest revision as of 13:23, 26 July 2021

Title Error: no local variable "title" was set.
Subtitle Error: no local variable "subTitle" was set.
Author [[ Error: no local variable "namePartG" was set. Error: no local variable "namePartF" was set.]] (Error: no local variable "namePartD" was set.)
Co-Author [[ Error: no local variable "coAuthorG" was set. Error: no local variable "coAuthorF" was set.]] (Error: no local variable "coAuthorD" was set.)
Publisher Error: no local variable "publisher" was set.
Place of public. Error: no local variable "place" was set.
Year Error: no local variable "dateIssued" was set.
Hebrew Year Error: no local variable "dateOther" was set.
Edition Error: no local variable "edition" was set.
Title (translated) Error: no local variable "titleTransl" was set.
Subtitle (translated) Error: no local variable "subTitleTransl" was set.
Title (uniform) Error: no local variable "titleUni" was set.
Subtitle (uniform) Error: no local variable "subTitleUni" was set.
Number of volumes Error: no local variable "volumes" was set.
Pages Error: no local variable "pages" was set.
Internet
Locations
Language(s) of document
Keywords
Notes Error: no local variable "note" was set.

Record created: Error: no local variable "recordCr" was set. | Record last changed: Error: no local variable "recordCh" was set.
---
To write a comment please register, log in and use the discussion tab on the right side of this page! Thank You! [[Category:Error: no local variable "topic" was set.]]