ਫਰਮਾ:Edit/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

Provides a link to edit a page. This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.

Usage[ਸੋਧੋ]

{{Edit|Page|Label|section=Section|editintro=Editintro|preload=preload|preloadtitle=Preloadtitle}}

All parameters are optional

  • Page: the page to edit, if not the current page
  • Label: the text to label the link, defaults to "edit"
  • Section: the section to edit, 0 for top section, "new" to add a new section
  • Editintro: Title of a page that will be transcluded above the edit box. Not a wikilink, templates require Template:
  • Preload: Title of a page to preload into the edit form if the page to be edited does not exist
  • Preloadtitle: if section=new, a title to be preloaded into the title box of the edit form
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Edit

Displays a link to edit a page.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Page1

The page to edit

ਮੂਲ ਰੂਪ
The current page
Example
Example
Page namesuggested
Label2

The link label

ਮੂਲ ਰੂਪ
Edit
Example
Edit this page
Stringoptional
Sectionsection

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

ਮੂਲ ਰੂਪ
None (whole page gets edited)
Example
0
Stringoptional
Edit Introeditintro

Title of a page that will be rendered above the edit box, no wikilinks, with namespace if not main

Example
Template:Disambig editintro
Unknownoptional
Preloadpreload

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

Unknownoptional
Preload titlepreloadtitle

If making a new section, preload the title box with this

Unknownoptional


See also[ਸੋਧੋ]

  • {{Ed}} – navbar style edit link
  • {{Ed right}} – navbar style edit link aligned to right of page
  • {{Edit}} – plain edit link
  • {{Edit section}} – edit link aligned to right of page
  • {{Navbar}} – with additional links
  • {{Vedit}} – edit with the Visual Editor