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>{{ #if:{{{group|}}} | <div style="border-bottom:2px solid gray;">{{{group}}}</div> | {{ linkappend|post={{{postappend|}}}|{{{2|}}} }} }}<noinclude><!-- | --></noinclude>{{ #if:{{{group|}}} | <div style="border-bottom:2px solid gray;">{{{group}}}</div> | }}<noinclude><!-- | ||
--></noinclude>{{#if:{{{3|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{3|}}} }}<noinclude><!-- | |||
--></noinclude>{{#if:{{{4|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{4|}}} }}<noinclude><!-- | |||
--></noinclude>{{#if:{{{5|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{5|}}} }}<noinclude><!-- | |||
--></noinclude>{{#if:{{{6|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{6|}}} }}<noinclude><!-- | --></noinclude>{{{2link| {{linkappend|post={{{postappend|}}}|{{{2|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{7|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{7|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{3|}}}{{{3link|}}} | • |}}{{{3link| {{linkappend|post={{{postappend|}}}|{{{3|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{8|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{8|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{4|}}}{{{4link|}}} | • |}}{{{4link| {{linkappend|post={{{postappend|}}}|{{{4|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{9|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{9|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{5|}}}{{{5link|}}} | • |}}{{{5link| {{linkappend|post={{{postappend|}}}|{{{5|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{10|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{10|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{6|}}}{{{6link|}}} | • |}}{{{6link| {{linkappend|post={{{postappend|}}}|{{{6|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{11|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{11|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{7|}}}{{{7link|}}} | • |}}{{{7link| {{linkappend|post={{{postappend|}}}|{{{7|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{12|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{12|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{8|}}}{{{8link|}}} | • |}}{{{8link| {{linkappend|post={{{postappend|}}}|{{{8|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{13|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{13|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{9|}}}{{{9link|}}} | • |}}{{{9link| {{linkappend|post={{{postappend|}}}|{{{9|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{14|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{14|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{10|}}}{{{10link|}}} | • |}}{{{10link| {{linkappend|post={{{postappend|}}}|{{{10|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{15|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{15|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{11|}}}{{{11link|}}} | • |}}{{{11link| {{linkappend|post={{{postappend|}}}|{{{11|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{16|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{16|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{12|}}}{{{12link|}}} | • |}}{{{12link| {{linkappend|post={{{postappend|}}}|{{{12|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{17|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{17|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{13|}}}{{{13link|}}} | • |}}{{{13link| {{linkappend|post={{{postappend|}}}|{{{13|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{18|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{18|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{14|}}}{{{14link|}}} | • |}}{{{14link| {{linkappend|post={{{postappend|}}}|{{{14|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{19|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{19|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{15|}}}{{{15link|}}} | • |}}{{{15link| {{linkappend|post={{{postappend|}}}|{{{15|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{20|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{20|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{16|}}}{{{16link|}}} | • |}}{{{16link| {{linkappend|post={{{postappend|}}}|{{{16|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{21|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{21|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{17|}}}{{{17link|}}} | • |}}{{{17link| {{linkappend|post={{{postappend|}}}|{{{17|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{22|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{22|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{18|}}}{{{18link|}}} | • |}}{{{18link| {{linkappend|post={{{postappend|}}}|{{{18|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{23|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{23|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{19|}}}{{{19link|}}} | • |}}{{{19link| {{linkappend|post={{{postappend|}}}|{{{19|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{24|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{24|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{20|}}}{{{20link|}}} | • |}}{{{20link| {{linkappend|post={{{postappend|}}}|{{{20|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{25|}}}| • |}}{{linkappend|post={{{postappend|}}}|{{{25|}}} }}<noinclude><!-- | --></noinclude>{{#if:{{{21|}}}{{{21link|}}} | • |}}{{{21link| {{linkappend|post={{{postappend|}}}|{{{21|}}} }} }}}<noinclude><!-- | ||
--></noinclude>{{#if:{{{22|}}}{{{22link|}}} | • |}}{{{22link| {{linkappend|post={{{postappend|}}}|{{{22|}}} }} }}}<noinclude><!-- | |||
--></noinclude>{{#if:{{{23|}}}{{{23link|}}} | • |}}{{{23link| {{linkappend|post={{{postappend|}}}|{{{23|}}} }} }}}<noinclude><!-- | |||
--></noinclude>{{#if:{{{24|}}}{{{24link|}}} | • |}}{{{24link| {{linkappend|post={{{postappend|}}}|{{{24|}}} }} }}}<noinclude><!-- | |||
--></noinclude>{{#if:{{{25|}}}{{{25link|}}} | • |}}{{{25link| {{linkappend|post={{{postappend|}}}|{{{25|}}} }} }}}<noinclude><!-- | |||
--></noinclude></includeonly><noinclude> | --></noinclude></includeonly><noinclude> | ||
Example: | Example: | ||
Line 46: | Line 53: | ||
* 2..n: Entry in the group. Automatically linkified. | * 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 "&nbsp;Overlay") | * postappend: What to append every name with. (e.g. "Heat Stress" as text, "Heat Stress Overlay" as link, postappend should be "&nbsp;Overlay") | ||
* group: Title or link, if this is a main group indicator | * group: Title or link, if this is a main group indicator. Should not be used along with 2...n. | ||
Additional parameters can be generated with: | |||
<pre> | |||
</pre> | |||
</noinclude> | </noinclude> |
Revision as of 10:22, 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. Should not be used along with 2...n.
Additional parameters can be generated with: