Anonymous

Template:Editor/Graph: Difference between revisions

From OSL Demo
Update package: OSW Core
No edit summary
Tag: 2017 source edit
(Update package: OSW Core)
 
Line 4: Line 4:
}}
}}
{{Template:Helper/UI/VE/Hidden  
{{Template:Helper/UI/VE/Hidden  
|content=<div id="{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}" style="width: {{#ifeq: {{{full_width|0}}}|1|100%| {{{width|600px}}} }}; height: {{{height|600px}}};" class="InteractiveSemanticGraph" data-config='{  
|content=<div id="{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}" style="width: {{#ifeq: {{{full_width|0}}}|1|100%| {{{width|600px}}} }};" class="InteractiveSemanticGraph" data-config='{  
   "uuid": "{{{uuid|}}}",
   "uuid": "{{{uuid|}}}",
   "name":"{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}",
   "name":"{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}",
Line 95: Line 95:
"autovalue": "0",
"autovalue": "0",
"suggested": true
"suggested": true
},
        "height": {
"label": {
"en": "Height",
"de": "Höhe"
},
"description": {
"en": "Height of the graph in pixels",
"de": "Höhe des Graphen in Pixeln"
},
"type": "string",
"autovalue": "600px"
},
},
"edit": {
"edit": {
Line 182: Line 170:
},
},
"type": "string",
"type": "string",
"required": false
"required": true,
"autovalue": "{{subst:UUID}}"
}
}
},
},
Cookies help us deliver our services. By using our services, you agree to our use of cookies.