Template:WPFISHING/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:WPFISHING (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] Usage

This template adds articles to Category:WikiProject Fishing articles and categorizes them using assessment grades and importance through built-in transclusion. An article's assessment is generated from the class and importance parameters in the {{WPFISHING |class= |importance=}} banner on its talk page. This template should be transcluded and not substituted (subst:) because it employs conditional code. Transclusion also allows easy updating of all the Project's talk pages without having to edit hundreds of pages.

[edit] Other parameters

  • nested=yes — for use with {{WikiProjectBannerShell}}.
  • small=yes — makes the template small and along the right side of the page (as opposed to at the top).


This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.