Template:Nav-group: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:




                               --></noinclude>{{#if:{{{2link|}}}| {{{2link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{2|}}} }}}}<noinclude><!--
                               --></noinclude>{{#if:{{{2link|}}}| {{{2link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{2|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{3|}}}{{{3link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{3link|}}}| {{{3link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{3|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{3|}}}{{{3link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{3link|}}}| {{{3link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{3|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{4|}}}{{{4link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{4link|}}}| {{{4link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{4|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{4|}}}{{{4link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{4link|}}}| {{{4link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{4|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{5|}}}{{{5link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{5link|}}}| {{{5link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{5|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{5|}}}{{{5link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{5link|}}}| {{{5link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{5|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{6|}}}{{{6link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{6link|}}}| {{{6link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{6|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{6|}}}{{{6link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{6link|}}}| {{{6link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{6|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{7|}}}{{{7link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{7link|}}}| {{{7link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{7|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{7|}}}{{{7link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{7link|}}}| {{{7link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{7|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{8|}}}{{{8link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{8link|}}}| {{{8link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{8|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{8|}}}{{{8link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{8link|}}}| {{{8link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{8|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{9|}}}{{{9link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{9link|}}}| {{{9link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{9|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{9|}}}{{{9link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{9link|}}}| {{{9link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{9|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{10|}}}{{{10link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{10link|}}}| {{{10link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{10|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{10|}}}{{{10link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{10link|}}}| {{{10link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{10|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{11|}}}{{{11link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{11link|}}}| {{{11link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{11|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{11|}}}{{{11link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{11link|}}}| {{{11link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{11|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{12|}}}{{{12link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{12link|}}}| {{{12link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{12|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{12|}}}{{{12link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{12link|}}}| {{{12link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{12|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{13|}}}{{{13link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{13link|}}}| {{{13link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{13|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{13|}}}{{{13link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{13link|}}}| {{{13link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{13|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{14|}}}{{{14link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{14link|}}}| {{{14link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{14|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{14|}}}{{{14link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{14link|}}}| {{{14link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{14|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{15|}}}{{{15link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{15link|}}}| {{{15link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{15|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{15|}}}{{{15link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{15link|}}}| {{{15link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{15|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{16|}}}{{{16link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{16link|}}}| {{{16link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{16|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{16|}}}{{{16link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{16link|}}}| {{{16link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{16|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{17|}}}{{{17link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{17link|}}}| {{{17link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{17|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{17|}}}{{{17link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{17link|}}}| {{{17link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{17|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{18|}}}{{{18link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{18link|}}}| {{{18link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{18|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{18|}}}{{{18link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{18link|}}}| {{{18link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{18|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{19|}}}{{{19link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{19link|}}}| {{{19link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{19|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{19|}}}{{{19link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{19link|}}}| {{{19link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{19|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{20|}}}{{{20link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{20link|}}}| {{{20link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{20|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{20|}}}{{{20link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{20link|}}}| {{{20link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{20|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{21|}}}{{{21link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{21link|}}}| {{{21link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{21|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{21|}}}{{{21link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{21link|}}}| {{{21link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{21|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{22|}}}{{{22link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{22link|}}}| {{{22link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{22|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{22|}}}{{{22link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{22link|}}}| {{{22link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{22|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{23|}}}{{{23link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{23link|}}}| {{{23link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{23|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{23|}}}{{{23link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{23link|}}}| {{{23link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{23|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{24|}}}{{{24link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{24link|}}}| {{{24link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{24|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{24|}}}{{{24link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{24link|}}}| {{{24link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{24|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{25|}}}{{{25link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{25link|}}}| {{{25link|}}} |{{linkappend|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{25|}}} }}}}<noinclude><!--
--></noinclude>{{#if:{{{25|}}}{{{25link|}}}|<nowiki> •&nbsp;</nowiki>|}}{{#if:{{{25link|}}}| {{{25link|}}} |{{linkappend|lc={{{lc|}}}|pre={{{preappend|}}}|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{25|}}} }}}}<noinclude><!--




Line 50: Line 50:
{{nav-group
{{nav-group
  | postappend=|Community
  | postappend=|Community
  | | 2link= [[Community Hub|Community]]
  | | 2link= [[Community]]
|          Forum
  | | 5link= [[ArcGIS Pro|Sign in ArcGIS]]
|          Tickets
  | | 5link= [[ArcGIS Login|Sign in ArcGIS]]
  }}
  }}
{{nav-group
{{nav-group
  | postdepend=_postdepended
  | postdepend=_postdepended
  | Community
  | Community
| Forum
  | | 5link= [[ArcGIS Pro|Sign in ArcGIS]]
| Tickets
  | | 5link= [[ArcGIS Login|Sign in ArcGIS]]
  }}
  }}
{{nav-group  
{{nav-group  
  | preappend=Select&nbsp;
  | preappend=Select&nbsp;
  | postappend=&nbsp;(TQL)
  | postappend=&nbsp;(TQL)
| lc=true
  | [[TQL]]
  | [[TQL]]
  | Attribute
  | Attribute
Line 80: Line 77:
* 2link..nlink: Replacement for a specific entry in a group, to facilitate defined links. Preferably not used, but can facilitate external links for example. Don't forget to skip the associated number.
* 2link..nlink: Replacement for a specific entry in a group, to facilitate defined links. Preferably not used, but can facilitate external links for example. Don't forget to skip the associated number.
* postappend: What to append every name with. (e.g. "Heat Stress" as text, "Heat Stress Overlay" as link, postappend should be "&amp;nbsp;Overlay")
* postappend: What to append every name with. (e.g. "Heat Stress" as text, "Heat Stress Overlay" as link, postappend should be "&amp;nbsp;Overlay")
* postdepend: What to append every name with, but not the link, opposite of postappend.
* preappend: What to append every name with. (e.q. "Attribute as text, "Select Attribute" as text, preappend should be "Select&nbsp")
* group: Title or link, if this is a main group indicator. Should not be used along with 2...n.
* group: Title or link, if this is a main group indicator. Should not be used along with 2...n.
* lc:if present, lowercase the main text of link url itself (not the pre/postfixes, and not the displayed text)


Additional parameters can be generated with:
Additional parameters can be generated with:

Latest revision as of 13:32, 13 December 2023

Example:


To be used in a Template:nav.

Parameters:

  • 1: Name of the group
  • 2..n: Entry in the group. Automatically linkified.
  • 2link..nlink: Replacement for a specific entry in a group, to facilitate defined links. Preferably not used, but can facilitate external links for example. Don't forget to skip the associated number.
  • postappend: What to append every name with. (e.g. "Heat Stress" as text, "Heat Stress Overlay" as link, postappend should be "&nbsp;Overlay")
  • postdepend: What to append every name with, but not the link, opposite of postappend.
  • preappend: What to append every name with. (e.q. "Attribute as text, "Select Attribute" as text, preappend should be "Select&nbsp")
  • group: Title or link, if this is a main group indicator. Should not be used along with 2...n.
  • lc:if present, lowercase the main text of link url itself (not the pre/postfixes, and not the displayed text)

Additional parameters can be generated with:

var itterations=25;

var base='--></noinclude>{{#if:{{{%s|}}}{{{%slink|}}}| • |}}{{#if:{{{%slink|}}}| {{{%slink|}}} |{{linkappend|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{%s|}}} }}}}<noinclude><!--';
var output = '                               --></noinclude>{{#if:{{{%slink|}}}| {{{%slink|}}} |{{linkappend|post={{{postappend|}}}|postd={{{postdepend|}}}| 1={{{%s|}}} }}}}<noinclude><!--'.split('%s').join(2);
for (var i=3; i<=itterations ; i++ ) {
    output = output + '\r\n'+base.split('%s').join(i);
}
console.log(output);