Difference between revisions of "Form:Bibliographic Record"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
-->|{{#vardefine: varCollectionGiven|yes}}<!-- collection is given: set the flag | -->|{{#vardefine: varCollectionGiven|yes}}<!-- collection is given: set the flag | ||
-->|{{#vardefine: varCollectionGiven|no}}<!-- collection is not given: set the flag | -->|{{#vardefine: varCollectionGiven|no}}<!-- collection is not given: set the flag | ||
+ | -->}}<!-- | ||
+ | --><!-- get the author's name from the URL | ||
+ | -->{{#vardefine: varAuthor|{{#urldecode:{{#urlget:Bibliographic_Record[Author]|}}}}|}}<!-- | ||
+ | -->{{#if: {{IfObjectExists|category=Author|object={{#var: varAuthor}}|}}<!-- | ||
+ | -->|{{#vardefine: varAuthorGiven|yes}}<!-- author is given: set the flag | ||
+ | -->|{{#vardefine: varAuthorGiven|no}}<!-- author is not given: set the flag | ||
-->}}<!-- | -->}}<!-- | ||
--> | --> | ||
Line 25: | Line 31: | ||
|- | |- | ||
! Author(s): <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate all the authors of the resource. For collections, indicate all the editors.</p> | ! Author(s): <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate all the authors of the resource. For collections, indicate all the editors.</p> | ||
− | | {{{field|Author|input type=tokens|existing values only|values from category=Author|mandatory}}} | + | | {{{field|Author|input type=tokens|existing values only|values from category=Author|mandatory|default={{#var: varAuthor}}|}}} |
|- | |- | ||
! Year: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Enter the year when the resource was published.</p> | ! Year: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Enter the year when the resource was published.</p> |
Revision as of 20:39, 22 June 2017
This is the "Bibliographic Record" form.