Template:Nav-group: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
: <noinclude><!-- | : <noinclude><!-- | ||
--></noinclude><noinclude><!-- | --></noinclude><noinclude><!-- | ||
--></noinclude>{{{ group| {{linkappend|post={{{postappend|}}}|{{{2| | --></noinclude>{{ #if:{{{group|}}} | <div style="border-bottom:2px solid gray;">{{{group}}}</div> | {{ linkappend|post={{{postappend|}}}|{{{2|}}} }} }}<noinclude><!-- | ||
--></noinclude>{{#if:{{{3|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{3|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{3|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{3|}}} }}<noinclude><!-- | ||
--></noinclude>{{#if:{{{4|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{4|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{4|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{4|}}} }}<noinclude><!-- |
Revision as of 06:15, 7 August 2020
Example:
To be used in a Template:nav.
Parameters:
- 1: Name of the group
- 2..n: Entry in the group. Automatically linkified.
- postappend: What to append every name with. (e.g. "Heat Stress" as text, "Heat Stress Overlay" as link, postappend should be " Overlay")
- group: Title or link, if this is a main group indicator