Template:Website Setup: Difference between revisions
No edit summary Tag: wikieditor |
No edit summary Tag: wikieditor |
||
| Line 3: | Line 3: | ||
==== Frontend ==== | ==== Frontend ==== | ||
{{#if: {{{Frontend Notes|}}} | ''{{{Frontend Notes}}}'' | {{#if: {{{Frontend Notes|}}} | ''{{{Frontend Notes}}}''<br>| }} | ||
{{#if: {{{Frontend URL|}}} | =====URL===== | |||
{{ForeachLoop|{{{Frontend URL|}}} }} }} | |||
==== Backend ==== | ==== Backend ==== | ||
{{#if: {{{Backend Notes|}}} | ''{{{Backend Notes}}}'' | {{#if: {{{Backend Notes|}}} | ''{{{Backend Notes}}}''<br>| }} | ||
{{#if: {{{Backend URL|}}} | =====URL===== | {{#if: {{{Backend URL|}}} | =====URL===== | ||
| Line 51: | Line 54: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"Frontend URL": {}, | "Frontend URL": {}, | ||
"Frontend Notes": { | "Frontend Notes": { | ||
| Line 66: | Line 68: | ||
"Backend Notes", | "Backend Notes", | ||
"Backend URL", | "Backend URL", | ||
"Frontend Notes", | "Frontend Notes", | ||
"Frontend URL" | "Frontend URL" | ||
Revision as of 20:35, 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===== {{#invoke:CSVIterator|iterateCSV| }} }}
Backend
{{#if: | {{{Backend Notes}}}
| }}
{{#if: | =====URL===== {{#invoke:CSVIterator|iterateCSV| }} }}
<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 URL": {},
"Frontend Notes": {
"type": "string"
},
"Server Access": {}
},
"description": "Webserver Stage (Preview, Stage, Production, ...)",
"paramOrder": [
"Stage",
"Server Provider",
"Server Admin URL",
"Server Access",
"Backend Notes",
"Backend URL",
"Frontend Notes",
"Frontend URL"
]
}
</templatedata>