Difference between revisions of "Template:Volume"
Jump to navigation
Jump to search
(created by WikiTask 2020-07-20T08:16:01Z) |
m (created by WikiTask 2020-07-20T16:46:29Z) |
||
Line 17: | Line 17: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
Line 24: | Line 25: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
Line 31: | Line 33: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|storemode=none | |storemode=none | ||
}} | }} | ||
Line 39: | Line 42: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
Line 46: | Line 50: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
Line 53: | Line 58: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
Line 60: | Line 66: | ||
<pre>{{Volume | <pre>{{Volume | ||
|number= | |number= | ||
+ | |title= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
Line 68: | Line 75: | ||
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Volume<br>|}} | {{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Volume<br>|}} | ||
{{#if:{{{?number|}}}|"{{{?number}}}" is number of it <br>|}} | {{#if:{{{?number|}}}|"{{{?number}}}" is number of it <br>|}} | ||
+ | {{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 73: | Line 81: | ||
|isA=Volume | |isA=Volume | ||
|Volume number={{{number|}}} | |Volume number={{{number|}}} | ||
+ | |Volume title={{{title|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
|isA=Volume | |isA=Volume | ||
|Volume number={{{number|}}} | |Volume number={{{number|}}} | ||
+ | |Volume title={{{title|}}} | ||
}} | }} | ||
}} | }} | ||
Line 83: | Line 93: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !number | + | !number!!title |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{number|}}} | + | {{!}}{{{number|}}}{{!}}{{!}}{{{title|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | number={{#if:{{{number|}}}|{{{number|}}}|}}<br>|#default={{{!}} class='wikitable' | + | number={{#if:{{{number|}}}|{{{number|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Volume | ! colspan='2' {{!}}Volume | ||
{{!}}- | {{!}}- | ||
Line 99: | Line 109: | ||
!number | !number | ||
{{!}} {{#if:{{{number|}}}|{{{number|}}}|}} | {{!}} {{#if:{{{number|}}}|{{{number|}}}|}} | ||
+ | {{!}}- | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
Line 111: | Line 124: | ||
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Volume<br>|}} | </noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Volume<br>|}} | ||
{{#if:{{{?number|}}}|"{{{?number}}}" is number of it <br>|}} | {{#if:{{{?number|}}}|"{{{?number}}}" is number of it <br>|}} | ||
+ | {{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 116: | Line 130: | ||
|isA=Volume | |isA=Volume | ||
|Volume number={{{number|}}} | |Volume number={{{number|}}} | ||
+ | |Volume title={{{title|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
|isA=Volume | |isA=Volume | ||
|Volume number={{{number|}}} | |Volume number={{{number|}}} | ||
+ | |Volume title={{{title|}}} | ||
}} | }} | ||
}} | }} | ||
Line 126: | Line 142: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !number | + | !number!!title |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{number|}}} | + | {{!}}{{{number|}}}{{!}}{{!}}{{{title|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | number={{#if:{{{number|}}}|{{{number|}}}|}}<br>|#default={{{!}} class='wikitable' | + | number={{#if:{{{number|}}}|{{{number|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Volume | ! colspan='2' {{!}}Volume | ||
{{!}}- | {{!}}- | ||
Line 142: | Line 158: | ||
!number | !number | ||
{{!}} {{#if:{{{number|}}}|{{{number|}}}|}} | {{!}} {{#if:{{{number|}}}|{{{number|}}}|}} | ||
+ | {{!}}- | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Revision as of 17:46, 20 July 2020
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 }}
{{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=
|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
{{!}} {{#if:{{{number|}}}|{{{number|}}}|}}
{{!}}-
!title
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Volume]]{{#default_form:Volume}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.