Template:Old version: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Tim Chambers
(copying how Template:Bowlingscoresheet does it)
imported>Tim Chambers
(This template works without documentation but breaks when I add it. Help?)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="plainlinks">[{{fullurl:{{{1}}}|oldid={{{2}}}}} {{{3}}}]</span>
{{plainlink|{{fullurl:{{{1}}}|oldid={{{2}}}}} {{{3|{{{1}}}}}}}}
<noinclude>
{{newtemplate
|description=Use this as shorthand for citing an old version; also makes it display as internal link.
|execution=use
<pre>
{{old version|article name|id of old article|wiki text}}
</pre>
|sample=
The {{old version|Hewlett-Packard|100479221|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 <nowiki><pre></nowiki>. But be assured the template has been tested and works fine.''
|caveats= None.
|authors= [[User:Tim Chambers|Tim Chambers]]
}}
</noinclude>

Latest revision as of 12:31, 25 April 2009

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