Difference between revisions of "Template:Oldid"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with " <noinclude> Create a link to a given oldid (first parameter) to the current page. Optionally user can also add a link text (second parameter). E.g.: <pre> {{oldid|12345|link...")
 
(trying to fix template)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
 
<noinclude>
 
<noinclude>
 
Create a link to a given oldid (first parameter) to the current page. Optionally user can also add a link text (second parameter). E.g.:
 
Create a link to a given oldid (first parameter) to the current page. Optionally user can also add a link text (second parameter). E.g.:
Line 6: Line 5:
 
{{oldid|12345|link text}}
 
{{oldid|12345|link text}}
 
</pre>
 
</pre>
</noinclude>
+
</noinclude><includeonly>
 
 
<includeonly>
 
 
<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1}}}}} {{{2}}}]</span>
 
<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|oldid={{{1}}}}} {{{2}}}]</span>
 
</includeonly>
 
</includeonly>

Latest revision as of 13:31, 14 December 2017

Create a link to a given oldid (first parameter) to the current page. Optionally user can also add a link text (second parameter). E.g.:

{{oldid|12345|link text}}