Difference between revisions of "Template:Infobox military operation/testcases"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(test image and map)
imported>Plastikspork
(Map)
 
Line 34: Line 34:
 
| alt          = alt text
 
| alt          = alt text
 
| caption      = image caption
 
| caption      = image caption
| map_type    = Soviet Union
+
| map_type    = USSR
 
| coordinates  = {{Coord|48|42|N|44|31|E|source:nowiki_region:RU_type:event|display=inline,title}}
 
| coordinates  = {{Coord|48|42|N|44|31|E|source:nowiki_region:RU_type:event|display=inline,title}}
 
| map_size    = 300
 
| map_size    = 300

Latest revision as of 14:52, 31 December 2018

Test1 (from the documentation page)
{{Infobox military operation|casualties=|executed=Began June&nbsp;28,&nbsp;1942<span style="display:none">&#160;(<span class="bday dtstart published updated">1942-06-28</span>)</span>|executed_by=[[Army Group South]]|name=Case Blue<br />''Fall Blau''|objective=Capture the oil fields of the [[Caucasus]]|outcome=|planned=|planned_by=Wehrmacht|scope=Strategic offensive}}

{{Infobox military operation}}

Script error: No such module "If empty".
Operational scopeScript error: No such module "If empty".
Planned byWehrmacht
ObjectiveScript error: No such module "If empty".
DateScript error: No such module "If empty".
Executed byScript error: No such module "If empty".
CasualtiesScript error: No such module "If empty".

{{Infobox military operation/sandbox}}

Script error: No such module "If empty".
Operational scopeScript error: No such module "If empty".
Planned byWehrmacht
ObjectiveScript error: No such module "If empty".
DateScript error: No such module "If empty".
Executed byScript error: No such module "If empty".
CasualtiesScript error: No such module "If empty".
Test2 add an image and supporting parameters
{{Infobox military operation|alt=alt text|caption=image caption|casualties=|executed=Began June&nbsp;28,&nbsp;1942<span style="display:none">&#160;(<span class="bday dtstart published updated">1942-06-28</span>)</span>|executed_by=[[Army Group South]]|image=Bundesarchiv Bild 101I-218-0503-19, Russland-Süd, zerstörter russischer Panzer.jpg|image_size=300 px|name=Case Blue<br />''Fall Blau''|objective=Capture the oil fields of the [[Caucasus]]|outcome=|planned=|planned_by=Wehrmacht|scope=Strategic offensive}}

{{Infobox military operation}}

Script error: No such module "If empty".
alt text
image caption
Operational scopeScript error: No such module "If empty".
Planned byWehrmacht
ObjectiveScript error: No such module "If empty".
DateScript error: No such module "If empty".
Executed byScript error: No such module "If empty".
CasualtiesScript error: No such module "If empty".

{{Infobox military operation/sandbox}}

Script error: No such module "If empty".
alt text
image caption
Operational scopeScript error: No such module "If empty".
Planned byWehrmacht
ObjectiveScript error: No such module "If empty".
DateScript error: No such module "If empty".
Executed byScript error: No such module "If empty".
CasualtiesScript error: No such module "If empty".
Test2 add a map and supporting parameters
{{Infobox military operation|alt=alt text|caption=image caption|casualties=|coordinates=<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-26">Lua error: callParserFunction: function &quot;#coordinates&quot; was not found.</span></strong>|executed=Began June&nbsp;28,&nbsp;1942<span style="display:none">&#160;(<span class="bday dtstart published updated">1942-06-28</span>)</span>|executed_by=[[Army Group South]]|image=Bundesarchiv Bild 101I-218-0503-19, Russland-Süd, zerstörter russischer Panzer.jpg|image_size=300 px|map_caption=Location of Stalingrad (now [[Volgograd]]) within the USSR|map_label=Stalingrad|map_size=300|map_type=USSR|name=Case Blue<br />''Fall Blau''|objective=Capture the oil fields of the [[Caucasus]]|outcome=|planned=|planned_by=Wehrmacht|scope=Strategic offensive}}

{{Infobox military operation}}

Script error: No such module "If empty".
alt text
image caption
Operational scopeScript error: No such module "If empty".
LocationLua error: callParserFunction: function "#coordinates" was not found.
Planned byWehrmacht
ObjectiveScript error: No such module "If empty".
DateScript error: No such module "If empty".
Executed byScript error: No such module "If empty".
CasualtiesScript error: No such module "If empty".
Lua error in Module:Location_map at line 399: Malformed coordinates value.

{{Infobox military operation/sandbox}}

Script error: No such module "If empty".
alt text
image caption
Operational scopeScript error: No such module "If empty".
LocationLua error: callParserFunction: function "#coordinates" was not found.
Planned byWehrmacht
ObjectiveScript error: No such module "If empty".
DateScript error: No such module "If empty".
Executed byScript error: No such module "If empty".
CasualtiesScript error: No such module "If empty".
Lua error in Module:Location_map at line 399: Malformed coordinates value.