Template:Old version: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Tim Chambers
(can't figure out why sample is rendering the way it is, so adding a ''mea culpa'')
imported>Tim Chambers
(This template works without documentation but breaks when I add it. Help?)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="plainlinks">[{{fullurl:article={{{1}}}|oldid={{{2}}}}} wikitext={{{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=<nowiki>{{old version|article name|id of old article|wiki text}}</nowiki>
|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 13:31, 25 April 2009

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