සැකිල්ල: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:

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 ප්‍රවර්ගය:Isotope template issues (12), under "U". That is, a single error will list twice (say, by articles polonium, Isotopes of polonium).

catsort[සංස්කරණය]

error-message: catsort=message-codes used ({{/error-message}})
Issue Unknown parameter (checkfup, Cat:Isotope template issues § U) categorise: mainspace page [3×/error]
U checkfup Unknown parameter "foobar"
Issues (aka 'errors') (ප්‍රවර්ගය:Isotope template issues (12)) categorise: mainspace, root IB instance pages [3×/error]
P to fix Isotope data incomplete (mn, sym, na, hl=) {{Isotopes/main/isotope/iso-na-hl}}
P to fix Decay product missing; pn1, ps1 for "dm1=SF" {{Isotopes/main/isotope/decay}}
M to fix Decay mode is skipped, "dm1=..." {{Isotopes/main/isotope/decay}}
M to fix Unstable isotope, decay mode missing (dm1, pn1, ps1=...) {{Isotopes/main/isotope/cell-format}}
L to fix Unexpected code '_link' in output "100_link%" {{Isotopes/main/isotope/cell-format}}
Tracking (nothing to fix) (ප්‍රවර්ගය:Isotope template trackings (10)) categorise: root IB instance; show cat marking: /testcases
D add to data or fix typo or leave alone Decay mode not recognised, input shown unedited, dm1=δ+ {{Isotopes/main/isotope/decay}}
S remove input or fix half-life Stable isotope cannot have a decay mode (dm1=) {{Isotopes/main/isotope/cell-format}}
% msg Abundance percentage not recognised, na= "ca 100%" {{Isotopes/main/isotope/cell-format}}
% msg Decay mode percentage not recognised, perc1= "circa 55%" {{Isotopes/main/isotope/cell-format}}

Subtemplates[සංස්කරණය]

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:

|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[සංස්කරණය]

{{Isotopes/main/error-message
|catsort =
|sym =
|msg =
|value =
|help =
|sender =
}}
{{Isotopes/main/error-message/compose
|_CATNAME =
|_CATSORT =
|_MSG-STR =
|_PAGETYPES =
|_SENDER =
}}

See also[සංස්කරණය]

{{Checks for unknown parameters}} – CFUP
{{Isotopes}}
ප්‍රවර්ගය:Isotope template issues (12)
ප්‍රවර්ගය:Isotope template trackings (10)
{{Isotopes/main/error-message/testcases}}


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Isotopes/main/error-message/doc&oldid=572602" වෙතින් සම්ප්‍රවේශනය කෙරිණි