Difference between revisions of "Template:Paper"

From BITPlan ceur-ws Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-08-04T04:33:50Z)
(modified by py-yprinciple-gen 0.2.1)
Line 1: Line 1:
<noinclude>
+
<noinclude><!--
<!--
+
   --     Copyright (C) 2015-2023 BITPlan GmbH
   -- Copyright (C) 2015-2020 BITPlan GmbH
 
 
   --  
 
   --  
   -- Pater-Delp-Str. -- 1
+
   --     Pater-Delp-Str. -- 1
   -- D-47877 -- Willich-Schiefbahn
+
   --     D-47877 -- Willich-Schiefbahn
 
   --  
 
   --  
   -- http://www.bitplan.com
+
   --     http://www.bitplan.com
 
   --
 
   --
 
   --  
 
   --  
 
-->
 
-->
This is the template {{Link|target=Template:Paper|title=Paper}}.
+
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "Paper".
It belongs to the concept/topic {{Link|target=:Concept:Paper}}<br>
+
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of Papers}}.
+
see also
 +
* [[List of Papers]]
 +
* [[Help:Paper]]
 +
* [[Concept:Paper]]
 +
* [[:Category:Paper]]
 +
* [[:Template:Paper]]
 +
* [[:Form:Paper]]
 +
topic links:
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
 
<pre>{{Paper
 
<pre>{{Paper
 +
|description=
 
|id=
 
|id=
 +
|wikidataid=
 
|title=
 
|title=
 
|authors=
 
|authors=
 
|pdfUrl=
 
|pdfUrl=
|volume=
+
|storemode=property or subjobject or none"
|session=
 
|storemode=subobject
 
 
}}
 
}}
</pre>
 
 
==== storemode property ====
 
<pre>{{Paper
 
|id=
 
|title=
 
|authors=
 
|pdfUrl=
 
|volume=
 
|session=
 
|storemode=property
 
}}
 
</pre>
 
 
==== storemode none ====
 
<pre>{{Paper
 
|id=
 
|title=
 
|authors=
 
|pdfUrl=
 
|volume=
 
|session=
 
|storemode=none
 
}}
 
</pre>
 
 
 
==== viewmode tableheader ====
 
<pre>{{Paper
 
|id=
 
|title=
 
|authors=
 
|pdfUrl=
 
|volume=
 
|session=
 
|viewmode=tableheader
 
}}
 
</pre>
 
 
==== viewmode tablerow ====
 
<pre>{{Paper
 
|id=
 
|title=
 
|authors=
 
|pdfUrl=
 
|volume=
 
|session=
 
|viewmode=tablerow
 
}}
 
</pre>
 
 
==== viewmode tablefooter ====
 
<pre>{{Paper
 
|id=
 
|title=
 
|authors=
 
|pdfUrl=
 
|volume=
 
|session=
 
|viewmode=tablefooter
 
}}
 
</pre>
 
 
==== viewmode labelfield ====
 
<pre>{{Paper
 
|id=
 
|title=
 
|authors=
 
|pdfUrl=
 
|volume=
 
|session=
 
|viewmode=labelfield
 
}}
 
</pre>
 
 
=== Source (pretty printed) ===
 
<source lang='html4strict'>
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}}
 
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
 
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
 
{{#if:{{{?authors|}}}|"{{{?authors}}}" is authors of it <br>|}}
 
{{#if:{{{?pdfUrl|}}}|"{{{?pdfUrl}}}" is pdfUrl 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 id={{{id|}}}
 
|Paper title={{{title|}}}
 
|Paper authors={{{authors|}}}
 
|Paper pdfUrl={{{pdfUrl|}}}
 
|Paper volume={{{volume|}}}
 
|Paper session={{{session|}}}
 
}}
 
|#default={{#set:
 
|isA=Paper
 
|Paper id={{{id|}}}
 
|Paper title={{{title|}}}
 
|Paper authors={{{authors|}}}
 
|Paper pdfUrl={{{pdfUrl|}}}
 
|Paper volume={{{volume|}}}
 
|Paper session={{{session|}}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
|hidden=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
!id!!title!!authors!!pdfUrl!!volume!!session
 
{{!}}-
 
|tablerow=
 
{{!}}{{{id|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{authors|}}}{{!}}{{!}}{{{pdfUrl|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}}
 
{{!}}-
 
|tablefooter={{!}}}
 
|labelfield=
 
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>authors={{#if:{{{authors|}}}|{{{authors|}}}|}}<br>pdfUrl={{#if:{{{pdfUrl|}}}|{{{pdfUrl|}}}|}}<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}}
 
{{!}}-
 
}}
 
!id
 
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 
{{!}}-
 
!title
 
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
 
{{!}}-
 
!authors
 
{{!}}&nbsp;{{#if:{{{authors|}}}|{{{authors|}}}|}}
 
{{!}}-
 
!pdf
 
{{!}}&nbsp;{{#if:{{{pdfUrl|}}}|{{{pdfUrl|}}}|}}
 
{{!}}-
 
!volume
 
{{!}}&nbsp;{{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}
 
{{!}}-
 
!session
 
{{!}}&nbsp;{{#if:{{{session|}}}|[[{{{session|}}}]]|}}
 
{{!}}-
 
{{!}}}
 
}}
 
}}
 
[[Category:Paper]]{{#default_form:Paper}}
 
</source>
 
=== Source ===
 
Click on "Edit" to edit the noinclude-part Source of this Template.
 
 
[[Category:Template]]
 
[[Category:Template]]
 
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Paper<br>|}}
 
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
 
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
 
{{#if:{{{?authors|}}}|"{{{?authors}}}" is authors of it <br>|}}
 
{{#if:{{{?pdfUrl|}}}|"{{{?pdfUrl}}}" is pdfUrl of it <br>|}}
 
{{#if:{{{?volume|}}}|"{{{?volume}}}" is volume of it <br>|}}
 
{{#if:{{{?session|}}}|"{{{?session}}}" is session of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
 
|none=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
 
|isA=Paper
 
|isA=Paper
 +
|Paper description={{{description|}}}
 
|Paper id={{{id|}}}
 
|Paper id={{{id|}}}
 +
|Paper wikidataid={{{wikidataid|}}}
 
|Paper title={{{title|}}}
 
|Paper title={{{title|}}}
 
|Paper authors={{{authors|}}}
 
|Paper authors={{{authors|}}}
 
|Paper pdfUrl={{{pdfUrl|}}}
 
|Paper pdfUrl={{{pdfUrl|}}}
|Paper volume={{{volume|}}}
 
|Paper session={{{session|}}}
 
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Paper
 
|isA=Paper
 +
|Paper description={{{description|}}}
 
|Paper id={{{id|}}}
 
|Paper id={{{id|}}}
 +
|Paper wikidataid={{{wikidataid|}}}
 
|Paper title={{{title|}}}
 
|Paper title={{{title|}}}
 
|Paper authors={{{authors|}}}
 
|Paper authors={{{authors|}}}
 
|Paper pdfUrl={{{pdfUrl|}}}
 
|Paper pdfUrl={{{pdfUrl|}}}
|Paper volume={{{volume|}}}
 
|Paper session={{{session|}}}
 
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{{!}} class='wikitable'
|hidden=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
!id!!title!!authors!!pdfUrl!!volume!!session
 
{{!}}-
 
|tablerow=
 
{{!}}{{{id|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{authors|}}}{{!}}{{!}}{{{pdfUrl|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}}
 
{{!}}-
 
|tablefooter={{!}}}
 
|labelfield=
 
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>authors={{#if:{{{authors|}}}|{{{authors|}}}|}}<br>pdfUrl={{#if:{{{pdfUrl|}}}|{{{pdfUrl|}}}|}}<br>volume={{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}<br>session={{#if:{{{session|}}}|[[{{{session|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
 
! colspan='2' {{!}}Paper
 
! colspan='2' {{!}}Paper
 
{{!}}-
 
{{!}}-
Line 220: Line 58:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!id
+
![[Property:Paper description|description]]
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
+
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description}}}|}}
 
{{!}}-
 
{{!}}-
!title
+
![[Property:Paper id|id]]
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
+
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id}}}|}}
 
{{!}}-
 
{{!}}-
!authors
+
![[Property:Paper wikidataid|wikidataid]]
{{!}}&nbsp;{{#if:{{{authors|}}}|{{{authors|}}}|}}
+
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid}}}|}}→{{#show: {{PAGENAME}}|?Paper wikidataid}}
 
{{!}}-
 
{{!}}-
!pdf
+
![[Property:Paper title|title]]
{{!}}&nbsp;{{#if:{{{pdfUrl|}}}|{{{pdfUrl|}}}|}}
+
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title}}}|}}
 
{{!}}-
 
{{!}}-
!volume
+
![[Property:Paper authors|authors]]
{{!}}&nbsp;{{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{authors|}}}|{{{authors}}}|}}
 
{{!}}-
 
{{!}}-
!session
+
![[Property:Paper pdfUrl|pdfUrl]]
{{!}}&nbsp;{{#if:{{{session|}}}|[[{{{session|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{pdfUrl|}}}|{{{pdfUrl}}}|}}
 
{{!}}-
 
{{!}}-
{{!}}}
+
{{!}}}[[Category:Paper]]{{#default_form:Paper}}
}}
+
</includeonly>
}}
 
[[Category:Paper]]{{#default_form:Paper}}</includeonly>
 

Revision as of 15:29, 5 March 2023

This is the BITPlan Y-Prinzip ProfiWiki-Template for "Paper".

see also

see also

topic links:

Usage

Paper
description  
id  
wikidataid  →
title  
authors  
pdfUrl