Jump to content

Template:Website Setup: Difference between revisions

From Parasol
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 7: Line 7:
==== Backend ====
==== Backend ====
{{#if: {{{Backend Notes|}}} | ''{{{Backend Notes}}}''<br><br>| }}{{#if: {{{Backend URL|}}} | URL: [{{{Backend URL}}} {{{Backend URL|}}}] }}
{{#if: {{{Backend Notes|}}} | ''{{{Backend Notes}}}''<br><br>| }}{{#if: {{{Backend URL|}}} | URL: [{{{Backend URL}}} {{{Backend URL|}}}] }}
{{foreach|{{{tmp}}}|delim=,|## |-- }}
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 50: Line 54:
"type": "string"
"type": "string"
},
},
"Server Access": {}
"Server Access": {},
"tmp": {
"type": "string"
}
},
},
"description": "Webserver Stage (Preview, Stage, Production, ...)",
"description": "Webserver Stage (Preview, Stage, Production, ...)",
Line 62: Line 69:
"Frontend Type",
"Frontend Type",
"Frontend Notes",
"Frontend Notes",
"Frontend URL"
"Frontend URL",
"tmp"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 12:13, 3 November 2023

{{{Stage}}} Webserver

{{#if: | Provider: {{{Server Provider}}}
| }}{{#if: | Console: [{{{Server Admin URL}}} {{{Server Admin URL}}}]
| }}{{#if: | Server Access: {{{Server Access}}} | }}

Frontend

{{#if: | {{{Frontend Notes}}}

| }}{{#if: | URL: [{{{Frontend URL}}} {{{Frontend URL}}}] {{#if: | ({{{Frontend Type}}}) | }} | }}

Backend

{{#if: | {{{Backend Notes}}}

| }}{{#if: | URL: [{{{Backend URL}}} ] }}

Template:Foreach


<templatedata> { "params": { "Stage": { "description": "Webserver Stage (Preview, Stage, Production, ...)", "type": "string", "suggestedvalues": [ "Preview", "Stage", "Production" ], "required": true }, "Backend URL": { "type": "string", "default": "https://" }, "Server Provider": { "type": "string", "suggestedvalues": [ "Host Europe", "pslsrv57.p5l.io (Preview Webserver)", "Amazon Web Services", "Google Cloud Platform", "Microsoft Azure Cloud" ] }, "Server Admin URL": { "type": "string", "default": "https://", "suggestedvalues": [ "https://10.1.10.57:8080/" ] }, "Backend Notes": { "type": "string" }, "Frontend Type": {}, "Frontend URL": {}, "Frontend Notes": { "type": "string" }, "Server Access": {}, "tmp": { "type": "string" } }, "description": "Webserver Stage (Preview, Stage, Production, ...)", "paramOrder": [ "Stage", "Server Provider", "Server Admin URL", "Server Access", "Backend Notes", "Backend URL", "Frontend Type", "Frontend Notes", "Frontend URL", "tmp" ] } </templatedata>