Template:Article stub box/testcases
| File:Gnome-applications-science.svg | This is the template test cases page for the sandbox of Template:Article stub box. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Hidden unicode char[edit source]
|category= contains hidden unicode chars, DEL and LRM (if you use Chrome, notice how the spellchecker underlines part of the word as misspelled instead of the whole word when in the editor). However, note that this is still a valid category (link for Category:Østfold geography stubs is blue, not red), so it should not be sorted under 'S' in Category:Stub message templates needing attention (though it should still be sorted under 'N' for having other non-existing cats) and that the invalid char will still be outputted to the article (and would break the pseudo-categories, but should not affect actual categories)
Template:Test case nowiki
Missing image[edit source]
If making a major revision to the template, you may remove pre tags from below to see compare how the current and sandbox versions handle missing images. Remember to pre tag again in order to avoid cluttering Category:Templates with missing files.
{{test case nowiki|title=Missing image file|code={{__TEMPLATENAME__
| demo = yes
| icon = [[Image:Ostfold vapen missing.png|30px|border]]
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}}}
Missing params[edit source]
Automatic Documention[edit source]
if |demo = doc
Template:Test case nowiki
Ombox messages and error sorting[edit source]
Demo article space categories only[edit source]
Same as above, but this time emulating article space (note lack of error/hidden categories and ombox; also demo cats link will not show in actual article space) Template:Test case nowiki
Note parameter[edit source]
Top-margin testing[edit source]
Preceded by paragraph[edit source]
Without line break[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Template:Asbox/sandbox
With one line break[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Template:Asbox/sandbox
With one empty line[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
With two empty lines[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
With three empty lines[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
With four empty lines[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
[edit source]
Without line break[edit source]
Template:Sections of BærumTemplate:Asbox/sandbox
With one line break[edit source]
Template:Sections of Bærum Template:Asbox/sandbox
With one empty line[edit source]
With two empty lines[edit source]
With three empty lines[edit source]
With four empty lines[edit source]
Preceded by list[edit source]
Without line break[edit source]
- Item one
- Item two
- Item threeTemplate:Asbox/sandbox
With one line break[edit source]
- Item one
- Item two
- Item three
With one empty line[edit source]
- Item one
- Item two
- Item three
With two empty lines[edit source]
- Item one
- Item two
- Item three
With three empty lines[edit source]
- Item one
- Item two
- Item three
With four empty lines[edit source]
- Item one
- Item two
- Item three
With multiple stub templates[edit source]
Without line break[edit source]
Template:Sections of BærumTemplate:Asbox/sandboxTemplate:Asbox/sandbox
With one line break[edit source]
Template:Sections of Bærum Template:Asbox/sandbox Template:Asbox/sandbox
With one empty line[edit source]
With two empty lines[edit source]
With three empty lines[edit source]
With four empty lines[edit source]