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 |title= |id= |volume= |session= |storemode=subobject }}
storemode property
{{Paper |title= |id= |volume= |session= |storemode=property }}
storemode none
{{Paper |title= |id= |volume= |session= |storemode=none }}
viewmode tableheader
{{Paper |title= |id= |volume= |session= |viewmode=tableheader }}
viewmode tablerow
{{Paper |title= |id= |volume= |session= |viewmode=tablerow }}
{{Paper |title= |id= |volume= |session= |viewmode=tablefooter }}
viewmode labelfield
{{Paper |title= |id= |volume= |session= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id 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 title={{{title|}}}
|Paper id={{{id|}}}
|Paper volume={{{volume|}}}
|Paper session={{{session|}}}
}}
|#default={{#set:
|isA=Paper
|Paper title={{{title|}}}
|Paper id={{{id|}}}
|Paper volume={{{volume|}}}
|Paper session={{{session|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!title!!id!!volume!!session
{{!}}-
|tablerow=
{{!}}{{{title|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
title={{#if:{{{title|}}}|{{{title|}}}|}}<br>id={{#if:{{{id|}}}|{{{id|}}}|}}<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}}
{{!}}-
}}
!title
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!id
{{!}} {{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!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.