Template:EditSection

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<span class="plainlinks" style="float:right;margin-left:10px;"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=2}} edit]<nowiki>]</nowiki></span>
+
<span class="plainlinks" style="float:right;margin-left:10px;"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=2}} edit]<nowiki>]</nowiki></span><noinclude>
 +
 
 +
 
 +
'''Description'''
 +
 
 +
To edit a particular section of the page when <nowiki>__NOEDITSECTION__</nowiki> is evoked, one usually has to edit the whole page. This template creates an edit link for '''section 2'''.
 +
 
 +
The section 2 link is:<br/>
 +
<span class="plainlinks">[{{SERVER}}{{localurl:{{PAGENAME}}|action=edit&section=2}} {{SERVER}}{{localurl:{{PAGENAME}}|action=edit&section=2}}]</span>
 +
 
 +
'''Usage'''
 +
 
 +
Add <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></tt> to your page where the edit link should appear (on the right hand side, as usual), above the section header.
 +
 
 +
</noinclude>

Revision as of 01:19, 5 April 2007

[edit]


Description

To edit a particular section of the page when __NOEDITSECTION__ is evoked, one usually has to edit the whole page. This template creates an edit link for section 2.

The section 2 link is:
https://classic.wikipathways.org/index.php?title=EditSection&action=edit&section=2

Usage

Add {{EditSection}} to your page where the edit link should appear (on the right hand side, as usual), above the section header.


Personal tools