Template:Overlay features: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{collection table test| type={{{type|table}}}
{{collection table<!--
| tablestyle=table sortable overlay
 
| iconsize=30px
Fixed pass-through parameters-->
| type={{{type|table}}}
| suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}}
| suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}}
| allowselflink={{{allowselflink|}}}
| allowselflink={{{allowselflink|}}}
| content={{{1|}}}
| content={{{1|}}}<!--
 
Configurable attributes-->
| tableclass=table sortable overlay
| iconsize=75px
| attribute=
| attribute=
| icon=true
| icon=true
Line 10: Line 15:
| category=
| category=
<!--
<!--
Actual content structure
-->| Name    | {{{name|}}}<!--
-->| Name    | {{{name|}}}<!--
-->| Icon    | {{{icon|}}}<!--
-->| Icon    | {{{icon|}}}<!--
-->| Category | {{{category|}}}<!--
-->| Category | {{{category|}}}<!--
-->| Type    | {{{ftype|}}}<!--
-->| Type    | {{{ftype|}}}<!--
-->| [[Overlay Key|Identification Key]] | {{#if:{{{overlay|}}} | {{linkappend|{{{key|}}}|lc=true|post=&nbsp;({{{overlay|}}} Overlay)}} | }}<!--
-->| [[Overlay Key|Identification Key]] | {{#if:{{{overlay|}}} | {{linkappend|{{{key|}}}|lc=true|post=&nbsp;({{{overlay|}}} Overlay)}} | }}<!--
-->| {{{moreinfo|}}} | {{{moreinfo|}}}<!--
-->
-->
}}<noinclude>
}}<noinclude>


Example:
Example:
{{Overlay features|suppresscategory=true|allowselflinks=true|moreinfo=Presence|
{{Overlay features|type=row|overlay=Water    |name=Water level area |icon=Waterwizard_icon_water level.png      |category=Hydrological Feature  |ftype=[[Area]]    |key=WATER_LEVEL      |moreinfo=Water Overlays}}
{{Overlay features|type=row|overlay=Water    |name=Sewer area      |icon=Waterwizard_icon_sewer.png            |category=Hydrological Feature  |ftype=[[Area]]    |key=SEWER_STORAGE    |moreinfo=Water Overlays}}
{{Overlay features|type=row|overlay=Water    |name=Breach          |icon=Waterwizard_icon_breach.png            |category=Hydrological Feature  |ftype=[[Area]]    |key=BREACH_HEIGHT    |moreinfo=Flooding overlays}}
{{Overlay features|type=row|overlay=Water    |name=Inundation area  |icon=Waterwizard_icon_inundation_area.png  |category=Hydrological Feature  |ftype=[[Area]]    |key=INUNDATION_LEVEL |moreinfo=Water Overlays}}
{{Overlay features|type=row|overlay=Water    |name=Aquifer          |icon=Waterwizard_icon_aquifer_area.png      |category=Hydrological Feature  |ftype=[[Area]]    |key=AQUIFER_KD      |moreinfo=Groundwater overlays}}
{{Overlay features|type=row|overlay=Water    |name=Limitation area  |icon=Waterwizard_icon_limitation_area.png  |category=Simulation Feature    |ftype=[[Area]]    |key=LIMIT_AREA      |moreinfo=Water Overlays}}
}}


{{Overlay features|suppresscategory=true|allowselflinks=true|
{{Overlay features|type=row|overlay=Water|name=Weir |icon=Waterwizard_icon_inlet.png |category=Normal  |ftype=None  |key=WEIR_HEIGHT}}
}}
</noinclude>
</noinclude>

Latest revision as of 14:40, 7 December 2020

Example: