Difference between revisions of "Template:Session"
Jump to navigation
Jump to search
(created by WikiTask 2020-07-20T16:45:20Z) |
m (created by WikiTask 2020-07-20T17:10:03Z) |
||
Line 16: | Line 16: | ||
==== storemode subobject ==== | ==== storemode subobject ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
Line 22: | Line 24: | ||
==== storemode property ==== | ==== storemode property ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
Line 28: | Line 32: | ||
==== storemode none ==== | ==== storemode none ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|storemode=none | |storemode=none | ||
}} | }} | ||
Line 35: | Line 41: | ||
==== viewmode tableheader ==== | ==== viewmode tableheader ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
Line 41: | Line 49: | ||
==== viewmode tablerow ==== | ==== viewmode tablerow ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
Line 47: | Line 57: | ||
==== viewmode tablefooter ==== | ==== viewmode tablefooter ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
Line 53: | Line 65: | ||
==== viewmode labelfield ==== | ==== viewmode labelfield ==== | ||
<pre>{{Session | <pre>{{Session | ||
+ | |title= | ||
+ | |volume= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
Line 60: | Line 74: | ||
<source lang='html4strict'> | <source lang='html4strict'> | ||
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Session<br>|}} | {{#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|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
|subobject={{#subobject:- | |subobject={{#subobject:- | ||
|isA=Session | |isA=Session | ||
+ | |Session title={{{title|}}} | ||
+ | |Session volume={{{volume|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
|isA=Session | |isA=Session | ||
+ | |Session title={{{title|}}} | ||
+ | |Session volume={{{volume|}}} | ||
}} | }} | ||
}} | }} | ||
Line 72: | Line 92: | ||
|hidden= | |hidden= | ||
|masterdetail= | |masterdetail= | ||
+ | = papers = | ||
+ | {{#ask:[[Concept:Paper]][[Paper session::{{FULLPAGENAME}}]] | ||
+ | | ?Paper title = title | ||
+ | | ?Paper session = session | ||
+ | |||
+ | |sort=Paper title | ||
+ | |order=ascending | ||
+ | }} | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | + | !title!!volume | |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | + | {{!}}{{{title|}}}{{!}}{{!}}{{{volume|}}} | |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | |#default={{{!}} class='wikitable' | + | title={{#if:{{{title|}}}|{{{title|}}}|}}<br>volume={{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Session | ! colspan='2' {{!}}Session | ||
{{!}}- | {{!}}- | ||
Line 87: | Line 115: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !volume | ||
+ | {{!}} {{#if:{{{volume|}}}|[[{{{volume|}}}]]|}} | ||
+ | {{!}}- | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 97: | Line 131: | ||
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Session<br>|}} | </noinclude><includeonly>{{#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|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
|subobject={{#subobject:- | |subobject={{#subobject:- | ||
|isA=Session | |isA=Session | ||
+ | |Session title={{{title|}}} | ||
+ | |Session volume={{{volume|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
|isA=Session | |isA=Session | ||
+ | |Session title={{{title|}}} | ||
+ | |Session volume={{{volume|}}} | ||
}} | }} | ||
}} | }} | ||
Line 109: | Line 149: | ||
|hidden= | |hidden= | ||
|masterdetail= | |masterdetail= | ||
+ | = papers = | ||
+ | {{#ask:[[Concept:Paper]][[Paper session::{{FULLPAGENAME}}]] | ||
+ | | ?Paper title = title | ||
+ | | ?Paper session = session | ||
+ | |||
+ | |sort=Paper title | ||
+ | |order=ascending | ||
+ | }} | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | + | !title!!volume | |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | + | {{!}}{{{title|}}}{{!}}{{!}}{{{volume|}}} | |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | |#default={{{!}} class='wikitable' | + | title={{#if:{{{title|}}}|{{{title|}}}|}}<br>volume={{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Session | ! colspan='2' {{!}}Session | ||
{{!}}- | {{!}}- | ||
Line 124: | Line 172: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !volume | ||
+ | {{!}} {{#if:{{{volume|}}}|[[{{{volume|}}}]]|}} | ||
+ | {{!}}- | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
}} | }} | ||
[[Category:Session]]{{#default_form:Session}}</includeonly> | [[Category:Session]]{{#default_form:Session}}</includeonly> |
Revision as of 18:10, 20 July 2020
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 }}
{{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 title = title
| ?Paper session = session
|sort=Paper title
|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
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!volume
{{!}} {{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Session]]{{#default_form:Session}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.