Log in Discussion History Go to the site toolbox

Difference between revisions of "Template talk:Editsection"

From BluWiki

(illustrate a float-right link)
(added __NOEDITSECTION__ to further illustrate the template)
Line 1: Line 1:
== Purpose ==
== Purpose ==

Revision as of 17:02, 21 November 2005



Allows readers to edit a particular section of the page they're looking at. If you are writing or editing a page that you want your readers to edit, but you would prefer that they not edit certain sections, you can include __NOEDITSECTION__ at the top of the page to turn off all section edit links, and then you can allow particular sections to be edited using this template.




The number of the section to be edited. Every header that begins with two equals-signs (==) counts as one section. Section zero is the text before the first header, if any.


The text you want your reader to see. This text will be rendered as a link. When the link is clicked, the reader will be able to edit the specified section.

float right

In keeping with wiki tradition, you might want to enclose the Editsection link in a division that floats to the right. See the example, below.


[edit this example]

<div style="float:right">{{editsection|3|[edit this example]}}</div>
results in the link you see to the right of this section.


Created —GraemeMcRaetalk 11:51, 21 Nov 2005 (EST)


Site Toolbox:

Personal tools
GNU Free Documentation License 1.2

Disclaimers - About BluWiki