Difference between revisions of "Reference:InputBox"
(Tag: 2017 source edit) |
With InputBox you can integrate HTML forms into wiki pages.
Contents
For type=search2 the default location for the search button is to the right. Currently, it does not seem to be possible to add other parameters to this type of input box. This search box searches the entire wiki that it is placed on.
type=create Creates a new page. Information added in the text box is the name of the page which is edited. type=comment Adds a new section to the bottom of the page specified in the text box. type=commenttitle Adds a new section with the section header typed into the text box. The title can be specified withdefault=
parameter. The page has to be specified with page=
parameter.
type=fulltext
Sucht nur mit dem Volltextsuche-Button
type=move
Verschiebt eine Seite (benennt sie um).
Beispielcode als Vorlage[edit | edit source]
Um die InputBox zu nutzen, fügen sie folgenden Code in den Inhaltsbereich Ihrer Wiki-Seite ein:
<inputbox>
type=
placeholder=
bgcolor=
width=
preload=
editintro=
buttonlabel=
hidden=
searchbuttonlabel=
break=
namespaces=
prefix=
</inputbox>
Konfigurationsmöglichkeiten für die InputBox[edit | edit source]
Parameter |
Typ |
Beschreibung |
bgcolor= |
Alle |
Hintergrundfarbe (HTML Farbwerte z.B. #eeeeff) |
width= |
Alle |
Bestimmt die Breite der Inputbox |
default= |
Alle |
Vorgabe im Eingabefeld (wird grau angezeigt) |
preload= |
create, comment, commentitle |
Die Seite mit dem angegebenen Titel wird vorgeschalten |
editintro= |
create, comment |
Vorlagen zum Erstellen von Seiten vorschalten |
buttonlabel= |
Alle |
Button-Text |
hidden= |
create, comment |
Versteckt die Texteingabe. Der Parameter "default" ist nun keine Vorgabe mehr, sondern fixiert den Seitennamen |
searchbuttonlabel= |
search, fulltext |
Text für den Volltextsuche-Button |
fulltextbutton= |
search2 |
Zeigt den Volltextsuche-Button bei dem Typ search2 |
break= |
Alle |
Abstand des Eingabefelds zum Button |
labeltext= |
search2 |
Text über dem Eingabefeld |
namespaces= |
search, fulltext |
Namensraum, in dem die Seite erstellt werden soll |
prefix= |
search, fulltext, create |
Text, der dem Seitennamen Vorangestellt werden soll |
placeholder= |
Alle |
Platzhalter, der im Eingabefeld angezeigt werden soll (wird grau angezeigt) |
page= |
comment, move |
Seite auf die verwiesen werden soll |
minor= |
comment, move |
Erstellt kleinere Bearbeitungen |
nosummary= |
comment |
Erstellen einer Zusammenfassung bei neuem Kommentar nicht gewünscht. |
summary= |
comment, move, create |
Erstellt eine Zusammenfassung oder gibt Grund an, warum verschoben wurde. |
id= |
Alle |
id Attribute für
<form></form> |
inline= |
search2 |
Macht die InputBox zu einem inline-Element (Keine Rahmenlinie) |
dir= |
Alle |
rtl für das Lesen von rechts nach links oder ltr für links nach rechts |
preloadparams[]= |
create, comment, commentitle |
Spezifikation von Parametern für die vorgeschaltene Seite (s.o.) |
Extension: InputBox
Overview | |||
---|---|---|---|
Description: | Allows to integrate HTML forms into wiki pages. | ||
State: | stable | Dependency: | MediaWiki |
Developer: | Erik Möller, Leonardo Pimenta, Rob Church, Trevor Parscal, Daniel Schuba | License: | MIT |
Type: | MediaWiki | Category: | Content Structuring |
Edition: | BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud | ||
Features[edit source]
InputBox allows to integrate HTML forms into wiki pages.
With InputBox you can integrate HTML forms into wiki pages. ==What kind of InputBoxes can be created?== {| class="wikitable contenttable" |- !|Typ !|Ergebnis !|Beschreibung |- ||type=search ||<inputbox> type=create </inputbox> ||Creates a search box which has a default width of 50 characters. Information added in the text box is searched for. |- ||type=search2 ||<inputbox> type=search2 </inputbox> || For type=search2 the default location for the search button is to the right. Currently, it does not seem to be possible to add other parameters to this type of input box. This search box searches the entire wiki that it is placed on. |- ||type=create ||<inputbox> type=create </inputbox> ||Creates a new page. Information added in the text box is the name of the page which is edited. |- ||type=comment ||<inputbox> type=comment </inputbox> ||Adds a new section to the bottom of the page specified in the text box. |- ||type=commenttitle ||<inputbox> type=commenttitle </inputbox> ||Adds a new section with the section header typed into the text box. The title can be specified with <code>default=</code> parameter. The page has to be specified with <code>page=</code> parameter. |- ||type=fulltext ||<inputbox> type=fulltext </inputbox> ||Sucht nur mit dem Volltextsuche-Button |- ||type=move ||<inputbox> type=move </inputbox> ||Verschiebt eine Seite (benennt sie um). |} ==Beispielcode als Vorlage== Um die InputBox zu nutzen, fügen sie folgenden Code in den Inhaltsbereich Ihrer Wiki-Seite ein: <pre><inputbox> type= placeholder= bgcolor= width= preload= editintro= buttonlabel= hidden= searchbuttonlabel= break= namespaces= prefix= </inputbox> </pre> ==Konfigurationsmöglichkeiten für die InputBox== {| class="wikitable contenttable" |- | style="border: 1px solid #ebecec;"| '''Parameter''' | style="border: 1px solid #ebecec;"| Typ | style="border: 1px solid #ebecec;"| Beschreibung |- | style="border: 1px solid #ebecec;"| '''bgcolor=''' | style="border: 1px solid #ebecec;"| Alle | style="border: 1px solid #ebecec;"| Hintergrundfarbe (HTML Farbwerte z.B. #eeeeff) |- | style="border: 1px solid #ebecec;"| '''width=''' | style="border: 1px solid #ebecec;"| Alle | style="border: 1px solid #ebecec;"| Bestimmt die Breite der Inputbox |- | style="border: 1px solid #ebecec;"| '''default=''' | style="border: 1px solid #ebecec;"| Alle | style="border: 1px solid #ebecec;"| Vorgabe im Eingabefeld (wird grau angezeigt) |- | style="border: 1px solid #ebecec;"| '''preload=''' | style="border: 1px solid #ebecec;"|create, comment, commentitle | style="border: 1px solid #ebecec;"| Die Seite mit dem angegebenen Titel wird vorgeschalten |- | style="border: 1px solid #ebecec;"| '''editintro=''' | style="border: 1px solid #ebecec;"| create, comment | style="border: 1px solid #ebecec;"| Vorlagen zum Erstellen von Seiten vorschalten |- | style="border: 1px solid #ebecec;"| '''buttonlabel=''' | style="border: 1px solid #ebecec;"| Alle | style="border: 1px solid #ebecec;"| Button-Text |- | style="border: 1px solid #ebecec;"| '''hidden=''' | style="border: 1px solid #ebecec;"| create, comment | style="border: 1px solid #ebecec;"| Versteckt die Texteingabe. Der Parameter "default" ist nun keine Vorgabe mehr, sondern fixiert den Seitennamen |- | style="border: 1px solid #ebecec;"| '''searchbuttonlabel=''' | style="border: 1px solid #ebecec;"| search, fulltext | style="border: 1px solid #ebecec;"| Text für den Volltextsuche-Button |- | style="border: 1px solid #ebecec;"| '''fulltextbutton=''' | style="border: 1px solid #ebecec;"| search2 | style="border: 1px solid #ebecec;"| Zeigt den Volltextsuche-Button bei dem Typ search2 |- | style="border: 1px solid #ebecec;"| '''break=''' | style="border: 1px solid #ebecec;"| Alle | style="border: 1px solid #ebecec;"| Abstand des Eingabefelds zum Button |- | style="border: 1px solid #ebecec;"| '''labeltext=''' | style="border: 1px solid #ebecec;"| search2 | style="border: 1px solid #ebecec;"| Text über dem Eingabefeld |- | style="border: 1px solid #ebecec;"| '''namespaces=''' | style="border: 1px solid #ebecec;"| search, fulltext | style="border: 1px solid #ebecec;"| Namensraum, in dem die Seite erstellt werden soll |- | style="border: 1px solid #ebecec;"| '''prefix=''' | style="border: 1px solid #ebecec;"| search, fulltext, create | style="border: 1px solid #ebecec;"| Text, der dem Seitennamen Vorangestellt werden soll |- | style="border: 1px solid #ebecec;"| '''placeholder=''' | style="border: 1px solid #ebecec;"| Alle | style="border: 1px solid #ebecec;"| Platzhalter, der im Eingabefeld angezeigt werden soll (wird grau angezeigt) |- | style="border: 1px solid #ebecec;"| '''page=''' | style="border: 1px solid #ebecec;"| comment, move | style="border: 1px solid #ebecec;"| Seite auf die verwiesen werden soll |- | style="border: 1px solid #ebecec;"| '''minor=''' | style="border: 1px solid #ebecec;"| comment, move | style="border: 1px solid #ebecec;"| Erstellt kleinere Bearbeitungen |- | style="border: 1px solid #ebecec;"| '''nosummary=''' | style="border: 1px solid #ebecec;"|comment | style="border: 1px solid #ebecec;"| Erstellen einer Zusammenfassung bei neuem Kommentar nicht gewünscht. |- | style="border: 1px solid #ebecec;"| '''summary=''' | style="border: 1px solid #ebecec;"|comment, move, create | style="border: 1px solid #ebecec;"| Erstellt eine Zusammenfassung oder gibt Grund an, warum verschoben wurde. |- | style="border: 1px solid #ebecec;"| '''id=''' | style="border: 1px solid #ebecec;"|Alle | style="border: 1px solid #ebecec;"|id Attribute für <form></form> |- | style="border: 1px solid #ebecec;"| '''inline=''' | style="border: 1px solid #ebecec;"|search2 | style="border: 1px solid #ebecec;"| Macht die InputBox zu einem inline-Element (Keine Rahmenlinie) |- | style="border: 1px solid #ebecec;"| '''dir=''' | style="border: 1px solid #ebecec;"|Alle | style="border: 1px solid #ebecec;"| rtl für das Lesen von rechts nach links oder ltr für links nach rechts |- | style="border: 1px solid #ebecec;"| '''preloadparams[]=''' | style="border: 1px solid #ebecec;"|create, comment, commentitle | style="border: 1px solid #ebecec;"| Spezifikation von Parametern für die vorgeschaltene Seite (s.o.) |} ==Weiterführende Links== * [http://www.mediawiki.org/wiki/Extension:InputBox Dokumentation auf mediawiki.org]{{BSExtensionInfobox |desc=Allows to integrate HTML forms into wiki pages. |status=stable |developer=Erik Möller, Leonardo Pimenta, Rob Church, Trevor Parscal, Daniel Schuba |type=MediaWiki |edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |active=Yes |compatible=MediaWiki |category=Content Structuring |license=MIT |docu=https://www.mediawiki.org/wiki/Extension:InputBox }} '''InputBox''' allows to integrate HTML forms into wiki pages. <br />
(29 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{BSExtensionInfobox | |
+ | |desc=Allows to integrate HTML forms into wiki pages. | ||
+ | |status=stable | ||
+ | |developer=Erik Möller, Leonardo Pimenta, Rob Church, Trevor Parscal, Daniel Schuba | ||
+ | |type=MediaWiki | ||
+ | |edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud | ||
+ | |active=Yes | ||
+ | |compatible=MediaWiki | ||
+ | |category=Content Structuring | ||
+ | |license=MIT | ||
+ | |docu=https://www.mediawiki.org/wiki/Extension:InputBox | ||
+ | }} | ||
+ | '''InputBox''' allows to integrate HTML forms into wiki pages. | ||
− | + | <br /> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |