Template:Edit/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Enterprisey (talk | contribs) templatedata |
Enterprisey (talk | contribs) move templatedata down. whoo, it looks ugly. |
||
Line 1:
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
==Usage==▼
This [[Wikipedia:Template messages|template]] is a [[Wikipedia:Manual of Style/Self-references to avoid|self-reference]] and so is part of the Wikipedia project rather than the encyclopedic content.
▲==Usage==
:{{tlc|Edit|''Page title''|''Link label''}}
where:
*''Page title'' is the title of the page to edit
*''Link label'' is the text the link shows (instead of "Edit")
==See also==▼
{{edit templates}}▼
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||▼
<!-- Categories go here and interwikis go in Wikidata. -->▼
[[Category:Inline cleanup templates]]▼
[[Category:Internal link maintenance templates]]▼
[[Category:Internal link templates]]▼
}}</includeonly>▼
{{TemplateDataHeader}}
Line 45 ⟶ 64:
}
</templatedata>
▲==See also==
▲{{edit templates}}
▲<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
▲<!-- Categories go here and interwikis go in Wikidata. -->
▲[[Category:Inline cleanup templates]]
▲[[Category:Internal link maintenance templates]]
▲[[Category:Internal link templates]]
▲}}</includeonly>
|
Revision as of 18:30, May 8, 2015
This is a documentation subpage for Template:Edit. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
Usage
{{Edit|Page title|Link label}}
where:
- Page title is the title of the page to edit
- Link label is the text the link shows (instead of "Edit")
See also
[
] 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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 | The page to edit
| Page name | required |
Label | 2 | The link label
| String | optional |
Section | section | The section to edit; 0 for the top section.
| String | optional |
editintro | editintro | no description | Unknown | optional |
preload | preload | no description | Unknown | optional |
preloadtitle | preloadtitle | no description | Unknown | optional |