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) move templatedata down. whoo, it looks ugly. |
|||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
||
⚫ | |||
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. |
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. |
||
⚫ | |||
:{{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") |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{TemplateDataHeader}} |
{{TemplateDataHeader}} |
||
Line 64: | Line 45: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Revision as of 22:24, December 14, 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. |
Usage
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
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 |
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