Template:Location mark+/testcases

From blackwiki
< Template:Location mark+
Revision as of 14:13, 16 November 2014 by imported>WOSlinker (tidy style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These are initial test cases. Output is compared to known standards.

Test overlay support

current version sandbox version
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Some caption
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|Middle|alt=Script error: No such module "If empty".]]
<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; top: -0.15em; left: -3em; text-align: center;">Middle
Some caption
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Some caption
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|Middle|alt=Script error: No such module "If empty".]]
<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; top: -0.15em; left: -3em; text-align: center;">Middle
Some caption

Compare location marks to {{location map+}}

Location mark+ Location map+ Location mark+ sandbox
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".<div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|Four Corners|alt=Script error: No such module "If empty".|link=Script error: No such module "If empty".]]
<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; top: -0.15em; left: -3em; text-align: center;">Four Corners
 <div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|San Francisco|alt=Script error: No such module "If empty".]]<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; Expression error: Unexpected < operator.">San Francisco
 <div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|New York|alt=Script error: No such module "If empty".]]<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; Expression error: Unexpected < operator.">New York
Some locations in the U.S.
Location mark+/testcases is located in the United States
Four Corners
Four Corners
alt text for New York City
New York
alt text for San Francisco
San Francisco
Some locations in the U.S.
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|Four Corners|alt=Script error: No such module "If empty".|link=Script error: No such module "If empty".]]
<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; top: -0.15em; left: -3em; text-align: center;">Four Corners
 <div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|San Francisco|alt=Script error: No such module "If empty".]]<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; Expression error: Unexpected < operator.">San Francisco
 <div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|New York|alt=Script error: No such module "If empty".]]<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; Expression error: Unexpected < operator.">New York
Some locations in the U.S.

Test frame and border

Unframed

File syntax
with border
File syntax
without border
Scotland
Scotland
Location mark
with border
Location mark
without border
 <div  style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
 <div  style="width:Script error: No such module "If empty".px;">
Script error: No such module "If empty".

Thumbs

File thumb
with caption
File thumb
without caption
alt
Scotland
alt
Location mark thumb
with caption
Location mark thumb
without caption
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".<div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|Cape Wrath|alt=Script error: No such module "If empty".]]
<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; top: -2.65em; left: -3em; text-align: center;">Cape Wrath
Scotland
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".<div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0;
 top:  Expression error: Unexpected < operator.px;
 left: Expression error: Unexpected < operator.px; ">
 <div style="position: relative; z-index: 3; line-height: 0; text-align: center;
 width: Script error: No such module "If empty".px;
 left: -Expression error: Unexpected < operator.px;
top: -Expression error: Unexpected < operator.px;">[[File:Script error: No such module "If empty".|Script error: No such module "If empty".px|Cape Wrath|alt=Script error: No such module "If empty".]]
<div style="position: relative; z-index: 4; font-size: Script error: No such module "If empty".%; line-height: 111%; width: 6em; top: -2.65em; left: -3em; text-align: center;">Cape Wrath

Test float

default (right)
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Scotland
left
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Scotland
right
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Scotland
center
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Scotland
none
 <div class="thumbinner" style="width:Expression error: Unexpected < operator.px;">
Script error: No such module "If empty".
Scotland