Template:Nav-group: Difference between revisions

From Tygron Support wiki
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><!--
--></noinclude>{{ #if:{{{group|}}} | <div style="border-bottom:2px solid gray;">{{{group}}}</div> | {{ 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><!--
--></noinclude>{{#if:{{{4|}}}|&nbsp;•&nbsp;|}}{{linkappend|post={{{postappend|}}}|{{{4|}}} }}<noinclude><!--
--></noinclude>{{#if:{{{4|}}}|&nbsp;•&nbsp;|}}{{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 "&nbsp;Overlay")
  • group: Title or link, if this is a main group indicator