Editing
Widget:ArticleSpawner/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == <pre> {{#widget: ArticleSpawner | type = | summary = | title = | showtitle = | param.A Key = | param.Another Key = ... | hiddenparam = | hiddenparam = ... | submit = }} </pre> All fields are optional. ; type ''(optional)'': Hidden parameter that defines the preload templates to load into the edit window and content above it. Default is blank. :: See {{tl|ArticleSpawner/doc}} for details on PathfinderWiki preload templates and content. ; summary ''(optional)'': Hidden parameter that sets the text to preload in the editing tool's summary field. Default is blank. ; title ''(optional)'': Name of the article to edit or create. Default is blank. :: If you enter a '''title''' value and '''showtitle''' is not passed, this parameter's value fills the ArticleSpawner form's "Article Title" field. :: If you enter a '''title''' value and '''showtitle''' is {{xt|no}}, the value is passed as a hidden parameter; there's no Article Title field, and clicking Submit creates the article using this value as the title. ; showtitle ''(optional)'': If {{xt|no}}, hides the Article Title field. Set to {{xt|no}} to create a standalone ArticleSpawner button. ; param.(key name) ''(optional; can declare multiple times)'': Creates a form field with the {{xt|(key name)}} as the field's label and fills the field with the parameter's value. The value can be blank; if you don't pass a key name, it defaults to an integer. :: All '''param'''s are declared in the order you pass them, but before any '''hiddenparams''' regardless of the order they appear in the template—this is important as the preload template applies values in sequential order, so {{xt|$1}} on the preload template is the first '''param''' declared in the widget, {{xt|$2}} is the second, etc., and then the first '''hiddenparam''' declared in the widget follows in the preload template's numeric sequence. ; hiddenparam ''(optional; can declare multiple times)'': Passes a value as a preload parameter without creating a form field. ; submit ''(optional)'': Changes the text that appears on the submit button. Default is {{xt|submit}}.
Summary:
Please note that all contributions to 2d4chan may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
2d4chan:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information