Difference between revisions of "Module:Convert/sandbox/doc"
< Module:Convert | sandbox
Jump to navigation
Jump to search
blackwiki>Johnuniq (copy from Module:Convert/doc) |
blackwiki>Johnuniq (trim to info specific for sandbox) |
||
| Line 1: | Line 1: | ||
| − | + | When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies. | |
| − | + | {{#invoke:convert/sandbox/testcases|check_sandbox}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies | ||
| − | |||
| − | |||
| − | |||
| − | |||
Use the following template to test the results (example <code><nowiki>{{convert/sandbox|123|lb|kg}}</nowiki></code>): | Use the following template to test the results (example <code><nowiki>{{convert/sandbox|123|lb|kg}}</nowiki></code>): | ||
| − | *[[Template:Convert/sandbox]] | + | *[[Template:Convert/sandbox]] • invokes the sandbox modules and shows all warnings |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | Testscases: | |
| − | + | *[[Module:Convert/sandbox/testcases]] • templates to be tested, with expected outputs | |
| − | + | *[[Module talk:Convert/sandbox/testcases]] • view test results | |
| − | |||
| − | [[Module:Convert/ | + | It is not necessary to save a module before viewing test results. For example, [[Module:Convert/sandbox]] could be edited. While still editing that page, paste |
| + | :{{nowrap|<code>Module talk:Convert/sandbox/testcases</code>}} | ||
| + | into the page title box under "Preview page with this template", then click "Show preview". | ||
Revision as of 04:12, 9 December 2013
When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies.
- Module:Convert • Module:Convert/sandbox • different (diff)
- Module:Convert/data • Module:Convert/data/sandbox • different (diff)
- Module:Convert/text • Module:Convert/text/sandbox • same content
- Module:Convert/extra • Module:Convert/extra/sandbox • different (diff)
- Module:Convert/wikidata • Module:Convert/wikidata/sandbox • same content
- Module:Convert/wikidata/data • Module:Convert/wikidata/data/sandbox • same content
Use the following template to test the results (example {{convert/sandbox|123|lb|kg}}):
- Template:Convert/sandbox • invokes the sandbox modules and shows all warnings
Testscases:
- Module:Convert/sandbox/testcases • templates to be tested, with expected outputs
- Module talk:Convert/sandbox/testcases • view test results
It is not necessary to save a module before viewing test results. For example, Module:Convert/sandbox could be edited. While still editing that page, paste
Module talk:Convert/sandbox/testcases
into the page title box under "Preview page with this template", then click "Show preview".