Template:Paper: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 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:600px;border-spacing:20px;margin-left: 40px;"
{| class="wikitable" style="float:right;width:600px;border-spacing:20px;margin-left: 40px;"
! Title
! colspan="2" style="background:ltgrey;font-size:10pt" | Paper
|-
! style="width: 100px" | Title
| [[Has title::{{{title|}}}]]
| [[Has title::{{{title|}}}]]
|-
|-
Line 58: 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|}}} | | style="display: none;" }}
|-{{#if: {{{file|}}} | {{#set: Has pdf={{{file}}}}} | style="display: none;" }}
!File
!File
|[[File:{{{file}}}|500px|Paper]] {{#set: Has pdf={{{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.