사용자:하늘/참고/OO.UI: 두 판 사이의 차이

(Cerulean (토론)의 1428976판 편집을 되돌림)
태그: 편집 취소
편집 요약 없음
1번째 줄: 1번째 줄:
{{wikitext|<nowiki>{{생물 분류
<onlyinclude><templatestyles src='틀:검색창/styles.css'/><div style="{{{2|{{{style|}}}}}}" class="input_box {{{3|{{{class|normal}}}}}} {{{type|}}}">{{#tag:inputbox|
|이름=오렌지
type={{{타입|search}}}
|그림= 오렌지.jpg
bgcolor={{{배경색|}}}
|=식물
width={{{너비|}}}
|=[[식물|식물계]]
page={{{페이지|}}}
|미분류_문=[[속씨식물|속씨식물군]]
default={{{기본|}}}
|미분류_강=[[진정쌍떡잎식물|진정쌍떡잎식물군]]
preload={{{포함|}}}
|미분류_목=[[장미군]]
editintro={{{editintro|}}}
|목=[[무환자나무목]]
buttonlabel={{{버튼라벨|}}}
|=[[운향과]]
hidden={{{숨김|}}}
|=[[귤속]]
searchbuttonlabel={{{검색버튼라벨|}}}
|='''오렌지'''
fulltextbutton={{{fulltextbutton|}}}
|학명=''Citrus × sinensis''
labeltext={{{labeltext|}}}
}}</nowiki>}}
break={{{break|}}}
namespaces={{{namespaces|}}}
prefix={{{prefix|}}}
placeholder={{{placeholder|}}}
minor={{{minor|}}}
nosummary={{{nosummary|}}}
summary={{{summary|}}}
id={{{id|}}}
inline={{{inline|}}}
dir={{{dir|}}}
preloadparams[]=
searchfilter={{{searchfilter|}}}
useve={{{useve|}}}
arialabel={{{arialabel|}}}
}}</div></onlyinclude>
 
== Parameters == <!--T:39-->
</translate>
 
{| class="wikitable"
! <translate><!--T:40--> Parameter</translate>
! <translate><!--T:41--> Description</translate>
! <translate><!--T:42--> Scope</translate>
! <translate><!--T:43--> Compatibility</translate>
! <translate><!--T:44--> Example</translate>
! <translate><!--T:45--> Result</translate>
|-
|'''arialabel='''
|Supply the aria-label attribute to the inputbox to allow generated markup be accessible to screen readers
|<translate><!--T:126--> All types</translate>
|{{MW version|version=1.35|comment=and later|gerrit change=572050|compact=1}}
|<syntaxhighlight lang="html"><inputbox>
type=search
arialabel=Search the Wiki
</inputbox></syntaxhighlight>
|<inputbox>
type=search
arialabel=Search the wiki
</inputbox>
|-
|'''bgcolor='''
| <translate><!--T:46--> Sets the table background color (HTML color values).</translate> <translate><!--T:47--> Do not use quotes.</translate>
| <translate><!--T:48--> All types</translate>
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=search
bgcolor=#eeeeff
</inputbox></syntaxhighlight>
|<inputbox>
type=search
bgcolor=#eeeeff
</inputbox>
|-
|'''width='''
| <translate><!--T:49--> Sets the width of the InputBox in characters.</translate>
| <translate><!--T:50--> All types</translate>
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=create
width=24
</inputbox></syntaxhighlight>
|<inputbox>
type=create
width=24
</inputbox>
|-
|'''default='''
| <translate><!--T:51--> Default text to put in the InputBox.</translate>
| <translate><!--T:52--> All types</translate>
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=comment
default=User talk:Eloquence
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
default=User talk:Eloquence
</inputbox>
|-
|'''preload='''
| <translate><!--T:53--> The page under this title will be preloaded (see <tvar name=1>{{ll|Manual:Creating pages with preloaded text}}</tvar>) into the blank editbox when a new page is created.</translate>
| create, comment, commenttitle
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=create
preload=Log
</inputbox></syntaxhighlight>
|<inputbox>
type=create
preload=Log
</inputbox>
|-
| colspan="6" | <translate><!--T:54--> Enter the title of a non-existent page in the example InputBox above or below, and click "<tvar name=create>{{int|inputbox-createarticle}}</tvar>" or "<tvar name=new>{{int|inputbox-postcomment}}</tvar>" respectively to test this effect.</translate>
|-
|'''editintro='''
| <translate><!--T:55--> The page which is given under this parameter will be shown, as instructions, ''above'' the editing window.</translate>
| create, comment
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=comment
editintro=MediaWiki:Missingcommenttext
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
editintro=MediaWiki:Missingcommenttext
</inputbox>
|-
|'''buttonlabel='''
| <translate><!--T:56--> This label will be used for the main button of the form.</translate>
| <translate><!--T:57--> All types</translate>
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=comment
buttonlabel=<translate nowrap><!--T:127--> Add new rumor</translate>
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
buttonlabel=<translate nowrap><!--T:128--> Add new rumor</translate>
</inputbox>
|-
|'''hidden='''
| <translate><!--T:58--> This specifies that there is no InputBox.</translate>
 
<translate><!--T:59--> It is used with parameter "<tvar name=default>default</tvar>", now not being a default, but the fixed value of the name of the page.</translate>
|create, comment
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=comment
editintro=Extension:InputBox/editintro comment
preload=Extension:InputBox/preload
hidden=yes
default=Extension talk:InputBox
buttonlabel=<translate nowrap><!--T:60--> Post a comment on the talk page</translate>
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
editintro=Extension:InputBox/editintro comment
preload=Extension:InputBox/preload
hidden=yes
default=Extension talk:InputBox
buttonlabel=<translate nowrap><!--T:61--> Post a comment on the talk page</translate>
</inputbox>
|-
|'''searchbuttonlabel='''
| <translate><!--T:62--> This label will be used for the "Search full text" button of the search form.</translate>
| search, fulltext
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=search
searchbuttonlabel=<translate nowrap><!--T:63--> Dig deeper</translate>
</inputbox></syntaxhighlight>
|<inputbox>
type=search
searchbuttonlabel=<translate nowrap><!--T:64--> Dig deeper</translate>
</inputbox>
|-
|'''fulltextbutton='''
| <translate><!--T:65--> Show the full text search button on search2 form</translate>
|search2
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:66--> Dig deeper</translate>
fulltextbutton=true
</inputbox></syntaxhighlight>
|<inputbox>
type=search
searchbuttonlabel=<translate nowrap><!--T:67--> Dig deeper</translate>
fulltextbutton=true
</inputbox>
|-
|'''labeltext='''
| <translate><!--T:68--> Text to print beside the button</translate>
|search2
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:69--> Dig deeper</translate>
labeltext=<translate nowrap><!--T:70--> Look for:</translate>
</inputbox></syntaxhighlight>
|<inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:71--> Dig deeper</translate>
labeltext=<translate nowrap><!--T:72--> Look for:</translate>
</inputbox>
|-
|'''break='''
| <translate><!--T:73--> Whether or not to insert a line break between the input box and the button(s).</translate> <translate><!--T:74--> Defaults to <tvar name=yes>'''yes'''</tvar> (use a line break).</translate>
| <translate><!--T:75--> All types</translate>
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=create
width=24
break=no
</inputbox></syntaxhighlight>
|<inputbox>
type=create
width=24
break=no
</inputbox>
|-
|'''namespaces='''
| <translate><!--T:76--> Support for namespace checkboxes in fulltext search.</translate>
 
<translate><!--T:77--> With "<tvar name=main><code>Main'''**'''</code></tvar>", main article namespace is checked by default.</translate>
| search, fulltext
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=search
namespaces=Main**,Help
</inputbox></syntaxhighlight>
|<inputbox>
type=search
namespaces=Main**,Help
</inputbox>
|-
|'''prefix='''
|
<translate>
<!--T:78-->
* Narrow down search to pages beginning with certain prefix.</translate> <translate><!--T:79--> Note this only works with certain search back-ends, currently only <tvar name=ext>{{ll|Extension:CirrusSearch}}</tvar>.</translate> <translate><!--T:80--> Defaults to empty string (search all pages).</translate>
<translate>
<!--T:81-->
* Create new page beginning with a certain prefix.</translate>
<translate>
<!--T:82-->
* In <tvar name=tmove>type=move</tvar>, the prefix is prepended to the default parameter.
 
<!--T:83-->
Remark: underscores aren't recognized as spaces.
</translate>
|search, fulltext, create
|''?''
|<syntaxhighlight lang="html"><inputbox>
type=search
prefix={{FULLPAGENAME}}/Archive
</inputbox></syntaxhighlight>
|<inputbox>
type=search
prefix={{FULLPAGENAME}}/Archive
</inputbox>
 
<translate><!--T:84--> The button below prefixes the name with <tvar name=mypage>''<code>Special:Mypage/</code>''</tvar>.</translate>
<inputbox>
type=create
preload=Template:Article wizard/userpageskeleton
default=<translate nowrap><!--T:129--> new article name here</translate>
prefix=Special:Mypage/
editintro=Wikipedia:Article wizard/Wizard-New edit instructions userdraft
buttonlabel=<translate nowrap><!--T:85--> Create a userspace draft</translate>
width=50
</inputbox>
|-
|'''placeholder='''
| <translate><!--T:86--> Define placeholder text that will display in the input box when it is empty.</translate>
| <translate><!--T:87--> All types</translate>
|{{MW version|version=1.19|comment=and later|gerrit change=|compact=1}}
|<syntaxhighlight lang="html"><inputbox>
type=search
placeholder=<translate nowrap><!--T:88--> Search this Wiki</translate>
</inputbox></syntaxhighlight>
|<inputbox>
type=search
placeholder=<translate nowrap><!--T:89--> Search this Wiki</translate>
</inputbox>
|-
|'''page='''
| <translate><!--T:90--> Page to posts comment to, or page to move.</translate>
| comment, move
|
|<syntaxhighlight lang="html"><inputbox>
type=comment
page=Project:Sandbox
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
page=Project:Sandbox
</inputbox>
|-
|'''minor='''
| <translate><!--T:91--> Minor edit.</translate>
| comment, create
|
|<syntaxhighlight lang="html"><inputbox>
type=comment
page=Project:Sandbox
minor=true
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
page=Project:Sandbox
minor=true
</inputbox>
|-
|'''nosummary='''
| <translate><!--T:92--> Edit summary (headline) not required for new comment.</translate>
|comment
|
|<syntaxhighlight lang="html"><inputbox>
type=comment
page=Project:Sandbox
nosummary=true
</inputbox></syntaxhighlight>
|<inputbox>
type=create
page=Project:Sandbox
nosummary=true
</inputbox>
|-
|'''summary='''
| <translate><!--T:93--> Edit summary or move reason.</translate>
| create, move
|
|<syntaxhighlight lang="html"><inputbox>
type=create
default=Special:Mypage/inputbox test
summary=Foo
</inputbox></syntaxhighlight>
|<inputbox>
type=create
default=Special:Mypage/inputbox test
summary=Foo
</inputbox>
|-
|'''id='''
| <translate><!--T:94--> id attribute for <tvar name=form>&lt;form&gt;</tvar>.</translate>
| <translate><!--T:95--> All types</translate>
|{{MW version|version=1.23|comment=and later|gerrit change=|compact=1}}for some types
|<syntaxhighlight lang="html"><inputbox>
type=comment
page=Project:Sandbox
summary=Foo
id=bar
</inputbox></syntaxhighlight>
|<inputbox>
type=comment
page=Project:Sandbox
summary=Foo
id=bar
</inputbox>
|-
|'''inline='''
| <translate><!--T:97--> Make the InputBox be an inline element (no line break at beginning).</translate>
| search2
|
|<syntaxhighlight lang="html"><translate nowrap><!--T:98--> Text here:</translate> <inputbox>
type=search2
inline=true
width=10
</inputbox></syntaxhighlight>
| <translate><!--T:99--> Text here:</translate> <inputbox>
type=search2
inline=true
width=10
</inputbox>
|-
|'''dir='''
| <translate><!--T:100--> Right to left (rtl) or left to right (ltr).</translate> <translate><!--T:101--> Defaults to directionality of the page's language.</translate>
| <translate><!--T:102--> All types</translate>
|
|<syntaxhighlight lang="html"><inputbox>
dir=rtl
type=comment
page=Project:Sandbox
summary=Foo
</inputbox></syntaxhighlight>
|<inputbox>
dir=rtl
type=comment
page=Project:Sandbox
summary=Foo
</inputbox>
|-
| id="preloadparams" |'''preloadparams[]='''
| <translate><!--T:103--> Specify parameters to the preload text.</translate> <translate><!--T:104--> See [[<tvar name=man>Manual:Creating pages with preloaded text#Using parameters</tvar>|Creating pages with preloaded text]].</translate>
| create, comment, commenttitle
|{{MW version|version=1.25|comment=and later|gerrit change=|compact=1}}
|<syntaxhighlight lang="html"><inputbox>
type=create
preload=Log
preloadparams[]=param1
preloadparams[]=param2
</inputbox></syntaxhighlight>
|<inputbox>
type=create
preload=Log
preloadparams[]=param1
preloadparams[]=param2
</inputbox>
|-
|'''searchfilter='''
|<translate><!--T:123--> Specify parameters to append to the search</translate>
|search
|{{MW version|version=1.30|comment=and later|gerrit change=|compact=1}}
|<syntaxhighlight lang="html"><inputbox>
type=search
searchfilter=insource:foo
</inputbox></syntaxhighlight>
|<inputbox>
type=search
searchfilter=insource:foo
</inputbox>
|-
|'''useve='''
| <translate><!--T:124--> When creating a page the input box will use the new visual editor, if the extension is installed, and this parameter is set to true.</translate>
| create, comment
|
|<syntaxhighlight lang="html"><inputbox>
type=create
break=no
useve=true
</inputbox></syntaxhighlight>
|<inputbox>
type=create
break=no
useve=true
</inputbox>
|}
 
<translate><!--T:107--> Applying <tvar name=create>''create''</tvar> to an existing page simply gives the edit page.</translate>
<translate><!--T:108--> In that case <tvar name=preload><code>preload</code></tvar> is ignored.</translate>
<translate><!--T:109--> Applying <tvar name=comment>''comment''</tvar> for a new page works.</translate>
 
<translate><!--T:110--> The texts taken from the <tvar name=mediawiki><code>MediaWiki:</code></tvar> namespace are of course only examples, any existing page can be used for <tvar name=editintro><code>editintro</code></tvar> or <tvar name=preload><code>preload</code></tvar>.</translate>
<translate><!--T:111--> Unfortunately <tvar name=preload><code>preload</code></tvar> does not yet work for the [[<tvar name=special>Special:Upload</tvar>|Upload]] summary.</translate>
 
<translate>

2022년 1월 2일 (일) 17:52 판

Parameters

</translate>

<translate> Parameter</translate> <translate> Description</translate> <translate> Scope</translate> <translate> Compatibility</translate> <translate> Example</translate> <translate> Result</translate>
arialabel= Supply the aria-label attribute to the inputbox to allow generated markup be accessible to screen readers <translate> All types</translate> 틀:MW version
<inputbox>
type=search
arialabel=Search the Wiki
</inputbox>
bgcolor= <translate> Sets the table background color (HTML color values).</translate> <translate> Do not use quotes.</translate> <translate> All types</translate> ?
<inputbox>
type=search
bgcolor=#eeeeff
</inputbox>
width= <translate> Sets the width of the InputBox in characters.</translate> <translate> All types</translate> ?
<inputbox>
type=create
width=24
</inputbox>

default= <translate> Default text to put in the InputBox.</translate> <translate> All types</translate> ?
<inputbox>
type=comment
default=User talk:Eloquence
</inputbox>

preload= <translate> The page under this title will be preloaded (see <tvar name=1>틀:Ll</tvar>) into the blank editbox when a new page is created.</translate> create, comment, commenttitle ?
<inputbox>
type=create
preload=Log
</inputbox>

<translate> Enter the title of a non-existent page in the example InputBox above or below, and click "<tvar name=create>틀:Int</tvar>" or "<tvar name=new>틀:Int</tvar>" respectively to test this effect.</translate>
editintro= <translate> The page which is given under this parameter will be shown, as instructions, above the editing window.</translate> create, comment ?
<inputbox>
type=comment
editintro=MediaWiki:Missingcommenttext
</inputbox>

buttonlabel= <translate> This label will be used for the main button of the form.</translate> <translate> All types</translate> ?
<inputbox>
type=comment
buttonlabel=<translate nowrap><!--T:127--> Add new rumor</translate>
</inputbox>

hidden= <translate> This specifies that there is no InputBox.</translate>

<translate> It is used with parameter "<tvar name=default>default</tvar>", now not being a default, but the fixed value of the name of the page.</translate>

create, comment ?
<inputbox>
type=comment
editintro=Extension:InputBox/editintro comment
preload=Extension:InputBox/preload
hidden=yes
default=Extension talk:InputBox
buttonlabel=<translate nowrap><!--T:60--> Post a comment on the talk page</translate>
</inputbox>

searchbuttonlabel= <translate> This label will be used for the "Search full text" button of the search form.</translate> search, fulltext ?
<inputbox>
type=search
searchbuttonlabel=<translate nowrap><!--T:63--> Dig deeper</translate>
</inputbox>
fulltextbutton= <translate> Show the full text search button on search2 form</translate> search2 ?
<inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:66--> Dig deeper</translate>
fulltextbutton=true
</inputbox>
labeltext= <translate> Text to print beside the button</translate> search2 ?
<inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:69--> Dig deeper</translate>
labeltext=<translate nowrap><!--T:70--> Look for:</translate> 
</inputbox>
 
break= <translate> Whether or not to insert a line break between the input box and the button(s).</translate> <translate> Defaults to <tvar name=yes>yes</tvar> (use a line break).</translate> <translate> All types</translate> ?
<inputbox>
type=create
width=24
break=no
</inputbox>
namespaces= <translate> Support for namespace checkboxes in fulltext search.</translate>

<translate> With "<tvar name=main>Main**</tvar>", main article namespace is checked by default.</translate>

search, fulltext ?
<inputbox>
type=search
namespaces=Main**,Help
</inputbox>
prefix=

<translate>

  • Narrow down search to pages beginning with certain prefix.</translate> <translate> Note this only works with certain search back-ends, currently only <tvar name=ext>틀:Ll</tvar>.</translate> <translate> Defaults to empty string (search all pages).</translate>

<translate>

  • Create new page beginning with a certain prefix.</translate>

<translate>

  • In <tvar name=tmove>type=move</tvar>, the prefix is prepended to the default parameter.

Remark: underscores aren't recognized as spaces. </translate>

search, fulltext, create ?
<inputbox>
type=search
prefix={{FULLPAGENAME}}/Archive
</inputbox>

<translate> The button below prefixes the name with <tvar name=mypage>Special:Mypage/</tvar>.</translate>


placeholder= <translate> Define placeholder text that will display in the input box when it is empty.</translate> <translate> All types</translate> 틀:MW version
<inputbox>
type=search
placeholder=<translate nowrap><!--T:88--> Search this Wiki</translate>
</inputbox>
page= <translate> Page to posts comment to, or page to move.</translate> comment, move
<inputbox>
type=comment
page=Project:Sandbox
</inputbox>

minor= <translate> Minor edit.</translate> comment, create
<inputbox>
type=comment
page=Project:Sandbox
minor=true
</inputbox>

nosummary= <translate> Edit summary (headline) not required for new comment.</translate> comment
<inputbox>
type=comment
page=Project:Sandbox
nosummary=true
</inputbox>

summary= <translate> Edit summary or move reason.</translate> create, move
<inputbox>
type=create
default=Special:Mypage/inputbox test
summary=Foo
</inputbox>

id= <translate> id attribute for <tvar name=form><form></tvar>.</translate> <translate> All types</translate> 틀:MW versionfor some types
<inputbox>
type=comment
page=Project:Sandbox
summary=Foo
id=bar
</inputbox>

inline= <translate> Make the InputBox be an inline element (no line break at beginning).</translate> search2
<translate nowrap><!--T:98--> Text here:</translate> <inputbox>
type=search2
inline=true
width=10
</inputbox>
<translate> Text here:</translate>
 
dir= <translate> Right to left (rtl) or left to right (ltr).</translate> <translate> Defaults to directionality of the page's language.</translate> <translate> All types</translate>
<inputbox>
dir=rtl
type=comment
page=Project:Sandbox
summary=Foo
</inputbox>

preloadparams[]= <translate> Specify parameters to the preload text.</translate> <translate> See [[<tvar name=man>Manual:Creating pages with preloaded text#Using parameters</tvar>|Creating pages with preloaded text]].</translate> create, comment, commenttitle 틀:MW version
<inputbox>
type=create
preload=Log
preloadparams[]=param1
preloadparams[]=param2
</inputbox>

searchfilter= <translate> Specify parameters to append to the search</translate> search 틀:MW version
<inputbox>
type=search
searchfilter=insource:foo
</inputbox>
useve= <translate> When creating a page the input box will use the new visual editor, if the extension is installed, and this parameter is set to true.</translate> create, comment
<inputbox>
type=create
break=no
useve=true
</inputbox>

<translate> Applying <tvar name=create>create</tvar> to an existing page simply gives the edit page.</translate> <translate> In that case <tvar name=preload>preload</tvar> is ignored.</translate> <translate> Applying <tvar name=comment>comment</tvar> for a new page works.</translate>

<translate> The texts taken from the <tvar name=mediawiki>MediaWiki:</tvar> namespace are of course only examples, any existing page can be used for <tvar name=editintro>editintro</tvar> or <tvar name=preload>preload</tvar>.</translate> <translate> Unfortunately <tvar name=preload>preload</tvar> does not yet work for the [[<tvar name=special>Special:Upload</tvar>|Upload]] summary.</translate>

<translate>