Super constructor for AttributionNotice subclasses.
The ParsoidTransclusionTemplateNode of this notice.
Protected_rowsAll the rows of this template.
OptionalcommentsComments shown at the bottom of the notice.
OptionaldemoRemoves the tracking category. This shouldn't be editable within CTE, but should still be carried over as a parameter.
ReadonlyidA unique ID for this template. Derived from the template name and its Parsoid about.
ReadonlynameA unique name for this template. Derived from the Parsoid about for its node.
ReadonlynodeThe template transclusion node that serves as a reference to an element on the Parsoid DOM.
OptionalrevidThe version number of a particular version that predates publication of the referenced work. The text generated by the template will link to the specified version.
Actual parameter name: id. revid is used to avoid shadowing the template ID.
The HTMLElement of the node
This template's i variable, used to identify this template in
the template's parts (data-mw).
The ParsoidDocument handling this notice (specifically its node).
This template's rows.
Provides low-level access to a template's data-mw entry. When possible,
use functions from .node instead, as these are much more stable.
The callback for data-modifying operations.
Adds a row to this template.
The row to add.
Deletes a row to this template.
The row to delete.
Generates an OOUI PageLayout for this notice. Used by the main dialog to generate pages. Do not cache - the dialog is responsible for caching.
Copies in the rows of another BackwardsCopyTemplate, and optionally deletes that template or clears its contents.
The template to copy from.
Options for this merge.
Optionalclear?: booleanWhether the reference template's rows will be cleared after merging.
Optionaldelete?: booleanWhether the reference template will be deleted after merging.
Represents a single {{copied}} template in the Parsoid document.