Template:Update after: Difference between revisions
From Vigyanwiki
Template>Ludwigs2 (rewriting template per WP:ILT#Problematic_ones; converted to 'fix' format, added defaults to merge in template 'old fact') |
m (150 revisions imported from alpha:Template:Update_after) |
||
(41 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
< | {{SAFESUBST:<noinclude />#invoke:Unsubst||$B=<!-- | ||
##### param 1 is the year | ##### param 1 is the year | ||
Line 5: | Line 5: | ||
##### param 3 is the day of the month | ##### param 3 is the day of the month | ||
##### optional param 4 is the category | ##### optional param 4 is the category | ||
##### optional named parameter | ##### optional named parameter reason= changes the tooltip text | ||
-->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }} > | -->{{#ifexpr: {{JULIANDAY| {{CURRENTYEAR}} | {{CURRENTMONTH}} | {{CURRENTDAY}} }} > | ||
{{JULIANDAY| {{{1|{{CURRENTYEAR}}}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY | {{JULIANDAY| {{{1|{{CURRENTYEAR}}-1}}} | {{{2|{{CURRENTMONTH}}}}} | {{{3|{{CURRENTDAY}}}}} + {{{delay|0}}} }} | ||
|{{# | |{{update inline span | ||
|{{ | |date={{#if:{{{1|}}}|{{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|January}} {{{1}}}}} | ||
|{ | |text = {{{text|}}} | ||
|reason={{{reason|The text near this tag is dated.}}} | |||
}}{{#if:{{{4|}}}|{{main other|[[Category:{{{4}}}]]}}}}|{{{text|}}}{{main other|[[Category:Wikipedia articles scheduled for update tagging]]}} | |||
}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using update after template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Update after]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | delay | reason | text }}<noinclude> | |||
{{Documentation}} | |||
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! --> | |||
}} | |||
{{ | |||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | |||
</noinclude> | </noinclude> |
Latest revision as of 13:35, 2 February 2023
Template documentation
[create]