Difference between revisions of "Template:Paper"
Jump to navigation
Jump to search
(created by WikiTask 2020-07-20T16:45:51Z) |
m (created by WikiTask 2020-07-20T17:10:35Z) |
||
Line 16: | Line 16: | ||
==== storemode subobject ==== | ==== storemode subobject ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
Line 22: | Line 24: | ||
==== storemode property ==== | ==== storemode property ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
Line 28: | Line 32: | ||
==== storemode none ==== | ==== storemode none ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|storemode=none | |storemode=none | ||
}} | }} | ||
Line 35: | Line 41: | ||
==== viewmode tableheader ==== | ==== viewmode tableheader ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
Line 41: | Line 49: | ||
==== viewmode tablerow ==== | ==== viewmode tablerow ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
Line 47: | Line 57: | ||
==== viewmode tablefooter ==== | ==== viewmode tablefooter ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
Line 53: | Line 65: | ||
==== viewmode labelfield ==== | ==== viewmode labelfield ==== | ||
<pre>{{Paper | <pre>{{Paper | ||
+ | |title= | ||
+ | |session= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
Line 60: | Line 74: | ||
<source lang='html4strict'> | <source lang='html4strict'> | ||
{{#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:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
|subobject={{#subobject:- | |subobject={{#subobject:- | ||
|isA=Paper | |isA=Paper | ||
+ | |Paper title={{{title|}}} | ||
+ | |Paper session={{{session|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
|isA=Paper | |isA=Paper | ||
+ | |Paper title={{{title|}}} | ||
+ | |Paper session={{{session|}}} | ||
}} | }} | ||
}} | }} | ||
Line 73: | Line 93: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | + | !title!!session | |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | + | {{!}}{{{title|}}}{{!}}{{!}}{{{session|}}} | |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | |#default={{{!}} class='wikitable' | + | title={{#if:{{{title|}}}|{{{title|}}}|}}<br>session={{#if:{{{session|}}}|[[{{{session|}}}]]|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Paper | ! colspan='2' {{!}}Paper | ||
{{!}}- | {{!}}- | ||
Line 87: | Line 107: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !session | ||
+ | {{!}} {{#if:{{{session|}}}|[[{{{session|}}}]]|}} | ||
+ | {{!}}- | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
Line 97: | Line 123: | ||
</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:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
|subobject={{#subobject:- | |subobject={{#subobject:- | ||
|isA=Paper | |isA=Paper | ||
+ | |Paper title={{{title|}}} | ||
+ | |Paper session={{{session|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
|isA=Paper | |isA=Paper | ||
+ | |Paper title={{{title|}}} | ||
+ | |Paper session={{{session|}}} | ||
}} | }} | ||
}} | }} | ||
Line 110: | Line 142: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | + | !title!!session | |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | + | {{!}}{{{title|}}}{{!}}{{!}}{{{session|}}} | |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | |#default={{{!}} class='wikitable' | + | title={{#if:{{{title|}}}|{{{title|}}}|}}<br>session={{#if:{{{session|}}}|[[{{{session|}}}]]|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Paper | ! colspan='2' {{!}}Paper | ||
{{!}}- | {{!}}- | ||
Line 124: | Line 156: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | !title | ||
+ | {{!}} {{#if:{{{title|}}}|{{{title|}}}|}} | ||
+ | {{!}}- | ||
+ | !session | ||
+ | {{!}} {{#if:{{{session|}}}|[[{{{session|}}}]]|}} | ||
+ | {{!}}- | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
}} | }} | ||
[[Category:Paper]]{{#default_form:Paper}}</includeonly> | [[Category:Paper]]{{#default_form:Paper}}</includeonly> |
Revision as of 18:10, 20 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= |session= |storemode=subobject }}
storemode property
{{Paper |title= |session= |storemode=property }}
storemode none
{{Paper |title= |session= |storemode=none }}
viewmode tableheader
{{Paper |title= |session= |viewmode=tableheader }}
viewmode tablerow
{{Paper |title= |session= |viewmode=tablerow }}
{{Paper |title= |session= |viewmode=tablefooter }}
viewmode labelfield
{{Paper |title= |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:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Paper
|Paper title={{{title|}}}
|Paper session={{{session|}}}
}}
|#default={{#set:
|isA=Paper
|Paper title={{{title|}}}
|Paper session={{{session|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!title!!session
{{!}}-
|tablerow=
{{!}}{{{title|}}}{{!}}{{!}}{{{session|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
title={{#if:{{{title|}}}|{{{title|}}}|}}<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|}}}|}}
{{!}}-
!session
{{!}} {{#if:{{{session|}}}|[[{{{session|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Paper]]{{#default_form:Paper}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.