Last modified: 2012-11-03 09:26:27 UTC
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.
(The point being that if slight variations on the inputbox instructions or template might exist, then it would be very efficient to be able to have one template with a parameter (easy to maintain) rather than separate pages (which could go out of sync).
I'm working on this, along with bug 17002.
See also related bugs bug 12853 and bug 5210.
unassigned Trevor from Inputbox extension.