テンプレート:BatchTest/doc

提供: Minecraft Wiki
移動先: 案内検索
これは、メインテンプレートページに参照されるべきである解説ページです。詳細についてはテンプレート:Documentationを参照してください

This template takes template parameters from all pages that transclude a particular template, and applies them to another template, displaying both results side-by-side. Useful for batch testing a new version of a template against existing usage, to find errors.

使用法[ソースを編集]

This template is most easily use on a sandbox page with little to no other content, and should be used within page preview or temperamentally during template changes. As such, it will be unused most of the time

The parameter {{{1}}} can be set to the name of the template to pull from pages. Only pages within the template namespace are supported, and do not include the Template: prefix.

The parameter {{{2}}} can be set to the name of the template to preview. It can be set to a page from any namespace, but otherwise follows the same rules as {{{1}}}. If this parameter is unset, it defaults to {{{1}}}2