Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:Infobox mapframe/testcases

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

All 17 tests passed.

test_auto

test_auto
TestExpectedActual
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
TestExpectedActual
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
TestExpectedActual
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
TestExpectedActual
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}}