Category:Item: Difference between revisions

Update package: OSW Core
(Update package: OSW Core)
(Update package: OSW Core)
 
jsonschema
Line 46: Line 46:
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "options": {
                 "subclassof_range": "Category:Item"
                    "autocomplete": {
                        "query": "[[HasType::Category:Category]] |?Display_title_of=label"
                    }
                }
             },
             },
             "minItems": 1,
             "minItems": 1,
footer_template
Line 1: Line 1:
<h2 class="section-collapsible-initial-collapsed section-heading--collapsed">{{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}</h2>
<h2 class="section-collapsible-initial-collapsed section-heading--collapsed">{{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}</h2>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["IsA","-IsA","HasSchema", "-IsInstanceOf","IsLocatedIn"], "ignore_properties":["Subcategory_of", "-Subcategory_of", "Has_query", "Display_title_of", "Display_title_of_lowercase", "Display_title_of_normalized"], "permalink":true, "depth":2, "edit": true,  "query_limit":25}'></div>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["HasSchema", "SubClassOf", "HasImage", "IsLocatedIn"], "ignore_properties":["Subcategory_of", "-Subcategory_of", "Has_query", "Display_title_of", "Display_title_of_lowercase", "Display_title_of_normalized"], "permalink":true, "depth":1, "edit": true,  "query_limit":25}'></div>
<br>
<br>
<h2 class="section-collapsible-initial-collapsed section-heading--collapsed">{{#switch:{{USERLANGUAGECODE}}|en=QR Code|de=QR-Code|#default=QR Code}}</h2>
<h2 class="section-collapsible-initial-collapsed section-heading--collapsed">{{#switch:{{USERLANGUAGECODE}}|en=QR Code|de=QR-Code|#default=QR Code}}</h2>
<div class="QrCodeGenerator" data-config='{
<div class="QrCodeGenerator" data-config='{
     "text": "{{fullurl:{{FULLPAGENAME}}}}",
     "text": "{{fullurl:{{FULLPAGENAME}}}}",  
     "heading": "{{{label|{{#ask:[[{{FULLPAGENAME}}]]|?HasLabel.[0].text=|mainlabel=-}}}}}",
     "heading": "{{{label|{{#ask:[[{{FULLPAGENAME}}]]|?HasLabel.[0].text=|mainlabel=-}}}}}",
     "image": true,
     "image": true,  
     "print": true,
     "print": true,  
     "print_unit": "mm",
     "print_unit": "mm",  
     "print_format": [29,42],
     "print_format": [29,42],  
     "print_margin": [3,3,3,3],
     "print_margin": [3,3,3,3],  
     "print_scale": 0.115
     "print_scale": 0.115
}' style="height: 250px; width: 200px;"></div><!-- space for the print button -->
}' style="width: 200px;"></div>