Difference between revisions of "Template:Paper"

From BITPlan ceur-ws Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-07-21T05:36:15Z)
(modified by py-yprinciple-gen 0.2.6)
 
(10 intermediate revisions by the same user not shown)
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]]
 +
 
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
 
<pre>{{Paper
 
<pre>{{Paper
|title=
+
|description=
 
|id=
 
|id=
|volume=
+
|wikidataid=
|session=
 
|storemode=subobject
 
}}
 
</pre>
 
 
 
==== storemode property ====
 
<pre>{{Paper
 
 
|title=
 
|title=
|id=
+
|pdfUrl=
 +
|dblpUrl=
 
|volume=
 
|volume=
 
|session=
 
|session=
|storemode=property
+
|storemode=property or subjobject or none"
 
}}
 
}}
</pre>
+
[[Category:Template]]
 
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
==== storemode none ====
 
<pre>{{Paper
 
|title=
 
|id=
 
|volume=
 
|session=
 
|storemode=none
 
}}
 
</pre>
 
 
 
 
 
==== viewmode tableheader ====
 
<pre>{{Paper
 
|title=
 
|id=
 
|volume=
 
|session=
 
|viewmode=tableheader
 
}}
 
</pre>
 
 
 
==== viewmode tablerow ====
 
<pre>{{Paper
 
|title=
 
|id=
 
|volume=
 
|session=
 
|viewmode=tablerow
 
}}
 
</pre>
 
 
 
==== viewmode tablefooter ====
 
<pre>{{Paper
 
|title=
 
|id=
 
|volume=
 
|session=
 
|viewmode=tablefooter
 
}}
 
</pre>
 
 
 
==== viewmode labelfield ====
 
<pre>{{Paper
 
|title=
 
|id=
 
|volume=
 
|session=
 
|viewmode=labelfield
 
}}
 
</pre>
 
 
 
=== Source (pretty printed) ===
 
<source lang='html4strict'>
 
{{#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=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
 
|isA=Paper
 
|isA=Paper
 +
|Paper description={{{description|}}}
 +
|Paper id={{{id|}}}
 +
|Paper wikidataid={{{wikidataid|}}}
 
|Paper title={{{title|}}}
 
|Paper title={{{title|}}}
|Paper id={{{id|}}}
+
|Paper pdfUrl={{{pdfUrl|}}}
 +
|Paper dblpUrl={{{dblpUrl|}}}
 
|Paper volume={{{volume|}}}
 
|Paper volume={{{volume|}}}
 
|Paper session={{{session|}}}
 
|Paper session={{{session|}}}
Line 103: Line 47:
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Paper
 
|isA=Paper
 +
|Paper description={{{description|}}}
 +
|Paper id={{{id|}}}
 +
|Paper wikidataid={{{wikidataid|}}}
 
|Paper title={{{title|}}}
 
|Paper title={{{title|}}}
|Paper id={{{id|}}}
+
|Paper pdfUrl={{{pdfUrl|}}}
 +
|Paper dblpUrl={{{dblpUrl|}}}
 
|Paper volume={{{volume|}}}
 
|Paper volume={{{volume|}}}
 
|Paper session={{{session|}}}
 
|Paper session={{{session|}}}
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
|hidden=
+
|#default={{{!}} class='wikitable'
|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
 
! colspan='2' {{!}}Paper
 
{{!}}-
 
{{!}}-
Line 127: Line 65:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!title
+
![[Property:Paper description|description]]
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
+
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description}}}|}}
{{!}}-
 
!id
 
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 
{{!}}-
 
!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]]
 
 
 
</noinclude><includeonly>{{#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=
+
![[Property:Paper id|id]]
{{!}}{{{title|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{volume|}}}{{!}}{{!}}{{{session|}}}
+
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id}}}|}}
 
{{!}}-
 
{{!}}-
|tablefooter={{!}}}
+
![[Property:Paper wikidataid|wikidataid]]
|labelfield=
+
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid}}}|}}{{#show: {{FULLPAGENAME}}|?Paper wikidataid}}
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=
+
![[Property:Paper title|title]]
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Paper/{{FULLPAGENAME}}|title=edit}}
+
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title}}}|}}
 
{{!}}-
 
{{!}}-
}}
+
![[Property:Paper pdfUrl|pdfUrl]]
!title
+
{{!}}&nbsp;{{#if:{{{pdfUrl|}}}|{{{pdfUrl}}}|}}
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
 
 
{{!}}-
 
{{!}}-
!id
+
![[Property:Paper dblpUrl|dblpUrl]]
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
+
{{!}}&nbsp;{{#if:{{{dblpUrl|}}}|{{{dblpUrl}}}|}}
 
{{!}}-
 
{{!}}-
!volume
+
![[Property:Paper volume|volume]]
{{!}}&nbsp;{{#if:{{{volume|}}}|[[{{{volume|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{volume|}}}|{{{volume}}}|}}→{{#show: {{FULLPAGENAME}}|?Paper volume}}
 
{{!}}-
 
{{!}}-
!session
+
![[Property:Paper session|session]]
{{!}}&nbsp;{{#if:{{{session|}}}|[[{{{session|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{session|}}}|{{{session}}}|}}→{{#show: {{FULLPAGENAME}}|?Paper session}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
 
}}
 
}}
}}
+
[[Category:Paper]]{{#default_form:Paper}}
[[Category:Paper]]{{#default_form:Paper}}</includeonly>
+
</includeonly>

Latest revision as of 09:23, 30 March 2023

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

see also

see also

Usage

Paper
description  
id  
wikidataid  →
title  
pdfUrl  
dblpUrl  
volume  →
session  →