Difference between revisions of "Template:Archivenewlink"
Jump to navigation
Jump to search
m |
(this should remove the redlinks) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:path|{{{1|Archive}}}}}[ | + | <includeonly>{{#vardefine:path|{{{1|Archive}}}}}<span class="plainlinks">[http://rationalwiki.com/wiki/index.php?title={{urlencode:{{NAMESPACE}}:{{BASEPAGENAME}}/{{#var:path}}{{#expr: |
{{#dpl: | {{#dpl: | ||
|namespace={{NAMESPACEE}} | |namespace={{NAMESPACEE}} | ||
Line 7: | Line 7: | ||
|resultsheader=%PAGES% | |resultsheader=%PAGES% | ||
|noresultsheader=0 | |noresultsheader=0 | ||
− | }}+1}} | + | }}+1}}}}&action=edit <span style="color: gray;{{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}||display:none;}}">(new)</span>]</span>{{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}||[[{{NAMESPACE}}:{{BASEPAGENAME}}|<span style="color: gray;">(back)</span>]]}}</includeonly><noinclude>This template is used by templates like [[Template:Talkpage]] or [[Template:Archivelinks dpl]] to generate the "(new)" link for the next archive. |
You ''can'' use it as a stand-alone version, though. It has only one parameter to define the archive path (for example, the archive path of "Talk_1, Talk_2, Talk_3" would be "Talk_" - the default is "Archive").</noinclude> | You ''can'' use it as a stand-alone version, though. It has only one parameter to define the archive path (for example, the archive path of "Talk_1, Talk_2, Talk_3" would be "Talk_" - the default is "Archive").</noinclude> |
Revision as of 08:36, 12 March 2009
This template is used by templates like Template:Talkpage or Template:Archivelinks dpl to generate the "(new)" link for the next archive.
You can use it as a stand-alone version, though. It has only one parameter to define the archive path (for example, the archive path of "Talk_1, Talk_2, Talk_3" would be "Talk_" - the default is "Archive").