Jump to content

සැකිල්ල:Dialog/edit/උපදෙස්

Wikibooks වෙතින්

This template sets up a button to perform an edit mediated by a given form, via action do.

Parameters:

  • form — required — the name of the mediating form page for the edit, used as the form dialog parameter to the edit verb of the do action.
  • label — optional — the text label on the button. If omitted, defaults to edit.
  • unnamed parameters — mostly optional — dialog parameters passed to the do action when the button is clicked; as with the unnamed template parameters to {{dialog/button}}, but currently only up to thirty (two fewer than supported by the other template). The edit verb requires a dialog parameter subject.

A second, echo button can be provided, by specifying non-blank template parameter echo; the same dialog parameters are passed to the echo action as to the do action, which may aid dialog debugging.

Non-blank template parameter delegable indicates the action of the button may be delegated; delegation is not always possible, and even when possible, the parameter permits it rather than requiring it.

Template parameter test may name an action page in userspace to use instead of do. Action pages in userspace are restricted to use by sysops.

Non-blank template parameter rescript causes the button to remove all cached wikidialog javascript functions before performing the action; no effect when delegating; may be used when testing new versions of wikidialog javascript to avoid accidentally mixing new versions of some functions with old versions of others.

Non-blank template parameter sequence marks the button as part of an action-sequence.

Non-blank template parameter live prevents the button from being disabled when it occurs in a non-live preview.


"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:Dialog/edit/උපදෙස්&oldid=32327" වෙතින් සම්ප්‍රවේශනය කෙරිණි