Template:Overlay keys: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
-->| [[Overlay Key|Key]] | {{{key|}}}<!--
-->| [[Overlay Key|Key]] | {{{key|}}}<!--
-->| Icon | {{{icon|}}}<!--
-->| Icon | {{{icon|}}}<!--
-->| [[Prequel]] | {{#if: {{{prequel|}}} | {{linkappend | post={{#if:{{{overlay|}}}|&nbsp;prequel&nbsp;({{{overlay|}}} Overlay)|{{#if:{{{group|}}}|&nbsp;prequel&nbsp;({{{group|}}})|}}}} | {{{prequel|}}}}} | no}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Description | {{{description|}}}<!--
-->| Description | {{{description|}}}<!--
-->| Default value | {{{defaultvalue|n/a}}}<!--
-->| Default value | {{{defaultvalue|n/a}}}<!--
-->| [[Prequel]] | {{#if: {{{prequel|}}} | {{linkappend | post={{#if:{{{overlay|}}}|&nbsp;({{{overlay|}}} Overlay)|{{#if:{{{group|}}}|&nbsp;({{{group|}}})|}}}} | {{{prequel|}}}&nbsp;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|defaultvalue=n/a|icon=TYGRON_Logo_T1_94x135.png|unit=m|description=Height of the water level|prequel=Water level}}
{{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>

Revision as of 14:49, 11 January 2022

Example: