Template:Session

From BITPlan ceur-ws Wiki
Revision as of 06:33, 4 August 2020 by Wf (talk | contribs) (created by WikiTask 2020-08-04T04:33:03Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage

storemode subobject

{{Session
|title=
|volume=
|storemode=subobject
}}

storemode property

{{Session
|title=
|volume=
|storemode=property
}}

storemode none

{{Session
|title=
|volume=
|storemode=none
}}


viewmode tableheader

{{Session
|title=
|volume=
|viewmode=tableheader
}}

viewmode tablerow

{{Session
|title=
|volume=
|viewmode=tablerow
}}

viewmode tablefooter

{{Session
|title=
|volume=
|viewmode=tablefooter
}}

viewmode labelfield

{{Session
|title=
|volume=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Session<br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?volume|}}}|"{{{?volume}}}" is volume of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Session
|Session title={{{title|}}}
|Session volume={{{volume|}}}
}}
|#default={{#set:
|isA=Session
|Session title={{{title|}}}
|Session volume={{{volume|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= papers =
{{#ask:[[Concept:Paper]][[Paper session::{{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'
!title!!volume
{{!}}-
|tablerow=
{{!}}{{{title|}}}{{!}}{{!}}{{{volume|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
title={{#if:{{{title|}}}|{{{title|}}}|}}<br>volume={{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Session
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Session/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!title
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!volume
{{!}}&nbsp;{{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Session]]{{#default_form:Session}}

Source

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