Template:Terrain attributes: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "{{collection table test| type={{{type|table}}} | suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}} | allowselflink={{{allowselflink|}}} | content={{{1|}}...")
 
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{collection table test| type={{{type|table}}}
{{collection table| type={{{type|table}}}
| suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}}
| suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}}
| allowselflink={{{allowselflink|}}}
| allowselflink={{{allowselflink|}}}
Line 5: Line 5:
| attribute=true
| attribute=true
| icon=true
| icon=true
| postfix={{{group|Terrain Attribute}}}
| range=
| prefix={{#if:{{{group|}}}|terrain&nbsp;|}}
| postfix={{#if:{{{overlay|}}}|{{{overlay|}}} Overlay|{{{group|Terrain Attribute}}}}}
| prefix={{#if:{{{overlay|}}}|terrain|{{{prefix|}}}}}
| category=
| category=
| Attribute | {{{attribute|}}}<!--
<!--
-->| Attribute | {{{attribute|}}}<!--
-->| Icon | {{{icon|}}}<!--
-->| Icon | {{{icon|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Layer | {{{layer|}}}<!--
-->| Layer | {{{layer|}}}<!--
-->| Range | {{{range|}}}<!--
-->| Description | {{{description|}}}<!--
-->| Description | {{{description|}}}<!--
-->}}<noinclude>
-->
}}<noinclude>


Example:
Example:
{{Terrain attributes|suppresscategory=true|allowselflinks=true|
{{Terrain attributes|suppresscategory=true|allowselflinks=true|
{{Terrain attributes|type=row|attribute=VISIBLE|icon=TYGRON_Logo_T1_94x135.png|unit={{boolean}}|layer=Surface|description=Whether you can see it}}
{{Terrain attributes|type=row|overlay=Water|attribute=GROUND_INFILTRATION_MD|icon=TYGRON_Logo_T1_94x135.png|unit=m/day|layer=Surface|description=The speed at which water infiltrates.}}
}}
}}


</noinclude>
</noinclude>

Latest revision as of 14:54, 26 January 2024

Example: