Changes

Updated with content from Extension:OpenSemanticLab version 0.0.3
Line 7: Line 7:  
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="picture" colspan="2">{{#if: {{{image|}}}|[[File:{{{image|}}}|200x800px]]|}}</td>
+
<td class="picture" colspan="2">{{#if: {{{image|}}}|[[File:{{{image|}}}|200x800px]]{{#set: |HasImage=File:{{{image|}}}}}|}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 27: Line 27:  
<tr>
 
<tr>
 
<th>Gerätekategorie</th>
 
<th>Gerätekategorie</th>
<td>{{#arraymap:{{{category|}}}|;|x|[[x]][[:x]]|\n}}</td>
+
<td>{{#arraymap:{{{category|}}}|;|x|[[x]][[:x]]|\n}}{{#arraymap:{{{category|}}}|;|x|{{#set: |IsA=x}}|}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 37: Line 37:  
<td>[[HasManufacturerTypeId::{{{manufacturer_type_id|}}}]]</td>
 
<td>[[HasManufacturerTypeId::{{{manufacturer_type_id|}}}]]</td>
 
</tr>
 
</tr>
</table>
+
</table><!-- {{#ask: [[{{FULLPAGENAME}}]]
<!-- {{#ask: [[{{FULLPAGENAME}}]]
   
|?Category=
 
|?Category=
 
|mainlabel=-
 
|mainlabel=-
 
|format=plain
 
|format=plain
}} -->
+
}} -->{{OslTemplate:LIMS/Common |Device|Type|name={{{display_name|}}}}}
{{OslTemplate:LIMS/Common |Device|Type|name={{{display_name|}}}}}{{#arraymap:{{{category|}}}|;|x|[[x]]|\s}}
   
{{#declare:
 
{{#declare:
|HasUuid=uuid
  −
|HasCreator=creator
   
  |HasCreationDate=creation_date
 
  |HasCreationDate=creation_date
 
  |HasDescription=description
 
  |HasDescription=description
|HasImage=image
+
  |HasDatasheet=datasheet<!-- todo: convert to datatype page, adapt galery query -->
  |HasDatasheet=datasheet
   
  |HasManual=manual
 
  |HasManual=manual
 
  |HasRiskAssessment=risk_assessment
 
  |HasRiskAssessment=risk_assessment
 +
}}{{#set:
 +
|HasCreator=User:{{{creator|}}}
 
}}
 
}}
 
+
=== Short description ===
== Beschreibung ==
   
{{{description|}}}
 
{{{description|}}}
   −
== Dokumente ==
+
<div id="custom-ve-add-first-section-link"></div>
{{#tag:gallery|
  −
File:{{{datasheet}}}{{!}}Datenblatt{{!}}link=[[Special:Redirect/file/{{{datasheet}}}]]
  −
File:{{{manual}}}{{!}}Bedienungsableitung{{!}}link=[[Special:Redirect/file/{{{manual}}}]]
  −
File:{{{risk_assessment}}}{{!}}Gefährdungsbeurteilung{{!}}link=[[Special:Redirect/file/{{{risk_assessment}}}]]
  −
{{#arraymap:{{{additional_documents|}}}|,|x|File:x{{!}}Sonstige Dokumente|\n}}
  −
|mode="traditional"
  −
}}
  −
 
  −
== Erstellte Instanzen ==
  −
=== Gekauft ===
  −
{{#ask: [[Category:LIMS/Device/Instance]] [[IsInstanceOf::{{FULLPAGENAME}}]]
  −
|?HasCreationDate=Datum
  −
|?HasCreator=Ersteller
  −
}}
  −
 
  −
=== Selbst hergestellt ===
  −
{{#ask: [[Category:LabProcessOutput]] [[IsInstanceOf::{{FULLPAGENAME}}]]
  −
|?-Has subobject.HasCreationDate=Datum
  −
|?-Has subobject.IsDefinedIn=Vorschrift
  −
|?-Has subobject.HasCreator=Ersteller
  −
}}
  −
 
  −
[[Category:LIMS/Device/Type]]{{#default_form:LIMS/Device/Type}}
   
</includeonly>
 
</includeonly>