Anonymous

Template:Editor/Graph: Difference between revisions

From OSL Demo
removed full height , since this expands infinitely
(added height as option)
Tag: 2017 source edit
(removed full height , since this expands infinitely)
Tag: 2017 source edit
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: {{#ifeq: {{{full_height|0}}}|1|100%| {{{height|800px}}} }};" 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}}} }}; height: {{#ifeq: {{{height|800px}}} }};" 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 107: Line 107:
"type": "string",
"type": "string",
"autovalue": "800px"
"autovalue": "800px"
},
"full_height": {
"label": {
"en": "Full height",
"de": "Gesamte Seitenhöhe"
},
"description": {
"en": "Used the full page height to display the graph",
"de": "Nutzt die gesamte Seitenbreite zur Darstellung des Graphen"
},
"type": "boolean",
"autovalue": "0",
"suggested": false
},
},
"edit": {
"edit": {
Cookies help us deliver our services. By using our services, you agree to our use of cookies.