Template:Infobox/testcases: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) (Created page with "{{testcase}}__NOTOC__ == Basic tests == {|class="standard-table" | style="text-align:center; width:100%;" |- ! style="width:100%" |{{Dictionary/common|Desc}} ! {{Dictionary/co...") |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 32: | Line 32: | ||
== Entry tests == | == Entry tests == | ||
{|class="standard-table" | style="text-align:center; width:100%;" | {|class="standard-table" | style="text-align:center; width:100%;" | ||
|- | |- | ||
! style="width:100%" |{{Dictionary/common|Desc}} | ! style="width:100%" |{{Dictionary/common|Desc}} | ||
! {{Dictionary/common|Preview}} | ! {{Dictionary/common|Preview}} | ||
|- | |||
| style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With only one entry idbox}} | |||
| style="padding-block:.5em;" | {{infobox | |||
| entryid1 = Entry ID 1 | |||
}} | |||
|- | |||
| style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With only one entry infobox}} | |||
| style="padding-block:.5em;" | {{infobox | |||
| entryinfo1 = Entry ID 1 | |||
}} | |||
|- | |- | ||
| style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With only one row of entries}} | | style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With only one row of entries}} |
Revision as of 21:09, 29 May 2023
This is the template test cases page for Template:Infobox. Purge this page in order to update the examples, if the template itself was recently edited.
If there are too many examples of a complicated template, later transclusions of such template may break due to the limitations of the Mediawiki software, or can cause the page itself to load very slow; See the HTML comment "NewPP limit Report" on the rendered page.
You can also use Special:ExpandTemplates to examine the results of template use cases.
If there are too many examples of a complicated template, later transclusions of such template may break due to the limitations of the Mediawiki software, or can cause the page itself to load very slow; See the HTML comment "NewPP limit Report" on the rendered page.
You can also use Special:ExpandTemplates to examine the results of template use cases.
Basic tests
Description | Preview |
---|---|
With no parameters
|
|
With header parameter only
|
Header |
With footer parameter only
|
Footer |
Image tests
Description | Preview | |
---|---|---|
With image parameter only
|
[[File:Software Cover - The Lab.jpg |
300px]] |
With image parameter and imagewidth parameter
|
[[File:Missing entity icon.png |
64px]] |
Entry tests
Description | Preview |
---|---|
With only one entry idbox
|
Entry ID 1
|
With only one entry infobox
|
Entry ID 1
|
With only one row of entries
|
Entry ID 1
Entry INFO 1
|
With only one row of entries, a header and a footer
|
Header Entry ID 1
Entry INFO 1
Footer |
With only two rows of entries
|
Entry ID 1
Entry INFO 1
Entry ID 2
Entry INFO 2
|
With only two rows of entries, a header and a footer
|
Header Entry ID 1
Entry INFO 1
Entry ID 2
Entry INFO 2
Footer |
With max row of entries
|
Entry ID 1
Entry INFO 1
Entry ID 2
Entry INFO 2
Entry ID 3
Entry INFO 3
Entry ID 4
Entry INFO 4
Entry ID 5
Entry INFO 5
|
With max row of entries, a header and a footer
|
Header Entry ID 1
Entry INFO 1
Entry ID 2
Entry INFO 2
Entry ID 3
Entry INFO 3
Entry ID 4
Entry INFO 4
Entry ID 5
Entry INFO 5
Footer |