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
 
(14 intermediate revisions by the same user not shown)
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 24: Line 26:
</noinclude><includeonly>
</noinclude><includeonly>
__NOEDITSECTION__
__NOEDITSECTION__
{{#default_form:Report}}
{{#default_form:Paper}}
{| class="wikitable" style="float:right;width:500px;border-spacing:20px;margin-left: 40px;"
{| class="wikitable" style="float:right;width:600px;border-spacing:20px;margin-left: 40px;"
!Paper
! colspan="2" style="background:ltgrey;font-size:10pt" | Paper
|[[File:{{{file}}}|500px|Paper]] {{#set: Has pdf={{{file}}}}}
|-
|-
! Title
! style="width: 100px" | Title
| [[Has title::{{{title|}}}]]
| [[Has title::{{{title|}}}]]
|-
|-
! Type
! Type
| [[Has type::{{{type|}}}]]
| [[Has doc type::{{{type|}}}]]
|-
|-{{#if: {{{topic|}}} | | style="display: none;" }}
! Topic
! Topic
| [[Has chapter::{{{topic|}}}]]
| [[In chapter::{{{topic|}}}]]
|-
|-{{#if: {{{publisher|}}} | | style="display: none;" }}
! Publisher
! Publisher
| [[Has date publisher::{{{publisher|}}}]]
| [[Has publisher::{{{publisher|}}}]]
|-
|-{{#if: {{{author|}}} | | style="display: none;" }}
! Author
! Author
| {{#if: {{{author|}}} | {{#arraymap:{{{author}}}|,|x|{{#set: Has author=x}}|}| }} {{#arraymap:{{{author|}}}|,|x|x|<br>}}
| [[Has author::{{{author|}}}]]
|-
|-{{#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
! [[Has idtype::{{{idtype|}}}]]
| [[Has idtype::{{{idtype|}}}]]
|-
! ID
| [[Has id::{{{id|}}}]]
| [[Has id::{{{id|}}}]]
|-
|-{{#if: {{{url|}}} | | style="display: none;" }}
! URL
! URL
| [[Has URL::{{{url|}}}]]
| [[Has URL::{{{url|}}}]]
|-
|-{{#if: {{{file|}}} | {{#set: Has pdf={{{file}}}}} | style="display: none;" }}
!File
|[[File:{{{file}}}|500px|Paper]]
|-{{#if: {{{tag|}}} | | style="display: none;" }}
! Tag
! Tag
| [[Has tag::{{{tag|}}}]]
| [[Has tag::{{{tag|}}}]]
|}{{{abstract}}}
|}{{#if: {{{abstract|}}} |{{{abstract|}}} {{#set: Has summary={{{abstract|}}} }}| }}
[[Category:Paper]]
[[Category:Paper]]
</includeonly>
</includeonly>

Latest revision as of 00:16, March 4, 2024

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.