Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Template:Last update"

From Prime-Wiki
Jump to: navigation, search
(new)
 
(format changed)
 
Line 6: Line 6:
  
 
==Calling unnamed parameters==
 
==Calling unnamed parameters==
*year
+
Date formatted as yyyy-mm-dd
*month
 
*date
 
  
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{Last update|2019|03|05}}
+
{{Last update|2019-03-05}}
 
</pre>
 
</pre>
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>
 
<includeonly><div style="width: auto; float: right; padding: 5px; border: solid 1px black; border-radius:5px;">
 
<includeonly><div style="width: auto; float: right; padding: 5px; border: solid 1px black; border-radius:5px;">
 
{|
 
{|
| colspan="2" style="background:SkyBlue; font-size:80%; padding:3px 5px"| '''Last update:''' {{{1}}}-{{{2}}}-{{{3}}}
+
| colspan="2" style="background:SkyBlue; font-size:80%; padding:3px 5px"| '''[[:Category:Last updated|Last update:]]''' {{{1}}}
 
|-
 
|-
|}</div>[[Category:Last updated|{{{1}}}-{{{2}}}-{{{3}}}]]
+
|}</div>[[Category:Last updated]]
 
</includeonly>
 
</includeonly>

Latest revision as of 11:34, 5 March 2019

Template: Last update

Purpose

Articles with a given status of information have to be updated by time. This template puts an infobox on that article and categorize it.

Calling unnamed parameters

Date formatted as yyyy-mm-dd

Example

{{Last update|2019-03-05}}