Шаблон:Update after

Материал из Машинное обучение - Кафедра прикладной кибернетики
Перейти к навигации Перейти к поиску

{{SAFESUBST:#invoke:Unsubst||$B={{#ifexpr: {{safesubst:#if: 2026 |{{safesubst:#expr:(((( 2026 )*12+( 11 )+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0)-(((( 2026 )*12+( 11 )+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0)+(((( 2026 )*12+( 11 )+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0)+(((( 11 )+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+( 30 )+(12)/24+(0)/1440+(0)/86400-32167.5}}|Parameter 1=year required!}} >

  {{safesubst:#if: 2026-1 |{{safesubst:#expr:(((( 2026-1 )*12+( 11 )+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0)-(((( 2026-1 )*12+( 11 )+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0)+(((( 2026-1 )*12+( 11 )+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0)+(((( 11 )+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+( 30 + 0 )+(12)/24+(0)/1440+(0)/86400-32167.5}}|Parameter 1=year required!}} 

|{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#if:|}}{{#switch:¬

|¬={{#invoke:Category handler|main}}
|SUBST=

}}{{#invoke:Category handler|main}}{{#if:

|
|[{{#if:
 |{{{pre-text}}} 
}}<span title="{{safesubst:#invoke:String|replace|source=The text near this tag is dated.|"|"|plain=true|count=}}{{#if:{{#if:|{{#if:|{{#if:{{{2}}}|{{#switch:{{#if:{{{2}}}
 |{{#switch:{{{2}}}
  |january|jan=1
  |february|feb=2
  |march|mar=3
  |apr|april=4
  |may=5
  |june|jun=6
  |july|jul=7
  |august|aug=8
  |september|sep|sept=9
  |october|oct=10
  |november|nov=11
  |december|dec=12
  |{{#ifexpr:{{{2}}}<0
   |{{#ifexpr:(({{{2}}})round 0)!=({{{2}}})
    |{{#expr:12-(((0.5-({{{2}}}))round 0)mod 12)}}
    |{{#expr:12-(((11.5-({{{2}}}))round 0)mod 12)}}
   }}
  |{{#expr:(((10.5+{{{2}}})round 0)mod 12)+1}}
  }}
 }}
 |Missing required parameter 1=month!
}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|January}} {{{1}}}}}| ({{#if:|{{#if:|{{#if:{{{2}}}|{{#switch:{{#if:{{{2}}}
 |{{#switch:{{{2}}}
  |january|jan=1
  |february|feb=2
  |march|mar=3
  |apr|april=4
  |may=5
  |june|jun=6
  |july|jul=7
  |august|aug=8
  |september|sep|sept=9
  |october|oct=10
  |november|nov=11
  |december|dec=12
  |{{#ifexpr:{{{2}}}<0
   |{{#ifexpr:(({{{2}}})round 0)!=({{{2}}})
    |{{#expr:12-(((0.5-({{{2}}}))round 0)mod 12)}}
    |{{#expr:12-(((11.5-({{{2}}}))round 0)mod 12)}}
   }}
  |{{#expr:(((10.5+{{{2}}})round 0)mod 12)+1}}
  }}
 }}
 |Missing required parameter 1=month!
}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|January}} {{{1}}}}})}}">needs update{{#if:|?}}{{#if:
 | {{{post-text}}}
}}]

}}{{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Шаблон:Update after}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Шаблон:Update after}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Шаблон|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:{{#if:|{{#if:|{{#if:{{{2}}}|{{#switch:{{#if:{{{2}}}
|{{#switch:{{{2}}}
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{#ifexpr:{{{2}}}<0
  |{{#ifexpr:(({{{2}}})round 0)!=({{{2}}})
   |{{#expr:12-(((0.5-({{{2}}}))round 0)mod 12)}}
   |{{#expr:12-(((11.5-({{{2}}}))round 0)mod 12)}}
  }}
 |{{#expr:(((10.5+{{{2}}})round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|January}} {{{1}}}}}

 |[[Category:Wikipedia articles in need of updating from {{#if:|{{#if:|{{#if:{{{2}}}|{{#switch:{{#if:{{{2}}}
|{{#switch:{{{2}}}
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{#ifexpr:{{{2}}}<0
  |{{#ifexpr:(({{{2}}})round 0)!=({{{2}}})
   |{{#expr:12-(((0.5-({{{2}}}))round 0)mod 12)}}
   |{{#expr:12-(((11.5-({{{2}}}))round 0)mod 12)}}
  }}
 |{{#expr:(((10.5+{{{2}}})round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|January}} {{{1}}}}}]]{{#ifexist:Category:Wikipedia articles in need of updating from {{#if:|{{#if:|{{#if:{{{2}}}|{{#switch:{{#if:{{{2}}}

|{{#switch:{{{2}}}
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{#ifexpr:{{{2}}}<0
  |{{#ifexpr:(({{{2}}})round 0)!=({{{2}}})
   |{{#expr:12-(((0.5-({{{2}}}))round 0)mod 12)}}
   |{{#expr:12-(((11.5-({{{2}}}))round 0)mod 12)}}
  }}
 |{{#expr:(((10.5+{{{2}}})round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|January}} {{{1}}}}}

   ||}}
 |[[Category:{{#if:
              ||Wikipedia articles in need of updating}}]]}}{{#if:All Wikipedia articles in need of updating
     |}}}}}}

}}{{#if:|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|
   | main
   | other
   }} 
 }}

| main = [[Category:{{{4}}}]] | other | #default = }}}}|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}

 }}}}{{#invoke:Check for unknown parameters|check|unknown={{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|preview=Page using Template:Update after with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | delay | reason | text }} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}