Predloga:Edit templates

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
[] 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
  • {{Edit sup}} —– plain-style edit link surrounded by <sup> tags, applicable to all Wikipedia namespaces
  • {{Edit sub}} —– plain-style edit link surrounded by <sub> tags, 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
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

It shows a list of templates used to generate a link to edit a template or page or section.

Usage[uredi kodo]

{{ed}}

{{ed|SomeTemplate}} gives
{{ed|edit templates|edit this link}} gives

{{ed right}}

{{ed right|SomeTemplate}} gives
{{ed right|SomeTemplate|this link}} gives

{{Edit}}

{{edit}} gives uredi
{{edit|1=Rape|2=edit here|section=1}} gives edit here
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. 0 to edit the lead section only). Default: none (i.e. edit whole page)
}}

{{edit section}}

{{edit section}} gives Predloga:Edit section


{{Navbar}}

{{navbar|{{PAGENAME}}}} gives To polje: prikaži · pogovor · uredi · zgodovina
{{navbar|{{PAGENAME}}|mini=1}} gives p · p · u · z
{{navbar|{{PAGENAME}}|plain=1}} gives prikaži · pogovor · uredi · zgodovina
{{navbar|{{PAGENAME}}|fontstyle=color:green}} gives To polje: prikaži · pogovor · uredi · zgodovina