Author: FT2.wiki
Description:
At present the instructions and default text for Inputbox must be wiki pages.
It would allow exceptional flexibility if these could also be templates:
<inputbox>
type=comment
buttonlabel=Click me to create this page about a star
editintro={{My instructions|STAR}}
preload={{My template|STAR}}
default=User:Foo/Default page
</inputbox>
<inputbox>
type=comment
buttonlabel=Click me to create this page about a planet
editintro={{My instructions|PLANET}}
preload={{My template|PLANET}}
default=User:Foo/Default page
</inputbox>
[[Template:My instructions]]
This template is for an article about {{#ifeq:{{{1}}}|STAR|a star|a planet}}. If this is wrong please click BACK on your browser.}}
[[Template:My template]]
Name of {{#ifeq:{{{1}}}|STAR|star|planet}}:
Mass of {{#ifeq:{{{1}}}|STAR|star|planet}}:
{{#ifeq:{{{1}}}|PLANET|Star the planet orbits: | }}
For a current example, see the [[w:WP:SPI]] page, where the input instructions and preload would vary slightly depending whether Checkuser will be requested or not, to reference CU and allow a space for it, or not.
Version: unspecified
Severity: enhancement