Sjabloon:Birth date

Uit Bastiaan's wiki
Naar navigatie springen Naar zoeken springen

({{{year}}}-{{#if:{{{month}}}

|{{#switch:{{{month}}}
 |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:{{{month}}}<0
  |{{#ifexpr:(({{{month}}})round 0)!=({{{month}}})
   |{{#expr:12-(((0.5-({{{month}}}))round 0)mod 12)}}
   |{{#expr:12-(((11.5-({{{month}}}))round 0)mod 12)}}
  }}
 |{{#expr:(((10.5+{{{month}}})round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}-{{{day}}}){{#if:

|{{#expr:{{{day}}}}} {{#if:{{{month}}}|{{#switch:{{#if:{{{month}}}
|{{#switch:{{{month}}}
 |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:{{{month}}}<0
  |{{#ifexpr:(({{{month}}})round 0)!=({{{month}}})
   |{{#expr:12-(((0.5-({{{month}}}))round 0)mod 12)}}
   |{{#expr:12-(((11.5-({{{month}}}))round 0)mod 12)}}
  }}
 |{{#expr:(((10.5+{{{month}}})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!}}

|{{#if:1|{{#switch:{{#if:1
|{{#switch:1
 |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:1<0
  |{{#ifexpr:((1)round 0)!=(1)
   |{{#expr:12-(((0.5-(1))round 0)mod 12)}}
   |{{#expr:12-(((11.5-(1))round 0)mod 12)}}
  }}
 |{{#expr:(((10.5+1)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!}} {{#expr:1}}, }} {{#expr:1900}} {{#ifeq: Birth date | sandbox

|

Sjabloon:Template sandbox notice

}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Sjabloon|Sjabloon
   | template
   | other
   }}
 }}

| template = {{#ifeq: | sysop

 | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |templateeditor=template
  |#default=template}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |template={{#if:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |templateeditor |template      = templateeditor
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |pc1                           = autoconfirmed 
       |undefined                     = Sjabloon:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |pc2                           = review 
       |undefined                     = Sjabloon:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes|

| Sjabloon:Mbox }}|}}{{#ifeq:{{#ifeq:sjabloon|sjabloon|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=}}}}{{#ifeq:sjabloon|bestand|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=protected}} images|birth date]]}}|no||{{#ifeq:Sjabloon|Sjabloon|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=}}}}{{#ifeq:Sjabloon|Bestand|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=Protected}} images|Birth date]]}}}}
 | {{#if: 
   | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |templateeditor=template
  |#default=template}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |template={{#if:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |templateeditor |template      = templateeditor
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |pc1                           = autoconfirmed 
       |undefined                     = Sjabloon:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |pc2                           = review 
       |undefined                     = Sjabloon:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:{{#ifeq:birth date/sjabloon|birth date/sjabloon|undefined|{{#ifeq:birth date|sandbox|sysop|undefined}}}}
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes|

| Sjabloon:Mbox }}|}}{{#ifeq:{{#ifeq:sjabloon|sjabloon|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=}}}}{{#ifeq:sjabloon|bestand|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=protected}} images|birth date]]}}|no||{{#ifeq:Sjabloon|Sjabloon|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=}}}}{{#ifeq:Sjabloon|Bestand|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=Protected}} images|Birth date]]}}}}
   | 
   }}
 }}

| other | #default =

}}

{{#ifeq: ¬ |

|

|
{{#switch: ¬
 | ¬ =   
   {{#switch: Sjabloon 
   | Sjabloon = 50px Template documentation
   | Sjabloon:Ns:Module = 50px Module documentation
   | Bestand = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
 }}{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: Template:Birth date and age/doc
   | Template:Birth date and age/doc   
   | {{#switch: Sjabloon
 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc

   }}
 | yes
 }}
   | [[[{{#if: Template:Birth date and age/doc
 | Template:Birth date and age/doc
 | {{#switch: Sjabloon
 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc

 }}|view]]] [[{{fullurl:{{#if: Template:Birth date and age/doc
 | Template:Birth date and age/doc
 | {{#switch: Sjabloon
 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc

 }}|action=edit}} edit]] [[{{fullurl:{{#if: Template:Birth date and age/doc
 | Template:Birth date and age/doc
 | {{#switch: Sjabloon
 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc

 }}|action=history}} history]] [purge] 
   | 
     [[{{fullurl:{{#if: Template:Birth date and age/doc
 | Template:Birth date and age/doc
 | {{#switch: Sjabloon
 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc

 }}| action=edit&preload={{
       #if:  
       | 
       | {{#ifeq: Sjabloon | Bestand
         | Template:Documentation/preload-filespace
         | Template:Documentation/preload
         }} }} }} create]]
   }}
}}

}} {{#switch: {{#if:|1|0}}{{#if:Template:Birth date and age/doc|1|0}}{{#ifexist:Template:Birth date and age/doc|1|0}}{{#ifexist:{{#switch: Sjabloon

 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = Sjabloon:Birth date and age/doc | 0001 | 0011 = {{ {{#switch: Sjabloon

 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: Template:Birth date and age/doc
   | Template:Birth date and age/doc   
   | {{#switch: Sjabloon
 | 
 | Bestand
 | MediaWiki
 | Categorie = Overleg sjabloon
 | #default = Sjabloon

}}:{{#switch: Birth date | sandbox | testcases = Birth date | #default = Birth date }}/doc

   }}
 | yes
 }}{{
   #switch: Sjabloon
   | Gebruiker
   | Sjabloon = yes
   }}
 }}

| {{#invoke:Message box|fmbox}} }}{{#if:

 {{#switch: Birth date
 | doc
 | testcases = strange
 }}

|

}}