Template:Old version: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Tim Chambers
(this is one I created for a MediaWiki on an intranet; I find it quite useful)
 
imported>Tim Chambers
(fix documentation)
Line 3: Line 3:
{{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=<pre>{{old version|article name|id of old article|wiki text}}</pre>
|execution=<pre>
|sample=The {{Hewlett-Packard|100479238|first version}} of the [[Hewlett-Packard]] article was created 2009-04-24.
{{old version|article name|id of old article|wiki text}}
</pre>
|sample=The {{old version|Hewlett-Packard|100479238|first version}} of the [[Hewlett-Packard]] article was created 2009-04-24.
|caveats=None.
|caveats=None.
|authors=[[User:Tim Chambers|Tim Chambers]]
|authors=[[User:Tim Chambers|Tim Chambers]]
}}
}}
</noinclude>
</noinclude>

Revision as of 11:59, 25 April 2009

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



Template Description

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

Execution

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

Sample

The first version

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

Caveats

None.

Authors

Tim Chambers