Template:Paper: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 26: 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|}}}]]
|-
|-
Line 38: Line 37:
|-{{#if: {{{topic|}}} | | style="display: none;" }}
|-{{#if: {{{topic|}}} | | style="display: none;" }}
! Topic
! Topic
| [[Has chapter::{{{topic|}}}]]
| [[In chapter::{{{topic|}}}]]
|-{{#if: {{{publisher|}}} | | style="display: none;" }}
|-{{#if: {{{publisher|}}} | | style="display: none;" }}
! Publisher
! Publisher
| [[Has date publisher::{{{publisher|}}}]]
| [[Has publisher::{{{publisher|}}}]]
|-{{#if: {{{author|}}} | | style="display: none;" }}
|-{{#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;" }}
|-{{#if: {{{journal|}}} | | style="display: none;" }}
! Journal
! Journal
Line 61: Line 60:
| [[Has pages::{{{pages|}}}]]
| [[Has pages::{{{pages|}}}]]
|-{{#if: {{{idtype|}}} | | style="display: none;" }}
|-{{#if: {{{idtype|}}} | | style="display: none;" }}
! ID Type
! [[Has idtype::{{{idtype|}}}]]
| [[Has idtype::{{{idtype|}}}]]
|-{{#if: {{{id|}}} | | style="display: none;" }}
! ID
| [[Has id::{{{id|}}}]]
| [[Has id::{{{id|}}}]]
|-{{#if: {{{url|}}} | | style="display: none;" }}
|-{{#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;" }}
|-{{#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.