Sjabloon:Property: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
k (Tekst vervangen - "arraymap" door "caamap")
(Versie 7926 van Admin (overleg) ongedaan gemaakt)
Label: Ongedaan maken
Regel 36: Regel 36:
 
-->{{#if:{{{Allows value|}}}|This property has allowed value(s):
 
-->{{#if:{{{Allows value|}}}|This property has allowed value(s):
 
<ul>
 
<ul>
{{#caamap:{{{Allows value|}}}|;|@@VALUE@@|<li>@@VALUE@@</li>|}}
+
{{#arraymap:{{{Allows value|}}}|;|@@VALUE@@|<li>@@VALUE@@</li>|}}
 
</ul>
 
</ul>
 
}}
 
}}
Regel 51: Regel 51:
 
|1=Has type
 
|1=Has type
 
|2={{#tag:wsselect |  
 
|2={{#tag:wsselect |  
   {{#caamap: Page,Text,Date,Number,Quantity,URL,Annotation URI,Email,Monolingual text,Geographic coordinates,Boolean,Telephone Number,Temperature,Code,Record|,|@@Type@@ |  
+
   {{#arraymap: Page,Text,Date,Number,Quantity,URL,Annotation URI,Email,Monolingual text,Geographic coordinates,Boolean,Telephone Number,Temperature,Code,Record|,|@@Type@@ |  
   {{#tag:wsfield|@@Type@@|type=option|value=@@Type@@|selected={{#ifeq:{{{Has type|}}}|@@Type@@|"selected"|}}<!--end ifeq-->}}<!-- end tag wsfield -->}}<!-- end caamap -->
+
   {{#tag:wsfield|@@Type@@|type=option|value=@@Type@@|selected={{#ifeq:{{{Has type|}}}|@@Type@@|"selected"|}}<!--end ifeq-->}}<!-- end tag wsfield -->}}<!-- end arraymap -->
 
   |name=Has type
 
   |name=Has type
 
   |class=form-control
 
   |class=form-control
Regel 68: Regel 68:
 
|2={{#tag:wsselect |  
 
|2={{#tag:wsselect |  
 
   {{#tag:wsfield||type=option|value=}}
 
   {{#tag:wsfield||type=option|value=}}
   {{#caamap: {{#ask:[[Class::Managed item]][[Type of managed item::Property]]|sep=;|link=none}}|;|@@Prop@@ |  
+
   {{#arraymap: {{#ask:[[Class::Managed item]][[Type of managed item::Property]]|sep=;|link=none}}|;|@@Prop@@ |  
 
   {{#tag:wsfield|@@Prop@@|type=option|value=@@Prop@@|selected={{#ifeq:{{{Subproperty of|}}}|@@Prop@@|"selected"|}}<!--end ifeq-->}} }}
 
   {{#tag:wsfield|@@Prop@@|type=option|value=@@Prop@@|selected={{#ifeq:{{{Subproperty of|}}}|@@Prop@@|"selected"|}}<!--end ifeq-->}} }}
 
   |name=Subproperty of
 
   |name=Subproperty of
Regel 85: Regel 85:
 
-->{{#ask: [[Has improper value for::{{FULLPAGENAME}}]] |intro=<h2>Improper values detected</h2> }}<!--
 
-->{{#ask: [[Has improper value for::{{FULLPAGENAME}}]] |intro=<h2>Improper values detected</h2> }}<!--
  
--><div class="mb-3">{{#if:{{{Category|}}} | {{#caamap:{{{Category|}}}|;|xxx|[[Category:xxx]]|<nowiki> </nowiki>}} }}</div></includeonly>
+
--><div class="mb-3">{{#if:{{{Category|}}} | {{#arraymap:{{{Category|}}}|;|xxx|[[Category:xxx]]|<nowiki> </nowiki>}} }}</div></includeonly>

Versie van 9 feb 2022 14:42


This is the Property template. It should be called in the following format:

{{Property }}