Template:Config: Difference between revisions
(Generated from a page schema) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:|Description (property=Has Description;display=nonempty)|Env Variable (property=Has Env Variable;display=nonempty)|Default (property=Has Default;display=nonempty)|Affects (list;property=Affects;display=nonempty)|Related To (list;property=Related To;display=nonempty)}} | {{#template_params:|Description (property=Has Description;display=nonempty)|Env Variable (property=Has Env Variable;display=nonempty)|Default (property=Has Default;display=nonempty)|Value (property=Has Value;display=nonempty)|Affects (list;property=Affects;display=nonempty)|Related To (list;property=Related To;display=nonempty)|Docs (list;property=Documented By;display=nonempty)}} | ||
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
Line 18: | Line 18: | ||
! Default | ! Default | ||
{{!}} [[Has Default::{{{Default|}}}]] | {{!}} [[Has Default::{{{Default|}}}]] | ||
}} | |||
{{#if:{{{Value|}}}| | |||
{{!}}- | |||
! Current Value | |||
{{!}} [[Has Value::{{{Value|}}}]] | |||
}} | }} | ||
{{#if:{{{Affects|}}}| | {{#if:{{{Affects|}}}| | ||
Line 29: | Line 34: | ||
! Related To | ! Related To | ||
{{!}} {{#arraymap:{{{Related To|}}}|,|x|[[Related To::x]]}} | {{!}} {{#arraymap:{{{Related To|}}}|,|x|[[Related To::x]]}} | ||
}} | |||
{{#if:{{{Docs|}}}| | |||
{{!}}- | |||
! Docs | |||
{{!}} {{#arraymap:{{{Docs|}}}|,|x|[[Documented By::x]]}} | |||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> |
Latest revision as of 21:12, 20 December 2023
This is the "Config" template.
It should be called in the following format:
{{Config |Description= |Env Variable= |Default= |Value= |Affects= |Related To= |Docs= }}
Edit the page to see the template text.