Test:Infobox person

Script error: The function "infoboxTemplate" does not exist.{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:||

 {{#if: 
 | {{#if:{{#property:P18}}
   | {{#ifeq:|
     | 
     | 
     }}
   | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
     | 
     | 
     }}
   }}
 | {{#if:{{#property:P18}}
   | {{#if: 
     | 
     |  
    }}
   | 
   }}
 }}

}}}}


John Smith
[[File:|300px]]
Born(1900-{{safesubst:#if:01
|{{safesubst:#switch:01
 |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
 |{{safesubst:#ifexpr:01<0
  |{{safesubst:#ifexpr:((01)round 0)!=(01)
   |{{safesubst:#expr:12-(((0.5-(01))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(01))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+01)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}-01){{#if:

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

|  invalid year{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:|
   | main
   | other
   }} 
 }}

| main = | other | #default = }} }}{{#if:01|{{#ifexpr: ( 01 > 12 ) OR ( 01 < 1 )

|  invalid month{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#if:01|{{#ifexpr: ( 01 > 31 ) OR ( 01 < 1 )

|  invalid day{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|}} }}{{#ifeq: 0 | 0 | {{#if: Lua error in Module:Wd at line 632: attempt to index field 'wikibase' (a nil value).

 | {{#if: 
   | {{#if: Lua error in Module:Wd at line 632: attempt to index field 'wikibase' (a nil value).
     |
     | 
     }}
   }}
 | 
 }}
}}, Example City, Example Country
DiedDecember 31, 1980(1980-12-31) (aged 80), Another City, Another Country
Resting placeUnknown
Service/branchUnited States Army
Years of serviceUnknown
RankGeneral
UnitsUnknown
DeploymentsUnknown
Military Occupational Specialties (MOSs)Unknown
CommandsSupreme Headquarters
Battles/warsWorld War II
Battle of Normandy
AwardsMedal of Honor
Purple Heart
Spouse(s)Jane Doe
ChildrenUnknown
Other workUnknown

{{#switch:

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

| template = {{#ifeq:Test:Infobox person|Infobox||}} | other | #default = }}