Jump to content

ထႅမ်းပလဵတ်ႉ:Edit/doc

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

It provides a clickable link to edit a page, or a section of the page.

လွင်ႈၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]
{{Edit
|1=
|2=
|section=
|editintro=
|preload=
|preloadtitle=
|tooltip=
}}
  • 1: the page to edit. If omitted, it will be the current page.
  • 2: the label text of the edit link. If omitted, it is "edit" by default.
  • section: the section to edit, in which 0 for the top (i.e. lead section), 1 for the first (sub-)section, and new for adding a new section.
  • editintro: the content of a page/template that will be transcluded above the edit box when you edit the page. Usually used to load template messages.
  • preload: the content of a page/template that will be preloaded into the text area of the edit form. It works only if the page to be edited does not exist.
  • preloadtitle: if making a new section (i.e. |section=new), the title to be preloaded into the title box of the edit form.
  • tooltip: the text to display when you hover over the link.

Notes:

  • All parameters are optional.
  • The parameter names must be in lowercase or they will fail.

တူဝ်ယၢင်ႇ

[မႄးထတ်းငဝ်ႈငႃႇ]
Code Output Notes
{{edit}} မႄးထတ်း Edit current page
{{edit| |edit template doc}} edit template doc
{{edit|1=Infobox foo|2=E}} E
{{edit|2=edit template doc}} edit template doc
{{edit|friendship}} မႄးထတ်း Edit the article friendship
{{edit|friendship|section=3}} မႄးထတ်း Edit the third order of a (sub-)section of the article friendship, which is 1.2 Adolescence as of 10 Jan 2020
{{edit|Draft:Sandbox|editintro=Template:Disambig editintro}} မႄးထတ်း Load {{Disambig editintro}} when you edit
{{edit|Template:Some new template|preload=Template:Documentation/preload}} မႄးထတ်း Preload the whoole content of {{Documentation/preload}} when you create a new template
{{edit|Wikipedia talk:Sandbox|section=new||preloadtitle=Custom title of the new section}} [1] Create a new section of a custom title
{{edit|2=link with tooltip|tooltip=This is a tooltip}} မႄးထတ်း Hover over the link to see the tooltip

ၶေႃႈမုၼ်းထႅမ်းပလဵတ်ႉ

[မႄးထတ်းငဝ်ႈငႃႇ]
ၶေႃႈမုၼ်းၸိူဝ်းၽၢႆႇတႂ်ႈၼႆႉ ယိူင်းဢၢၼ်းဝႆႉတႃႇ ၶၢဝ်းမိူဝ်းၼႃႈသေ တီႈ ဝီႇၶီႇၽီးတီးယႃးတႆးၼႆႉၵေႃႈ တေၸၢင်ႈၸႂ်ႉမႃးလႆႈ ၶိူင်ႈၸႂ်ႉ ၼင်ႇ တူဝ်ထတ်းတႃႁၼ် (VisualEditor) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃးဢင်းၵိတ်ႉၼၼ်ႉလႄႈ ၸင်ႇလႆႈတမ်းၽႅၼ်ၵၢၼ်လၢႆးငၢၼ်း ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ (TemplateData) ဢၼ်မီးၼင်ႇတီႈ ဢင်းၵိတ်ႉဝႆႉၼၼ်ႉသေၵေႃႈ လႆႈႁဵတ်းဝႆႉယဝ်ႉ။ ႁူမ်ႈဝႃႈ ဢမ်ႇပႆႇၸႂ်ႉ ၶိူင်ႈၸႂ်ႉၸိူဝ်းၼၼ်ႉသေတႃႉၵေႃႈ ၵဵဝ်ႇလူၺ်ႈ လွင်ႈတႅမ်ႈၽရူဝ်ႇၶႅမ်ႇ (computer programming) သေ သင်ၸိူဝ်ႉဝႃႈ ႁူႉပွင်ႇဝႆႉ ဢိတ်းဢွတ်းၵူၺ်းၵေႃႈ ႁႂ်ႈပေႃးႁၼ်လႆႈ ၸႅင်ႈလႅင်းပွင်ႇၸႂ်လီၼႆသေ ၸၢင်ႈဢဝ်ၸႂ်ႉလႆႈ ၼင်ႇႁူဝ်ႁုပ်ႈမၼ်းၼၼ်ႉယူႇ။

Edit

Displays a link to edit a page.

Template parameters

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
Page1

The page to edit

Default
The current page
Example
Example
Page namesuggested
Label2

The link label

Default
Edit
Example
Edit this page
Stringoptional
Sectionsection

The section to edit; 0 for the top section; new for a new section

Default
None (whole page gets edited)
Example
0
Stringoptional
Edit Introeditintro

Content that will be rendered above the edit box

Example
Template:Disambig editintro
Unknownoptional
Preloadpreload

Content to preload in the edit form when creating a new page or section

Unknownoptional
Preload titlepreloadtitle

If making a new section, preload text into the title box

Unknownoptional
Tooltiptooltip

Text to display on mouseover

Default
Page or section name
Stringoptional
[] Compare different edit templates:
  • {{Ed}} —– plain-style edit link surrounded by <small> tags, specifically for templates only
  • {{Ed right}} —– plain-style edit link surrounded by <small> tags and aligned to right of page, specifically for templates only
  • {{Edit}} —– plain-style edit link, applicable to all Wikipedia namespaces
  • {{Edit section}} —– edit link surrounded by <div> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces
  • {{Vedit}} —– plain-style edit link which edit with the Wikipedia:VisualEditor, applicable to all Wikipedia namespaces

Templates with view, talk and edit links:

  • {{Navbar}} —– navigation bar with configurable caption and view·talk·edit links, specifically for templates only
  • {{View}} —– navbar-style view·talk·edit links, specifically for templates only
  • {{VTE}} & {{V}} —– navbar-style V·T·E links (i.e. view·talk·edit links in short forms), specifically for templates only