Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Chabadpedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Article stub box/testcases
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{template test cases}} {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | image = Østfold våpen.svg | pix = 30 | subject = [[Østfold]] location | qualifier = | category = Østfold geography stubs }}</nowiki>}} {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | icon = [[Image:Østfold våpen.svg|30px|border]] | subject = [[Østfold]] location | qualifier = | category = Østfold geography stubs }}</nowiki>}} {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | icon = | subject = [[Østfold]] location | qualifier = | category = Østfold geography stubs }}</nowiki>}} {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | image = | pix = 30 | subject = [[Østfold]] location | qualifier = | category = Østfold geography stubs }}</nowiki>}} ==Hidden unicode char== {{para|category}} contains hidden unicode chars, [[Delete character|DEL]] and [[Left-to-right_mark|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) {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | image = Østfold våpen.svg | pix = 30 | subject = [[Østfold]] location | qualifier = | category99= Typography stubs | category = Østfold geography stubs | category1 = Demo stubs | category2 = Template stubs | note = notes go here }}</nowiki>}} ==Missing image== 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]]. <pre>{{test case nowiki|title=Missing image file|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | icon = [[Image:Ostfold vapen missing.png|30px|border]] | subject = [[Østfold]] location | qualifier = | category = Østfold geography stubs }}</nowiki>}}</pre> ==Missing params== {{test case nowiki|title=Missing image file|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | icon = | subject = | qualifier = | category = }}</nowiki>}} =Automatic Documention= if <code>|demo = doc</code> {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = doc | icon = [[Image:Østfold våpen.svg|30px|border]] | subject = [[Østfold]] location | qualifier = in the street of Demo | category = Østfold geography stubs | note = Notes go here }}</nowiki>}} =Ombox messages and error sorting= {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = doc | category1 = Bad stub category name | category4 = Fake stub | imagealt = dummy | name = note: this param only checked if not demo and not article }}</nowiki>}} ==Demo article space categories only== 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) {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = art | category1 = Bad stub category name | category4 = Fake stub | imagealt = dummy | name = note: this param only checked if not demo and not article }}</nowiki>}} ==Note parameter== {{test case nowiki|code=<nowiki>{{__TEMPLATENAME__ | demo = yes | subject = test | qualifier = about the note parameter | category = Fake stub | note = This is the text in the note parameter. }}</nowiki>}} = Top-margin testing = == Preceded by paragraph == === Without line break === [[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.{{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one line break === 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. {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one empty line === 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. {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With two empty lines === 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. {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With three empty lines === 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. {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With four empty lines === 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. {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} == Preceded by navbox == === Without line break === {{Sections of Bærum}}{{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one line break === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one empty line === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With two empty lines === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With three empty lines === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With four empty lines === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} == Preceded by list == === Without line break === * Item one * Item two * Item three{{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one line break === * Item one * Item two * Item three {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one empty line === * Item one * Item two * Item three {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With two empty lines === * Item one * Item two * Item three {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With three empty lines === * Item one * Item two * Item three {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With four empty lines === * Item one * Item two * Item three {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} == With multiple stub templates == === Without line break === {{Sections of Bærum}}{{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }}{{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one line break === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With one empty line === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With two empty lines === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With three empty lines === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} === With four empty lines === {{Sections of Bærum}} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }} {{asbox/sandbox | image = Akershus våpen.svg | pix = 30 | subject = [[Akershus]] location | qualifier = | category = Akershus geography stubs | tempsort = | name = Template:Akershus-geo-stub }}
Edit summary
(Briefly describe your changes)
Please note that all contributions to Chabadpedia are considered to be released under the GNU Free Documentation License 1.3 or later (see
Chabadpedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Asbox/sandbox
(
edit
)
Template:FULLBASEPAGENAME
(
edit
)
Template:Hlist
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Ns has subpages
(
edit
)
Template:Ombox
(
edit
)
Template:Para
(
edit
)
Template:Purge
(
edit
)
Template:Sections of Bærum
(
edit
)
Template:Select skin
(
edit
)
Template:Template test cases
(
edit
)
Template:Test case nowiki
(
edit
)
Template:Testcases notice
(
edit
)
Module:Arguments
(
edit
)
Module:List
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
view source
) (protected)
Module:Message box/ombox.css
(
edit
)
Module:Ns has subpages
(
edit
)
Module:Purge
(
edit
)
Module:TableTools
(
edit
)
Module:Yesno
(
edit
)
This page is a member of a hidden category:
Category:Pages with missing files