Template:Addnewsection: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
m wording
Elf (talk | contribs)
shorten phrasing
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin: 0.2em; border-top: 2px dashed {{{dottedlines}}}; border-bottom: 2px dashed {{{dottedlines}}}; padding: 3px; text-align: center"> '''After reading the preceding, you may<br /><span class="plainlinksneverexpand">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new}} {{{actiontext}}} by clicking here]</span>.'''</div>
<noinclude>''Usage:''
<noinclude><h1><font color="red">This will appear corrupt only if it's not being transcluded properly. [http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/header/addnew Per note on wikipedia]</font></h1></noinclude>
 
<font color="red">This will appear corrupt where used only if it's not being transcluded properly. [http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/header/addnew Per note on wikipedia]</font>
 
This displays specified text and provides a link that opens an editor window to create a new section in the same article with a header and content. To include this template in an article--such as a FAQ page or help desk or talk page or anywhere else where random people might be adding just a section at a time--insert the following:
 
<nowiki>{{addnewsection|actiontext= what happens when they click the link}}</nowiki>
 
where ''actiontext'' is something like "add a new section" or "add a question". This includes the following on the page:
 
</noinclude><div style="margin: 0.2em; border-top: 2px dashed {{{dottedlines}}}; border-bottom: 2px dashed {{{dottedlines}}}; padding: 3px; text-align: center"> '''Now you may<br /><span class="plainlinksneverexpand">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new}} {{{actiontext}}} by clicking here]</span>.'''</div>
<noinclude> [[Category:Q and A templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 00:03, 22 November 2008

Usage:

This will appear corrupt where used only if it's not being transcluded properly. Per note on wikipedia

This displays specified text and provides a link that opens an editor window to create a new section in the same article with a header and content. To include this template in an article--such as a FAQ page or help desk or talk page or anywhere else where random people might be adding just a section at a time--insert the following:

{{addnewsection|actiontext= what happens when they click the link}}

where actiontext is something like "add a new section" or "add a question". This includes the following on the page:

Now you may
{{{actiontext}}} by clicking here.