Difference between revisions of "Template:Current/testcases"
Jump to navigation
Jump to search
imported>NE Ent (→Testcases: blank primary) |
imported>Andy M. Wang (→Testcases: test case) |
||
| Line 8: | Line 8: | ||
{| class="centered wikitable" | {| class="centered wikitable" | ||
! Code !! Result | ! Code !! Result | ||
| + | |- | ||
| + | |rowspan=2|<code><nowiki>{{Current|||File:Padlock-pink.svg}}</nowiki></code> | ||
| + | |{{Current|||File:Padlock-pink.svg}} | ||
| + | |- | ||
| + | |{{Current/sandbox|list|test case|File:Padlock-pink.svg}} | ||
|- | |- | ||
|rowspan=2|<code><nowiki>{{Current|||Gnome globe current event.svg}}</nowiki></code> | |rowspan=2|<code><nowiki>{{Current|||Gnome globe current event.svg}}</nowiki></code> | ||
Revision as of 20:19, 22 April 2016
| 42px | This is the template test cases page for the sandbox of Template:Current. Script error: No such module "Purge". 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 with these links: |
Examples
| Code | Result | ||
|---|---|---|---|
{{current}}
|
| ||
{{current|section|date=March 2026}}
|
| ||
{{current||current election|date=March 2026}}
|
|
| Code | Result | ||
|---|---|---|---|
{{current/sandbox}}
|
| ||
{{current/sandbox|date=March 2026}}
|
| ||
{{current/sandbox|section|date=March 2026}}
|
| ||
{{current/sandbox||election|date=March 2026}}
|
|
Testcases
| Code | Result | ||
|---|---|---|---|
{{Current|||File:Padlock-pink.svg}}
|
| ||
| |||
{{Current|||Gnome globe current event.svg}}
|
| ||
| |||
{{Current||battle}}
|
| ||
| |||
{{Current||conflict}}
|
| ||
| |||
{{Current||election}}
|
| ||
| |||
{{Current||election|Gnome globe current event.svg}}
|
| ||
| |||
{{Current||disaster}}
|
| ||
| |||
{{Current||hurricane}}
|
| ||
| |||
{{Current||spaceflight}}
|
| ||
| |||
{{Current||sporting event}}
|
| ||
| |||
{{Current||sports-related event}}
|
| ||
| |||
{{Current||tropical cyclone}}
|
| ||
| |||
{{Current||tropical depression}}
|
| ||
| |||
{{Current||tropical storm}}
|
| ||
| |||
{{Current||war}}
|
| ||
| |||
{{Current||event|incomplete=y}}
|
| ||
| |||
{{Current|testcase|event|incomplete=y}}
|
| ||
| |||
{{Current|testcase|shooting|incomplete=y}}
|
| ||
| |||
{{Current|||incomplete=y}}
|
| ||
|