Template:Overlay prequels: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 10: Line 10:
Configurable attributes-->
Configurable attributes-->
| tableclass=table sortable overlay
| tableclass=table sortable overlay
| icon=true
| icon=
| attribute=true
| attribute=false
| postfix={{#if:{{{overlay|}}}|{{{overlay|}}} Overlay|{{{group|}}}}}
| postfix={{#if:{{{overlay|}}}|{{{overlay|}}} Overlay|{{{group|}}}}}
| postterm=prequel
| postterm=prequel
Line 18: Line 18:


Actual content structure
Actual content structure
-->| [[Prequel]] | {{{prequel|}}}<!--
-->| Name | {{{name| {{uc:{{{prequel|}}}}} }}}<!--
-->| Icon | {{{icon|}}}<!--
-->| [[Prequel]] | {{uc:{{{prequel|}}} }}<!--
-->| Underlying data | {{{ underlyingdata| {{#if:{{{overlay|}}}| [[Prequels ({{{overlay|}}} Overlay)|{{{overlay|}}} Prequel]]|}} }}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Range| {{{range| {{{min|- infinity}}} to {{{max|infinity}}} }}}<!--
-->| No data | {{{defaultvalue|Clamped to range}}}<!--
-->| Description | {{{description|}}}<!--
-->| Description | {{{description|}}}<!--
-->| No data | {{{defaultvalue|n/a}}}<!--
-->}}
-->}}<noinclude>
<!--<includeonly>[[Category:Prequel]]</includeonly>--><noinclude>


Example:
Example:
{{Overlay prequels|suppresscategory=true|allowselflinks=true|
{{Overlay prequels|suppresscategory=true|allowselflinks=true|
{{Overlay prequels|type=row| overlay=Water | prequel=WATER_LEVEL     | defaultvalue=n/a | icon=TYGRON_Logo_T1_94x135.png| unit={{mdatum}} | description=Height of the water level}}
{{Overlay prequels|type=row| overlay=Water | name=Surface level | prequel=Surface_level     | unit={{mdatum}} | description=Height of the water level on land and in waterways |min=-10000|max=10000}}
}}
}}


</noinclude>
</noinclude>

Latest revision as of 17:05, 26 January 2024


Example: