Difference between revisions of "Form:Bibliographic Record"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
{{{for template|Bibliographic Record}}} | {{{for template|Bibliographic Record}}} | ||
+ | <!-- get the collection name from the URL | ||
+ | -->{{#vardefine: varCollection|{{#urldecode:{{#urlget:Bibliographic Record[Collection]|}}}}|}}<!-- | ||
+ | -->{{#if: {{IfObjectExists|category=Bibliographic Record|object={{#var: varCollection}}|}}<!-- | ||
+ | -->|{{#vardefine: varCollectionGiven|yes}}<!-- collection is given: set the flag | ||
+ | -->|{{#vardefine: varCollectionGiven|no}}<!-- collection is not given: set the flag | ||
+ | -->}}<!-- | ||
+ | --> | ||
{| class="formtable" | {| class="formtable" | ||
!width="30%"| Title: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate the title of the resource, by capitalizing the nouns, verb, adjectives, and adverbs. E.g. '''Beyond Positivism and Relativism'''. NOTE: No formatting is allowed here.</p> | !width="30%"| Title: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate the title of the resource, by capitalizing the nouns, verb, adjectives, and adverbs. E.g. '''Beyond Positivism and Relativism'''. NOTE: No formatting is allowed here.</p> | ||
Line 55: | Line 62: | ||
{| class="formtable" | {| class="formtable" | ||
!width="30%"| In Collection: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Select the collection where this article was published. If the collection is not in the list, please add its bibliographic record first and then add the record for this article.</p> | !width="30%"| In Collection: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Select the collection where this article was published. If the collection is not in the list, please add its bibliographic record first and then add the record for this article.</p> | ||
− | |width="70%"| {{{field|Collection|input type=combobox|existing values only|values from category=Bibliographic Record|mandatory}}} | + | |width="70%"| <!-- |
− | |}</div> | + | -->{{#ifeq: {{#var: varCollectionGiven}}|yes<!-- |
+ | -->|{{#var:varCollection|}}<!-- | ||
+ | -->{{{field|Collection|hidden|default={{#var:varCollection|}}|}}}<!-- | ||
+ | -->|{{{field|Collection|input type=combobox|existing values only|values from category=Bibliographic Record|mandatory}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->|}</div> | ||
<div id="journal" style="padding-bottom: 5px; margin-bottom: 5px;"> | <div id="journal" style="padding-bottom: 5px; margin-bottom: 5px;"> | ||
{| class="formtable" | {| class="formtable" |
Revision as of 19:59, 22 June 2017
This is the "Bibliographic Record" form.