🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Module_talk:Infobox_mapframe/testcases
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
Text 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_autoWithCaption_main

test_autoWithCaption_main
Text 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
Text 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}}

test_autocaption

test_autocaption
Text 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}}