Jump to content

Module talk:Infobox mapframe/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

All 17 tests passed.

test_auto

test_auto
Test Expected Actual
checkY {{#invoke:Infobox mapframe|auto|onByDefault=yes}}
checkY {{#invoke:Infobox mapframe|auto|onByDefault=yes|id=Q100}} Map Map
checkY {{#invoke:Infobox mapframe|auto|onByDefault=no|id=Q100}}

test_autocaption

test_autocaption
Test Expected Actual
checkY {{#invoke:Infobox mapframe|autocaption|onByDefault=yes|mapframe-caption=Boston}} Boston Boston
checkY {{#invoke:Infobox mapframe|autocaption|onByDefault=yes|id=Q100}}
checkY {{#invoke:Infobox mapframe|autocaption|onByDefault=yes|id=Q100|mapframe-caption=Boston}} Boston Boston
checkY {{#invoke:Infobox mapframe|autocaption|onByDefault=no|id=Q100|mapframe-caption=Boston}}

test_autoWithCaption_main

test_autoWithCaption_main
Test Expected Actual
checkY {{#invoke:Infobox mapframe|autoWithCaption|onByDefault=yes|mapframe-caption=Boston}}
checkY {{#invoke:Infobox mapframe|autoWithCaption|onByDefault=yes|id=Q100}} Map
Map
checkY {{#invoke:Infobox mapframe|autoWithCaption|onByDefault=yes|id=Q100|mapframe-caption=Boston}} Map
Boston
Map
Boston
checkY {{#invoke:Infobox mapframe|autoWithCaption|onByDefault=yes|id=Q100|mapframe-caption=Boston|mapframe-captionstyle=font-weight:bold;}} Map
Boston
Map
Boston
checkY {{#invoke:Infobox mapframe|autoWithCaption|onByDefault=no|id=Q100|mapframe-caption=Boston}}

test_autoWithCaption_sandbox

test_autoWithCaption_sandbox
Test Expected Actual
checkY {{#invoke:Infobox mapframe/sandbox|autoWithCaption|onByDefault=yes|mapframe-caption=Boston}}
checkY {{#invoke:Infobox mapframe/sandbox|autoWithCaption|onByDefault=yes|id=Q100}} Map
Map
checkY {{#invoke:Infobox mapframe/sandbox|autoWithCaption|onByDefault=yes|id=Q100|mapframe-caption=Boston}} Map
Boston
Map
Boston
checkY {{#invoke:Infobox mapframe/sandbox|autoWithCaption|onByDefault=yes|id=Q100|mapframe-caption=Boston|captionstyle=font-weight:bold;}} Map
Boston
Map
Boston
checkY {{#invoke:Infobox mapframe/sandbox|autoWithCaption|onByDefault=no|id=Q100|mapframe-caption=Boston}}


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).