Module:Convert/sandbox/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "{{documentation subpage}} When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies. If wanted, use the purge link just above to update the following status report. {{#invoke:convert/sandbox/testcases|check_sandbox}} Use the following template to test the results (example <code><nowiki>{{convert/sandbox|123|lb|kg}}</nowiki></code>): *Template:Convert/sandbox • invokes the sandbox modules and shows all warnings Testscases:..." |
No edit summary |
||
Line 1: | Line 1: | ||
When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies. | When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies. | ||
Line 15: | Line 14: | ||
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 | 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>}} | :{{nowrap|<code>Module talk:Convert/sandbox/testcases</code>}} | ||
into the page title box under "Preview page with this template", then click "Show preview".<noinclude> | into the page title box under "Preview page with this template", then click "Show preview". | ||
[[Category:Module | <includeonly> | ||
[[Category:Module sandboxes]] | |||
[[Category:Module sand&test]] | |||
</includeonly> | |||
<noinclude> | |||
[[Category:Module documents]] | |||
[[Category:Module sand&test documents]] | |||
</noinclude> | </noinclude> |
Latest revision as of 23:44, 11 March 2025
When making a change, copy the current modules to the sandbox pages, then edit the sandbox copies.
If wanted, use the purge link just above to update the following status report.
- Module:Convert • Module:Convert/sandbox • same content
- Module:Convert/data • Module:Convert/data/sandbox • different (diff)
- Module:Convert/text • Module:Convert/text/sandbox • different (diff)
- Module:Convert/extra • Module:Convert/extra/sandbox • same content
- Module:Convert/wikidata • Module:Convert/wikidata/sandbox • does not exist
- Module:Convert/wikidata/data • Module:Convert/wikidata/data/sandbox • does not exist
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
- Template:Convert/testcases • more tests
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".