Template:Paper: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
|-{{#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
Line 44: Line 44:
|-{{#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

Revision as of 22:42, 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.