Template:Volume

From BITPlan ceur-ws Wiki
Jump to navigation Jump to search

This is the template Volume. It belongs to the concept/topic Concept:Volume
You may find examples for the use of this template via the List of Volumes.

Usage

storemode subobject

{{Volume
|number=
|title=
|storemode=subobject
}}

storemode property

{{Volume
|number=
|title=
|storemode=property
}}

storemode none

{{Volume
|number=
|title=
|storemode=none
}}


viewmode tableheader

{{Volume
|number=
|title=
|viewmode=tableheader
}}

viewmode tablerow

{{Volume
|number=
|title=
|viewmode=tablerow
}}

viewmode tablefooter

{{Volume
|number=
|title=
|viewmode=tablefooter
}}

viewmode labelfield

{{Volume
|number=
|title=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Volume<br>|}}
{{#if:{{{?number|}}}|"{{{?number}}}" is number of it <br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Volume
|Volume number={{{number|}}}
|Volume title={{{title|}}}
}}
|#default={{#set:
|isA=Volume
|Volume number={{{number|}}}
|Volume title={{{title|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= sessions =
{{#ask:[[Concept:Session]][[Session volume::{{FULLPAGENAME}}]]
| ?Session title = title
| ?Session volume = volume

|sort=Session title
|order=ascending
}}
= papers =
{{#ask:[[Concept:Paper]][[Paper volume::{{FULLPAGENAME}}]]
| ?Paper id = id
| ?Paper title = title
| ?Paper authors = authors
| ?Paper pdfUrl = pdfUrl
| ?Paper volume = volume
| ?Paper session = session

|sort=Paper id
|order=ascending
}}
|tableheader={{{!}} class='wikitable'
!number!!title
{{!}}-
|tablerow=
{{!}}{{{number|}}}{{!}}{{!}}{{{title|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
number={{#if:{{{number|}}}|{{{number|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Volume
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Volume/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!number
{{!}}&nbsp;{{#if:{{{number|}}}|{{{number|}}}|}}
{{!}}-
!title
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Volume]]{{#default_form:Volume}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.