Lompat ke isi

Cèṭa'an:Isotopes/main/error-message/doc

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika

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:

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

[beccè' sombher]

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

Cèṭa'an:Isotopes/main/error-message/doc/catsort-table

Subtemplates

[beccè' sombher]

pagetypes

[beccè' sombher]
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:

|11-action-preview-show-AND        =msgclass-issue
|12-action-preview-show-AND        =msgclass-tracked
|21-action-catlink-write-persistent-AND =ns-template, isotope-page, testcases
|31-action-categorise-write-AND    =ns-main, msgclass-issue
|32-action-categorise-write-AND    =ns-template, msgclass-issue, isotope-page, rootpage, not-meta
|36-action-categorise-write-AND    =ns-template, msgclass-tracked, isotope-page, rootpage, not-meta

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

Parameters

[beccè' sombher]
{{Isotopes/main/error-message
|catsort =
|sym =
|msg =
|value =
|help =
|sender =
}}
{{Isotopes/main/error-message/compose
|_CATNAME =
|_CATSORT =
|_MSG-STR =
|_PAGETYPES =
|_SENDER =
}}

See also

[beccè' sombher]
{{Checks for unknown parameters}}CFUP
{{Isotopes}}
Category:Isotope template issues (3)
Category:Isotope template trackings (2)
{{Isotopes/main/error-message/testcases}}