Super constructor for AttributionNotice subclasses.
The ParsoidTransclusionTemplateNode of this notice.
Protected_rowsAll the rows of this template.
Whether or not this notice is collapsed (rows hidden if rows are two or more).
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.
Whether or not this notice is a right-floating box.
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 CopiedTemplate, 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.