Template:Isotopes/main/error-message/doc

This template handles the "error-messages" for Infobox isotopes (meta) and derived pages like Isotopes/main/table, Isotopes/main/isotope. "Error-messages" is to be read as: issues, tracking, page categorising: all actions and notifications that do not belong in the Article content.

Two maintenance categories are populated:
 * -- aka "errors", affects Article. To be handled (fixed). Preview-warnings in mainspace.
 * -- passive listing, nothing to repair but good to follow.

Messaging and categorisation is by various page-properties.
 * "Error" issues, to be fixed: preview warning, categorise page(s)
 * Tracked issues: not preview warned in mainspace; only template page is categorised (the instance not the meta; not the article). Extra indicator permanmanently visible in any template subpage (like /testcases, /sandbox):cat: #A
 * checkFUP ('Check for unknown parameters', the classical method): preview warning, categorise mainspace article.

Unknown parameters
Unknown parameters are checked by Module:Check for unknown parameters (WP:CFUP, checkfup) Mainspace pages are categorised in, under "U". That is, a single error will list twice (say, by articles polonium, Isotopes of polonium).

Subtemplates

 * Isotopes/main/error-message
 * Isotopes/main/error-message/compose
 * Isotopes/main/error-message/format-remove-supsub

pagetypes

 * Pagetype detection
 * ns-main, ns-template, ns-other
 * rootpage, subpage
 * isotope-page has "isotope" in pagename?
 * meta, not-meta, is meta template?
 * msgclass-issue, msgclass-tracked, msg-type (from catsort)

Action is determined by AND-checking ppagetypes:

This property-string (csv) is checked by str find word ("if page-types has 'ns-template, rootpage, not-meta' then categorise")