Difference between revisions of "Template:Historical template/testcases"
Jump to navigation
Jump to search
imported>Steel1943 (Adding test cases - template has 3 parameters - and not sure how 3rd parameter works ...) |
imported>Steel1943 (Add sandbox links) |
||
| Line 3: | Line 3: | ||
== [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] == | == [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] == | ||
| − | {{{{ | + | <code><nowiki>{{Historical template/sandbox|Yes 1}}</nowiki></code> produces: |
| + | |||
| + | {{Historical template/sandbox|Yes 1}} | ||
| + | |||
| + | <code><nowiki>{{Historical template/sandbox|Yes 1|No 2}}</nowiki></code> produces: | ||
| + | |||
| + | {{Historical template/sandbox|Yes 1|No 2}} | ||
| + | |||
| + | <code><nowiki>{{Historical template/sandbox|Yes 1|No 2|Maybe 3}}</nowiki></code> produces: | ||
| + | |||
| + | {{Historical template/sandbox|Yes 1|No 2|Maybe 3}} | ||
{{clear}} | {{clear}} | ||
| Line 20: | Line 30: | ||
{{Historical template|Yes 1|No 2|Maybe 3}} | {{Historical template|Yes 1|No 2|Maybe 3}} | ||
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
Latest revision as of 03:39, 8 July 2016
| This is the template test cases page for the sandbox of Template:Historical template. 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: |
Sandbox version
{{Historical template/sandbox|Yes 1}} produces:
| The template Yes 1 is deprecated, but preserved for historical reasons. |
{{Historical template/sandbox|Yes 1|No 2}} produces:
| The template Yes 1 is deprecated, but preserved for historical reasons. Please use {{No 2}} instead. |
{{Historical template/sandbox|Yes 1|No 2|Maybe 3}} produces:
| The template Yes 1 is deprecated, but preserved for historical reasons. Please use {{No 2|Maybe 3}} instead. |
Main template
{{Historical template|Yes 1}} produces:
| Template:Yes 1 is deprecated, but preserved for historical reasons. Please see [[Template:]] instead. |
{{Historical template|Yes 1|No 2}} produces:
| Template:Yes 1 is deprecated, but preserved for historical reasons. Please see Template:No 2 instead. |
{{Historical template|Yes 1|No 2|Maybe 3}} produces:
Template:Yes 1 is deprecated, but preserved for historical reasons. Please use {{Template:No 2|Maybe 3}} instead. |