Template:Nav-group: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
; {{{1|Group}}}
<includeonly><noinclude>
</noinclude>; {{{1|Group}}}
: <noinclude><!--
: <noinclude><!--
--></noinclude><noinclude><!--
--></noinclude><noinclude><!--
--></noinclude>{{{group|}}}<noinclude><!--
--></noinclude>{{{ group| {{linkappend|post={{{postappend|}}}|{{{2|}}} }} }}}<noinclude><!--
--></noinclude>{{#if:{{{2|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{2|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{2|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{2|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{3|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{3|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{3|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{3|}}} }}<noinclude><!--
Line 27: Line 28:
--></noinclude>{{#if:{{{24|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{24|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{24|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{24|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{25|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{25|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{25|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{25|}}} }}<noinclude><!--
--></noinclude>
--></noinclude></includeonly><noinclude>
 
Example:
{{nav-group
| Overlays
| Default | Ownership | Zoning |
}}
 
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 "&amp;nbsp;Overlay")
* group: Title or link, if this is a main group indicator
 
</noinclude>

Revision as of 06:06, 7 August 2020


Example:

Overlays
Default  • Default • Ownership • Zoning

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 "&nbsp;Overlay")
  • group: Title or link, if this is a main group indicator