Template:Old version: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Tim Chambers
(trying to isolate offending text)
imported>Tim Chambers
(cloned directly from http://en.wikipedia.org/w/index.php?title=Template:Permalink&oldid=211267221 and adapted use of our own plain link template)
Line 1: Line 1:
<span class="plainlinks">[{{fullurl:{{{1}}}|oldid={{{2}}}}} {{{3}}}]</span>
{{plainlink|[{{fullurl:{{{1}}}|oldid={{{2}}}}} {{{3|{{{1}}}}}}]}}
<noinclude>
<noinclude>
{{newtemplate
{{newtemplate
|description=Use this as shorthand for citing an old version; also makes it display as internal link.
|description=Use this as shorthand for citing an old version; also makes it display as internal link.
|execution=TBD
|execution=use
<pre>
{{old version|article name|id of old article|wiki text}}
</pre>
|sample=
|sample=
The {{old version|Hewlett-Packard|100479221|first version}} of the [[Hewlett-Packard]] article was created 2009-04-24.
The {{old version|Hewlett-Packard|100479221|first version}} of the [[Hewlett-Packard]] article was created 2009-04-24.

Revision as of 12:29, 25 April 2009

[[{{fullurl:{{{1}}}|oldid={{{2}}}}} {{{1}}}]]



Template Description

Use this as shorthand for citing an old version; also makes it display as internal link.

Execution

use

{{old version|article name|id of old article|wiki text}}

Sample

The [first version]

of the Hewlett-Packard article was created 2009-04-24.

Sorry, seems to be a bug in documentation that's causing this sample to break the line and show the text on the rest of the line in <pre>. But be assured the template has been tested and works fine.

Caveats

None.

Authors

Tim Chambers