Template talk:Administrators' newsletter/Navigation

Latest comment: 7 years ago by Samwalton9 in topic use of "nocat"

use of "nocat"

edit

I added an argument to this template so that if "nocat=true" (or, actually, if nocat is set equal to anything other than "false") the category will no be carried to the target page.

  • normal/default usage: {{Template:Administrators' newsletter/Navigation}}
  • nocat example usage: {{Template:Administrators' newsletter/Navigation|nocat=true}}

By default, every page where this navigation template is applied is automatically added to Category:Administrators' newsletter, and will continue to do so by default. However, with this change, if the argument "nocat=true" is added as in the example above, the page using this template will not be added to that category. This allows the template to be used for newsletter navigation from user sub-pages. --- Barek (talkcontribs) - 05:09, 31 January 2017 (UTC)Reply

@Barek: Thanks! Sam Walton (talk) 10:29, 31 January 2017 (UTC)Reply