OslTemplate:ELN/Entry/Header: Difference between revisions

Updated with content from Extension:OpenSemanticLab version 0.0.3
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
 
Line 1: Line 1:
<includeonly> <!-- __NOCACHE__ --> <div style="display:none">{{#if: {{{project|}}} |{{{{{project}}}/_acl}} }}</div><!-- {{#ifexist: {{{project|}}}/_acl |{{{{{project}}}/_acl}} }} --><!-- inherit permissions -->
<includeonly> <!-- __NOCACHE__ --> <div style="display:none">{{#if: {{{project|}}} |{{{{{project}}}/_acl}} }}</div><!-- {{#ifexist: {{{project|}}}/_acl |{{{{{project}}}/_acl}} }} --><!-- inherit permissions -->
<div class="custom-section-edit-form-link" data-form-name="ELN/Entry" data-link-label-msg="open-semantic-lab-edit" data-link-tooltip-msg="open-semantic-lab-edit-master-data">
<div class="custom-section-edit-form-link" data-form-name="ELN/Entry" data-link-label-msg="open-semantic-lab-edit" data-link-tooltip-msg="open-semantic-lab-edit-master-data"><!--
--><table class="info_box">
<tr>
<th class="heading" colspan="2">{{{id}}}</th>
</tr>
<tr>
<td class="picture" colspan="2"><div class="QrCodeGenerator" data-config='{"text": "{{fullurl:{{FULLPAGENAME}}}}", "image": true, "print": true, "heading": "{{{name|Laborbucheintrag}}}", "caption": "{{{id}}}"}'></div></td>
</tr>
<!-- <tr>
<td class="subheading" colspan="2">Stammdaten</td>
</tr>
<tr>
<th>ID</th>
<td>{{PAGENAME}}</td>
</tr> -->
</table>
== Stammdaten ==
== Stammdaten ==
</div>
</div>
Line 25: Line 40:
|maxtags=1000
|maxtags=1000
}}
}}
</div> -->{{DISPLAYTITLE: {{#if: {{{name|}}}|{{{name|}}} {{#ifeq: {{{display_id|No}}}|Yes|({{PAGENAME}})}} | {{PAGENAME}} }}
</div> -->{{DISPLAYTITLE: {{#if: {{{name|}}}|{{{name|}}} {{#ifeq: {{{display_id|No}}}|Yes|({{{id}}})}} | {{{id}}} }}
}}{{#set:
}}{{#set:
|HasId={{PAGENAME}}
|HasId={{{id}}}
|HasName={{{name|}}}
|HasName={{{name|}}}
|HasCreator=User:{{{creator|}}}
|HasCreator=User:{{{creator|}}}
Line 43: Line 58:
|IsPartOf={{{project|}}}
|IsPartOf={{{project|}}}
|HasType={{{type|}}}
|HasType={{{type|}}}
|NewProp={{{newprop|}}}
|HasOrderer={{{orderer|}}}
|HasContact={{{contact|}}}|+sep=;
<!-- |HasCosts={{{costs|0}}} € -->
}}<!-- {{#ask: [[{{FULLPAGENAME}}]]
}}<!-- {{#ask: [[{{FULLPAGENAME}}]]
|mainlabel=-
|mainlabel=-
Line 64: Line 83:
<th>Ersteller</th>
<th>Ersteller</th>
<td>[[User:{{{creator|}}}]]</td>
<td>[[User:{{{creator|}}}]]</td>
</tr>
<tr>
<th>Auftraggeber</th>
<td>{{#if: {{{orderer|}}}|[[{{{orderer|}}}]]|}}</td>
</tr>
<tr>
<th>Ansprechpartner</th>
<td>{{#arraymap:{{{contact|}}}|;|x|[[x]]}}</td>
</tr>
</tr>
<tr>
<tr>
Line 69: Line 96:
<td>{{#if: {{{project|}}}|[[{{{project|}}}]]|}}</td>
<td>{{#if: {{{project|}}}|[[{{{project|}}}]]|}}</td>
</tr>
</tr>
<!-- <tr>
<th>Kosten in €</th>
<td>{{#if: {{{costs|}}}|{{{costs|}}}|}}</td>
</tr> -->
<tr>
<tr>
<th>Keywords</th>
<th>Keywords</th>
Line 107: Line 138:
}}
}}
}}
}}
<!-- Gesamtkosten: {{#ask:
[[IsPartOf::{{FULLPAGENAME}}]]
OR [[IsPartOf.IsPartOf::{{FULLPAGENAME}}]]
OR [[IsPartOf.IsPartOf.IsPartOf::{{FULLPAGENAME}}]]
|?HasCosts
|format=sum
}} € -->
|}}
|}}
<!--  
<!--