Template:Paper: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Paper" template. It should be called in the following format: <pre> {{Paper |title= |type= |published= |publisher= |author= |topic=chapter |volume= |i...")
 
No edit summary
Line 4: Line 4:
<pre>
<pre>
{{Paper
{{Paper
|title=
|title=       Full title
|type=
|type=         web, book, paper, report, article
|published=
|published=   Date
|publisher=
|publisher=   Name of publisher
|author=
|author=       Author list...
|topic=chapter
|journal=      Journal of publication
|volume=
|topic=       Chapter
|issue=
|volume=       Journal Volume
|pages=
|issue=       Issue of journal
|idtype=
|pages=       Pages in journal/book
|id=
|idtype=       DOI, ISSN, ISBN
|url=
|id=           The number, preferable DOI
|file=
|url=         url to find the document
|tag=
|dateaccessed= date the document was accessed - important for web
|abstract=
|file=         If uploaded to opencommons where is it
|tag=         Tag for reference
|abstract=     Abstract
}}
}}
</pre>
</pre>
Line 33: Line 35:
|-
|-
! Type
! Type
| [[Has type::{{{type|}}}]]
| [[Has doc type::{{{type|}}}]]
|-
|-{{#if: {{{topic|}}} | | style="display: none;" }}
! Topic
! Topic
| [[Has chapter::{{{topic|}}}]]
| [[Has chapter::{{{topic|}}}]]
|-
|-{{#if: {{{publisher|}}} | | style="display: none;" }}
! Publisher
! Publisher
| [[Has date publisher::{{{publisher|}}}]]
| [[Has date publisher::{{{publisher|}}}]]
|-
|-{{#if: {{{author|}}} | | style="display: none;" }}
! Author
! Author
| {{#if: {{{author|}}} | {{#arraymap:{{{author}}}|,|x|{{#set: Has author=x}}|}}  | }} {{#arraymap:{{{author|}}}|,|x|x|<br>}}
| {{#if: {{{author|}}} | {{#arraymap:{{{author}}}|,|x|{{#set: Has author=x}}|}}  | }} {{#arraymap:{{{author|}}}|,|x|x|<br>}}
|-
|-{{#if: {{{journal|}}} | | style="display: none;" }}
! Journal
| [[Has journal::{{{journal|}}}]]
|-{{#if: {{{volume|}}} | | style="display: none;" }}
! Volume
! Volume
| [[Has volume::{{{volume|}}}]]
| [[Has volume::{{{volume|}}}]]
|-
|-{{#if: {{{published|}}} | | style="display: none;" }}
! Issue
! Issue
| [[Has date published::{{{published|}}}]]
| [[Has date published::{{{published|}}}]]
|-
|-{{#if: {{{accessdate|}}} | | style="display: none;" }}
! Date Accessed
| [[Has date updated::{{{accessdate|}}}]]
|-{{#if: {{{pages|}}} | | style="display: none;" }}
! Pages
! Pages
| [[Has pages::{{{pages|}}}]]
| [[Has pages::{{{pages|}}}]]
|-
|-{{#if: {{{idtype|}}} | | style="display: none;" }}
! ID Type
! ID Type
| [[Has idtype::{{{idtype|}}}]]
| [[Has idtype::{{{idtype|}}}]]
|-
|-{{#if: {{{id|}}} | | style="display: none;" }}
! ID
! ID
| [[Has id::{{{id|}}}]]
| [[Has id::{{{id|}}}]]
|-
|-{{#if: {{{url|}}} | | style="display: none;" }}
! URL
! URL
| [[Has URL::{{{url|}}}]]
| [[Has URL::{{{url|}}}]]
|-
|-{{#if: {{{tag|}}} | | style="display: none;" }}
! Tag
! Tag
| [[Has tag::{{{tag|}}}]]
| [[Has tag::{{{tag|}}}]]

Revision as of 22:15, August 23, 2023

This is the "Paper" template. It should be called in the following format:

{{Paper
|title=        Full title
|type=         web, book, paper, report, article
|published=    Date
|publisher=    Name of publisher
|author=       Author list...
|journal=      Journal of publication
|topic=        Chapter
|volume=       Journal Volume
|issue=        Issue of journal
|pages=        Pages in journal/book
|idtype=       DOI, ISSN, ISBN
|id=           The number, preferable DOI
|url=          url to find the document
|dateaccessed= date the document was accessed - important for web
|file=         If uploaded to opencommons where is it
|tag=          Tag for reference
|abstract=     Abstract
}}

Edit the page to see the template text.