Forminput parser function demo

From Discourse DB
Jump to navigation Jump to search

This is a demo page for the "#forminput" parser function.

1. Function call:

{{#forminput:}}

Display:

 



2. Function call:

{{#forminput:form=Author|size=15|default value=New author|button text=Add or edit author|query string=preload=John McCain&namespace=User}}

Display:

 



3. Function call:

{{#forminput:form=Author|size=15|button text=Add|query string=preload={{#ask:[[Category:Authors]]|limit=1|searchlabel=|link=none}} }}

 



4. Function call:

{{#forminput:form=Author|size=15|default value=New Alice author|button text=Add or edit author|query string=Author[first name]=Alice}}

Display:

 



4. Function call:

{{#forminput:form=Author|query string=Author[first name]=A%26B}}

Display: