Szerkesztő:Karmela/inputbox
- ! meta:Help:Inputbox
- http://www.mediawiki.org/wiki/Extension:Inputbox
- Karmela/test/fomula
- User:Karmela/test/intro
- User:Karmela/test/új
- en:Help:Starting a new page
preload
[szerkesztés]• &action=submit • &action=edit • &action=edit&viewsource=1 • &action=edit&preload=... •
http://hu.wikipedia.org/w/index.php?title= Special:Mypage &action=edit &preload=(preloadlap) space helyett _ ! &editintro=(introlap) space helyett _ !
- [- MediaWiki]
- This code will create a new button called [view source] to the left of the [edit this page] button (unless you're already editing a page or the page is protected
?
[szerkesztés]?
[szerkesztés]?
[szerkesztés]Box types
[szerkesztés]Type | Example |
---|---|
type=search | |
Generates a search box with a default width of 50 characters. The button labels can be specified, see below; defaults MediaWiki:Tryexact and MediaWiki:Searchfulltext. The text field specifies the search criteria. | |
type=create | |
Allows creating a new page. The button label can be specified, see below; default MediaWiki:Createarticle. The text field specifies which page is to be edited. | |
type=comment | |
Add one or more sections to an existing page, or create a page, with an edit summary that is automatically the same as the (first) new section header. The button label can be specified, see below; default MediaWiki:Postcomment also used in the sidebar of the "Standard" skin. The text field specifies which page is to be edited. |
inputbox helyett
[szerkesztés]
<span style="font-size:80%;"><i>[{{SERVER}}{{localurl:Wikipédia:Zene_anyag/Mazsolajegyzék/2|action=edit&preload=Wikipédia:Zene_portál/Mazsola/Űrlap&editintro=Wikipédia:Zene_portál/Mazsola/Segítség}} Az én ajánlásom]</i></span>
inputbox help
[szerkesztés]- http://www.mediawiki.org/wiki/Extension:Inputbox
- bevezetöö: Input_box help: →en:Wikipedia:URLs#Input_box
- →en:Wikipedia talk:Mediation Cabal/Inputbox If you need any help with the inputbox system or have questions, please put them here, and I or one of the other coordinators/mediators/"volunteers" will get back to you as soon as possible. --Keitei (talk) 21:21, 1 July 2006 (UTC)
- →en:Help:Inputbox
- →en:Help:Starting a new page
Összefoglalás
[szerkesztés]<inputbox> type=create preload=User:Karmela/test/formula editintro=User:Karmela/test/intro default=User:Karmela/test/új buttonlabel=Beirom az ajánlásomat! bgcolor=#d0f0d0 width=30 </inputbox>. <inputbox> type=create preload=A editintro=B default=entered_text buttonlabel=Create! bgcolor=#d0f0d0 width=30 </inputbox>
produces this URL:
- magyar wiki: http://hu.wikipedia.org/w/index.php?action=edit&preload=A&editintro=B&title=entered_text&create=Create%21
upon submission of this input form:
After entering the name of a non-existing page C, it gives the edit box of C, filled with the contents of A, with page B rendered after the title C. If the wikitext of page B contains {{PAGENAME}}, this is rendered as C.
After entering the name of an existing page C, it simply gives the edit box of C.
If A does not exist, the edit box is not pre-filled. If B does not exist, the default MediaWiki:Newarticletext is used.
If a default is specified, it will be entered in the text box; if not, the text box will be empty. An optional buttonlabel will appear on the form's submit button, instead of "Create article" if none is specified. If you do not specify a bgcolor, the background color will be white. The default input text width is 20.
The preceding documentation applies when the mandatory type parameter is type=create (all other parameters are optional.) The type parameter may also be type=comment — useful for adding a new section to talk pages, adding "§ion=new" to the URL — or type=search with which you may wish to use the optional searchbuttonlabel parameter. Note that buttonlabel parameter is also valid within type=search inputboxes, the difference being that search results from the non-search button are shown as an optional offer to create the page instead of a search producing no results. Complete documentation is available at m:Help:Inputbox.
create with preload
[szerkesztés]<inputbox> type=create preload=User:Karmela/test/formula editintro=User:Karmela/test/intro default=User:Karmela/test/új buttonlabel=Beirom az ajánlásomat! bgcolor=#d0f0d0 width=30 </inputbox>
gomb az ablak mellett break=no
[szerkesztés]<inputbox> type=create width=24 break=no </inputbox>