Template:Paper
Jump to navigation
Jump to search
This is the template Paper.
It belongs to the concept/topic Concept:Paper
You may find examples for the use of this template via the List of Papers.
Usage
storemode subobject
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |storemode=subobject }}
storemode property
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |storemode=property }}
storemode none
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |storemode=none }}
viewmode tableheader
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |viewmode=tableheader }}
viewmode tablerow
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |viewmode=tablerow }}
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |viewmode=tablefooter }}
viewmode labelfield
{{Paper |id= |title= |authors= |pdfUrl= |volume= |session= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?authors|}}}|"{{{?authors}}}" is authors of it <br>|}}
{{#if:{{{?pdfUrl|}}}|"{{{?pdfUrl}}}" is pdfUrl of it <br>|}}
{{#if:{{{?volume|}}}|"{{{?volume}}}" is volume of it <br>|}}
{{#if:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Paper
|Paper id={{{id|}}}
|Paper title={{{title|}}}
|Paper authors={{{authors|}}}
|Paper pdfUrl={{{pdfUrl|}}}
|Paper volume={{{volume|}}}
|Paper session={{{session|}}}
}}
|#default={{#set:
|isA=Paper
|Paper id={{{id|}}}
|Paper title={{{title|}}}
|Paper authors={{{authors|}}}
|Paper pdfUrl={{{pdfUrl|}}}
|Paper volume={{{volume|}}}
|Paper session={{{session|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!id!!title!!authors!!pdfUrl!!volume!!session
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{authors|}}}{{!}}{{!}}{{{pdfUrl|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>authors={{#if:{{{authors|}}}|{{{authors|}}}|}}<br>pdfUrl={{#if:{{{pdfUrl|}}}|{{{pdfUrl|}}}|}}<br>volume={{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}<br>session={{#if:{{{session|}}}|[[{{{session|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Paper
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Paper/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!id
{{!}} {{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!title
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!authors
{{!}} {{#if:{{{authors|}}}|{{{authors|}}}|}}
{{!}}-
!pdf
{{!}} {{#if:{{{pdfUrl|}}}|{{{pdfUrl|}}}|}}
{{!}}-
!volume
{{!}} {{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}
{{!}}-
!session
{{!}} {{#if:{{{session|}}}|[[{{{session|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Paper]]{{#default_form:Paper}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.