Difference between revisions of "Form:Bibliographic Record"
Jump to navigation
Jump to search
(21 intermediate revisions by the same user not shown) | |||
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 | ||
+ | -->}}<!-- | ||
+ | --><!-- 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 | ||
+ | -->}}<!-- | ||
+ | --> | ||
{| 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 11: | Line 24: | ||
|- | |- | ||
! Resource Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate what kind of a resource this is.</p> | ! Resource Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate what kind of a resource this is.</p> | ||
− | | {{{field|Resource Type|input type=dropdown|mandatory|values=journal article,book,collection,collection article|default=book|show on select=book=>book;collection=>book;journal article=>journal;journal article=>pages;collection article=>collection;collection article=>pages}}} | + | |<!-- |
+ | -->{{#ifeq: {{#var: varCollectionGiven}}|yes<!-- | ||
+ | -->|{{{field|Resource Type|input type=dropdown|mandatory|values=collection article|default=collection article|show on select=book=>book;collection=>book;journal article=>journal;journal article=>pages;collection article=>collection;collection article=>pages}}}<!-- | ||
+ | -->|{{{field|Resource Type|input type=dropdown|mandatory|values=journal article,book,collection,collection article|default=book|show on select=book=>book;collection=>book;journal article=>journal;journal article=>pages;collection article=>collection;collection article=>pages}}}<!-- | ||
+ | -->}} | ||
|- | |- | ||
! 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}}|}}} {{#formlink:form=Author|link text=Add a New Author|popup}} |
|- | |- | ||
! 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> | ||
| {{FormDateField|mandatory=yes|dataprecision=Year|showera=no|showapproximate=no|showmonthdayfields=no|showcaptions=no}} | | {{FormDateField|mandatory=yes|dataprecision=Year|showera=no|showapproximate=no|showmonthdayfields=no|showcaptions=no}} | ||
+ | |} | ||
+ | <div id="book" style="padding-bottom: 5px; margin-bottom: 5px;"> | ||
+ | {| class="formtable" | ||
+ | !width="30%"| Publisher: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate the publisher of the resource.</p> | ||
+ | |width="70%"| {{{field|Publisher|input type=text|mandatory}}} | ||
+ | |- | ||
+ | ! ISBN: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the resource has an ISBN, indicate it here. NOTE: do NOT include any hyphens, e.g. '''0-8133-2468-8''' should be entered as '''0813324688'''.</p> | ||
+ | | {{{field|ISBN|input type=text|mandatory}}} | ||
+ | |}</div> | ||
+ | <div id="collection" style="padding-bottom: 5px; margin-bottom: 5px;"> | ||
+ | {| 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="70%"| <!-- | ||
+ | -->{{#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;"> | ||
+ | {| class="formtable" | ||
+ | !width="30%"| Journal: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Enter the name of the journal where this article was published. If the journal has a page in this encyclopedia, a link to that page can be added by means of double square brackets in the usual wiki style.</p> | ||
+ | |width="70%"| {{{field|Journal|input type=text with autocomplete|mandatory}}} | ||
+ | |- | ||
+ | ! Volume: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate the volume of the journal issue.</p> | ||
+ | | {{{field|Volume|input type=text}}} | ||
+ | |- | ||
+ | ! Number: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate the number of the journal issue.</p> | ||
+ | | {{{field|Number|input type=text}}} | ||
+ | |}</div> | ||
+ | <div id="pages" style="padding-bottom: 5px; margin-bottom: 5px;"> | ||
+ | {| class="formtable" | ||
+ | !width="30%"| Pages: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Enter the page numbers. NOTE: Do not include "p." or "pp." - indicate the numbers only, e.g. "1-34". </p> | ||
+ | |width="70%"| {{{field|Pages|input type=text}}} | ||
+ | |}</div> | ||
+ | {| class="formtable" | ||
+ | !width="30%"| Cover Image: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">For books and collections, upload the photo of the cover. For articles, upload the image of the first page (optional).</p> | ||
+ | |width="70%"| {{{field|Cover Image|input type=text with autocomplete|existing values only|values from namespace=File|uploadable|property=Cover Image}}} | ||
|- | |- | ||
! Abstract: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If this bibliographic resource has an abstract, copy and paste it here. If not, please provide a short outline of the main ideas presented in the resource.</p> | ! Abstract: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If this bibliographic resource has an abstract, copy and paste it here. If not, please provide a short outline of the main ideas presented in the resource.</p> | ||
Line 44: | Line 100: | ||
-->}} | -->}} | ||
|} | |} | ||
− | + | {{{end template}}} | |
+ | |||
+ | {{{for template|YouTube Video|label=YouTube Video|multiple}}} | ||
{| class="formtable" | {| class="formtable" | ||
− | !width="30%"| | + | !width="30%"|Video ID: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The ID of the YouTube video. E.g. if the video URL is https://www.youtube.com/watch?v=A22oy8dFjqc, then the video ID is '''A22oy8dFjqc'''.</p> |
− | |width="70%"| {{{field| | + | |width="70%"| {{{field|VideoID|input type=text|size=20|maxlength=20|mandatory}}} |
|- | |- | ||
− | ! | + | ! Start at: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the video should not start at the beginning, indicate the start time of the video in ''seconds''. If empty, the video will start at the beginning.</p> |
− | + | | {{{field|VideoStartAt|input type=regexp|size=10|regexp=/^\d*$/|message=Please enter integers only!}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ! | ||
− | |||
|- | |- | ||
− | ! | + | ! Video Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">this description will appear under the embedded video.</p> |
− | | {{{field| | + | | {{{field|VideoDescription|input type=textarea|rows=2}}} |
|- | |- | ||
− | ! | + | ! Section to Embed: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The section of the page where the video should be embedded.</p> |
− | | {{{field| | + | | {{{field|VideoEmbedSection|input type=dropdown|mandatory|values=Abstract,Synopsis,Criticism|default=Abstract}}} |
− | | | + | |} |
− | |||
− | |||
− | |||
− | |||
− | |} | ||
{{{end template}}} | {{{end template}}} | ||
+ | |||
+ | |||
{{{standard input|save}}} {{{standard input|cancel}}} | {{{standard input|save}}} {{{standard input|cancel}}} | ||
</includeonly> | </includeonly> |
Latest revision as of 17:15, 10 January 2023
This is the "Bibliographic Record" form.