Difference between revisions of "Template:Main page image/testcases"
Jump to navigation
Jump to search
test>AnomieBOT m (Substing templates: {{Multicol break}}. See User:AnomieBOT/docs/TemplateSubster for info.) |
test>AnomieBOT m (Substing templates: {{Multicol end}}. See User:AnomieBOT/docs/TemplateSubster for info.) |
||
| Line 15: | Line 15: | ||
{{Col-break}} | {{Col-break}} | ||
{{main page image/sandbox|Example-serious.jpg|No width parameter, no parameter names}} | {{main page image/sandbox|Example-serious.jpg|No width parameter, no parameter names}} | ||
| − | {{ | + | {{col-end}} |
===Portrait orientation=== | ===Portrait orientation=== | ||
{{Col-begin}} | {{Col-begin}} | ||
| Line 28: | Line 28: | ||
{{Col-break}} | {{Col-break}} | ||
{{main page image/sandbox|image=Stanley Cup no background.png|caption=Aspect ratio 1:2.54 (width not set)}} | {{main page image/sandbox|image=Stanley Cup no background.png|caption=Aspect ratio 1:2.54 (width not set)}} | ||
| − | {{ | + | {{col-end}} |
==Caption tests== | ==Caption tests== | ||
| Line 44: | Line 44: | ||
{{Col-break}} | {{Col-break}} | ||
{{main page image/sandbox|image=Example-serious.jpg|caption align=center|caption=Center-aligned}} | {{main page image/sandbox|image=Example-serious.jpg|caption align=center|caption=Center-aligned}} | ||
| − | {{ | + | {{col-end}} |
==Alt text tests== | ==Alt text tests== | ||
| Line 63: | Line 63: | ||
{{main page image/sandbox|image=Example-serious.jpg}} | {{main page image/sandbox|image=Example-serious.jpg}} | ||
No alt parameter, no caption parameter (alt text should be filename) | No alt parameter, no caption parameter (alt text should be filename) | ||
| − | {{ | + | {{col-end}} |
==Link tests== | ==Link tests== | ||
| Line 79: | Line 79: | ||
{{Col-break}} | {{Col-break}} | ||
{{main page image/sandbox|image=Example-serious.jpg|caption=No link parameter (should link to Example-serious.jpg)}} | {{main page image/sandbox|image=Example-serious.jpg|caption=No link parameter (should link to Example-serious.jpg)}} | ||
| − | {{ | + | {{col-end}} |
==Border tests== | ==Border tests== | ||
| Line 91: | Line 91: | ||
{{Col-break}} | {{Col-break}} | ||
{{main page image/sandbox|image=Flag of Japan.svg|caption=No border parameter}} | {{main page image/sandbox|image=Flag of Japan.svg|caption=No border parameter}} | ||
| − | {{ | + | {{col-end}} |
==ID float test== | ==ID float test== | ||
Revision as of 12:28, 10 January 2017
These are test cases for {{main page image/sandbox}}. When editing that template, you can use this page to preview your changes.
Contents
Width and file prefix tests
|
|
|
|
|
|
|
Portrait orientation
|
|
|
|
|
|
Caption tests
![]() link to Main Page (wikitext)
|
Empty caption parameter |
No caption parameter |
|
|
Alt text tests
|
|
|
|
Has alt parameter, but empty caption parameter |
Empty alt parameter, empty caption parameter (alt text should be filename) |
No alt parameter, no caption parameter (alt text should be filename) |
Link tests
|
|
|
|
|
|
|

