Template:Overlay keys: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 5: Line 5:
| attribute=true
| attribute=true
| icon=true
| icon=true
| postfix={{{group|}}}
| postfix={{#if:{{{overlay|}}}|{{{overlay|}}} Overlay|{{{group|}}}}}
| linkoverride={{{linkoverride|}}}
| linkoverride={{{linkoverride|}}}
| category=
| category=
Line 12: Line 12:
-->| Icon | {{{icon|}}}<!--
-->| Icon | {{{icon|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Range | {{{range|}}}<!--
-->| Description | {{{description|}}}<!--
-->| Description | {{{description|}}}<!--
-->| Default value | {{{defaultvalue|}}}<!--
-->| Default value | {{{defaultvalue|n/a}}}<!--
--><!--| [[Prequel]] | {{#if: {{{prequel|}}} | {{linkappend | post={{#if:{{{overlay|}}}|&nbsp;prequel&nbsp;({{{overlay|}}} Overlay)|{{#if:{{{group|}}}|&nbsp;prequel&nbsp;({{{group|}}})|}}}} | {{{prequel|}}}}} | no}}--><!--
-->}}<noinclude><noinclude>
-->}}<noinclude><noinclude>


Example:
Example:
{{Overlay keys|suppresscategory=true|allowselflinks=true|
{{Overlay keys|suppresscategory=true|allowselflinks=true|
{{Overlay keys|type=row|group=Water Overlay|key=CULVERT_DIAMETER|defaultvalue=1|icon=TYGRON_Logo_T1_94x135.png|unit=m|description=Diameter of the circular culvert}}
{{Overlay keys|type=row| group=Water Overlay | key=CULVERT_DIAMETER |                       defaultvalue=1   | icon=TYGRON_Logo_T1_94x135.png| unit=m | description=Diameter of the circular culvert}}
{{Overlay keys|type=row| group=Water Overlay | key=WATER_LEVEL      | prequel=Water level | defaultvalue=n/a | icon=TYGRON_Logo_T1_94x135.png| unit=m | description=Height of the water level}}
}}
}}


</noinclude>
</noinclude>

Latest revision as of 17:00, 26 January 2024

Example: