Extension talk:InputBox
For the page history, see also here. / previous talk on this page
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Using to add text (such as user for participant list) | 4 | 23:02, 5 February 2012 |
Anyone had any luck using the Extension to create a "sign-up" style setup where someone clicks the button and sees the edit screen with the sig tildes preloaded? The closest I've seen is using it to create "profiles" with the username appearing as a header.
It quite easy to do. New entries are added at the bottom. A quick example:
<inputbox> type=commenttitle editintro=Page_title/Intro <!-- Some instructions for users --> preload=Page_title/Preload hidden=yes page=Page_title <!-- Where to post --> buttonlabel=Button_label default= </inputbox>
Page_title/Preload
{{<includeonly>subst:</includeonly>Template_name
|param1=
|param2=
...
}}
Template:Template_name
text1 {{{param1}}}
text2 {{{param2}}}
--~~~~
...
Great! I set that up here: Project:WikiProject Extensions/Participants
Only problem now is that you have to click save twice since we don't want a subject/header. Any way to disable that in the settings?
Each registered user can set it up in the Prefrences/Editing, Advanced options: Prompt me when entering a blank edit summary. I think it should be now turned off by default.