Template:Edit templates: Difference between revisions
Appearance
imported>Deadfire m Updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 2: | Line 2: | ||
* {{tl|Ed}} — plain-style edit link surrounded by <nowiki><small></nowiki> tags, specifically for templates only | * {{tl|Ed}} — plain-style edit link surrounded by <nowiki><small></nowiki> tags, specifically for templates only | ||
* {{tl|Ed right}} — plain-style edit link surrounded by <nowiki><small></nowiki> tags and <u>aligned to right of page</u>, specifically for templates only | * {{tl|Ed right}} — plain-style edit link surrounded by <nowiki><small></nowiki> tags and <u>aligned to right of page</u>, specifically for templates only | ||
* {{tl|Edit}} — plain-style edit link, applicable to all | * {{tl|Edit}} — plain-style edit link, applicable to all BattleIntelligence namespaces | ||
* {{tl|Edit section}} — edit link surrounded by <nowiki><div></nowiki> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces | * {{tl|Edit section}} — edit link surrounded by <nowiki><div></nowiki> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces | ||
Latest revision as of 00:12, 1 May 2025
[] 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 BattleIntelligence 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
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
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
It shows a list of templates used to generate a link to edit a template or page or section.
Usage
{{ed}}
{{ed|SomeTemplate}}gives edit{{ed|edit templates|edit this link}}gives edit this link
{{ed right}}
{{ed right|SomeTemplate}}gives{{ed right|SomeTemplate|this link}}gives
{{Edit}}
{{edit}}gives{{edit|1=Rape|2=edit here|section=1}}gives- Parameters explained:
{{edit|1=Page to edit— Leave blank to edit current page.|2=Text to display— Default: "edit"|section=Section to edit— specific section to edit (e.g.0to edit the lead section only). Default: none (i.e. edit whole page)}}
{{edit section}}
{{edit section}}gives
{{Navbar}}
{{navbar|{{PAGENAME}}}}gives{{navbar|{{PAGENAME}}|mini=1}}gives{{navbar|{{PAGENAME}}|plain=1}}gives{{navbar|{{PAGENAME}}|fontstyle=color:green}}gives