Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PD-old-auto-1996: Difference between revisions

Template page
Add PD-old-50-1996 (a lot of countries still have 50 pma only, like Argentina, Bolivia, Brunei, Canada, China, Egypt, Hong Kong, Indonesia, Japan, Lebanon, Malaysia, Moldova, New Zealand, Pakistan, Philippines, South Africa, South Korea, Thailand, ...)
change switch min to 49 (to allow PD-1996 and PD-old-50-1996 to display); make error msg more accurate
Line 1: Line 1:
{{#if:{{{deathyear|{{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}} }}}
{{#if:{{{deathyear|{{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}} }}}
|
|
   {{#switch:{{Years since| {{{deathyear|{{{year|{{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}} }}} }}}+1 |min=59 |max=100|mod=10 | error=0 }}  
   {{#switch:{{Years since| {{{deathyear|{{{year|{{{1|<noinclude>{{CURRENTYEAR}}</noinclude>}}} }}} }}}+1 |min=49 |max=100|mod=10 | error=0 }}  
     |0  = {{error|{{{deathyear|{{{1|}}}}}} is not a valid year.}} {{#ifeq:{{NAMESPACE}}|File|[[Category:PD old auto: no date]]}}<!-- {{{1|}}} is not a number -->
     |0  = {{error|{{{deathyear|{{{1|}}}}}} is not a valid year.}} {{#ifeq:{{NAMESPACE}}|File|[[Category:PD old auto: no date]]}}<!-- {{{1|}}} is not a number -->
     |49 = {{PD-1996}}
     |49 = {{PD-1996}}
Line 12: Line 12:
     |100 = {{PD-old-100-1996|{{{country}}}|{{{date|}}}|{{{reason|}}}|{{{deathyear|{{{1|}}}}}} }}
     |100 = {{PD-old-100-1996|{{{country}}}|{{{date|}}}|{{{reason|}}}|{{{deathyear|{{{1|}}}}}} }}
   }}
   }}
|{{error|No publication year specified.}}{{Iffile|[[Category:PD-old-auto: no date]]}}
|{{error|Author death year not specified.}}{{Iffile|[[Category:PD-old-auto: no date]]}}
}}
}}
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.