Template:Overlay keys: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
-->| Icon | {{{icon|}}}<!--
-->| Icon | {{{icon|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Range | {{{range|}}}<!--
-->| 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}}<!--
--><!--| [[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|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>

Latest revision as of 17:00, 26 January 2024

Example: