Difference between revisions of "Template:Paper"
Jump to navigation
Jump to search
m (created by WikiTask 2020-07-20T17:10:35Z) |
m (created by WikiTask 2020-07-21T05:36:15Z) |
||
Line 17: | Line 17: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|storemode=subobject | |storemode=subobject | ||
Line 25: | Line 27: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|storemode=property | |storemode=property | ||
Line 33: | Line 37: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|storemode=none | |storemode=none | ||
Line 42: | Line 48: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
Line 50: | Line 58: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
Line 58: | Line 68: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
Line 66: | Line 78: | ||
<pre>{{Paper | <pre>{{Paper | ||
|title= | |title= | ||
+ | |id= | ||
+ | |volume= | ||
|session= | |session= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
Line 75: | Line 89: | ||
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}} | {{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}} | ||
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <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>|}} | {{#if:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
Line 81: | Line 97: | ||
|isA=Paper | |isA=Paper | ||
|Paper title={{{title|}}} | |Paper title={{{title|}}} | ||
+ | |Paper id={{{id|}}} | ||
+ | |Paper volume={{{volume|}}} | ||
|Paper session={{{session|}}} | |Paper session={{{session|}}} | ||
}} | }} | ||
Line 86: | Line 104: | ||
|isA=Paper | |isA=Paper | ||
|Paper title={{{title|}}} | |Paper title={{{title|}}} | ||
+ | |Paper id={{{id|}}} | ||
+ | |Paper volume={{{volume|}}} | ||
|Paper session={{{session|}}} | |Paper session={{{session|}}} | ||
}} | }} | ||
Line 93: | Line 113: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !title!!session | + | !title!!id!!volume!!session |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{title|}}}{{!}}{{!}}{{{session|}}} | + | {{!}}{{{title|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | title={{#if:{{{title|}}}|{{{title|}}}|}}<br>session={{#if:{{{session|}}}|[[{{{session|}}}]]|}}<br>|#default={{{!}} class='wikitable' | + | 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 | ! colspan='2' {{!}}Paper | ||
{{!}}- | {{!}}- | ||
Line 109: | Line 129: | ||
!title | !title | ||
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !id | ||
+ | {{!}} {{#if:{{{id|}}}|{{{id|}}}|}} | ||
+ | {{!}}- | ||
+ | !volume | ||
+ | {{!}} {{#if:{{{volume|}}}|[[{{{volume|}}}]]|}} | ||
{{!}}- | {{!}}- | ||
!session | !session | ||
Line 124: | Line 150: | ||
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}} | </noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}} | ||
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <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>|}} | {{#if:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
Line 130: | Line 158: | ||
|isA=Paper | |isA=Paper | ||
|Paper title={{{title|}}} | |Paper title={{{title|}}} | ||
+ | |Paper id={{{id|}}} | ||
+ | |Paper volume={{{volume|}}} | ||
|Paper session={{{session|}}} | |Paper session={{{session|}}} | ||
}} | }} | ||
Line 135: | Line 165: | ||
|isA=Paper | |isA=Paper | ||
|Paper title={{{title|}}} | |Paper title={{{title|}}} | ||
+ | |Paper id={{{id|}}} | ||
+ | |Paper volume={{{volume|}}} | ||
|Paper session={{{session|}}} | |Paper session={{{session|}}} | ||
}} | }} | ||
Line 142: | Line 174: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !title!!session | + | !title!!id!!volume!!session |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{title|}}}{{!}}{{!}}{{{session|}}} | + | {{!}}{{{title|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | title={{#if:{{{title|}}}|{{{title|}}}|}}<br>session={{#if:{{{session|}}}|[[{{{session|}}}]]|}}<br>|#default={{{!}} class='wikitable' | + | 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 | ! colspan='2' {{!}}Paper | ||
{{!}}- | {{!}}- | ||
Line 158: | Line 190: | ||
!title | !title | ||
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !id | ||
+ | {{!}} {{#if:{{{id|}}}|{{{id|}}}|}} | ||
+ | {{!}}- | ||
+ | !volume | ||
+ | {{!}} {{#if:{{{volume|}}}|[[{{{volume|}}}]]|}} | ||
{{!}}- | {{!}}- | ||
!session | !session |
Revision as of 06:36, 21 July 2020
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.