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

(Cerulean (토론)의 1428976판 편집을 되돌림)
태그: 편집 취소
편집 요약 없음
 
(사용자 2명의 중간 판 29개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{wikitext|<nowiki>{{생물 분류
== OO.ui ==
|이름=오렌지
 
|그림= 오렌지.jpg
=== demo ===
|색=식물
https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop
|계=[[식물|식물계]]
 
|미분류_문=[[속씨식물|속씨식물군]]
=== 사용법 ===
|미분류_강=[[진정쌍떡잎식물|진정쌍떡잎식물군]]
<syntaxhighlight lang="js">
|미분류_목=[[장미군]]
mw.loader.using(['oojs-ui-core', 'oojs-ui.styles.icons-editing-advanced'], '''function''');
|목=[[무환자나무목]]
 
|과=[[운향과]]
function () { ........
|속=[[귤속]]
</syntaxhighlight>
|종='''오렌지'''
 
|학명=''Citrus × sinensis''
아이콘을 사용하기 위한 모듈<br/>
}}</nowiki>}}
oojs-ui.styles.icons-editing-advanced<br/>
oojs-ui.styles.icons-movement<br/>
oojs-ui.styles.icons-content<br/>
...
 
아이콘 그룹은 아래 데모에서 확인<br/>
https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop
 
Depending on which of the features you're going to use, you should list one or more of the following modules as dependencies of your modules that use OOUI:
 
* <code>oojs-ui-core</code> — OOUI's core JavaScript library. Contains the basic widgets and layouts that are also available in PHP (see exact list above) and the ability to infuse them.
* <code>oojs-ui-widgets</code> — Additional widgets and layouts.
* <code>oojs-ui-toolbars</code> — Toolbar and tools.
* <code>oojs-ui-windows</code> — Windows and dialogs.
* <code>oojs-ui.styles.icons-*</code> — Specific icon styles depending on what icons you may want to use, e.g. <code>oojs-ui.styles.icons-interactions</code> for check icon. Group names can be found in demo page or in code.

2023년 12월 30일 (토) 22:25 기준 최신판

OO.ui[편집 | 원본 편집]

demo[편집 | 원본 편집]

https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop

사용법[편집 | 원본 편집]

mw.loader.using(['oojs-ui-core', 'oojs-ui.styles.icons-editing-advanced'], '''function''');

function () { ........

아이콘을 사용하기 위한 모듈
oojs-ui.styles.icons-editing-advanced
oojs-ui.styles.icons-movement
oojs-ui.styles.icons-content
...

아이콘 그룹은 아래 데모에서 확인
https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop

Depending on which of the features you're going to use, you should list one or more of the following modules as dependencies of your modules that use OOUI:

  • oojs-ui-core — OOUI's core JavaScript library. Contains the basic widgets and layouts that are also available in PHP (see exact list above) and the ability to infuse them.
  • oojs-ui-widgets — Additional widgets and layouts.
  • oojs-ui-toolbars — Toolbar and tools.
  • oojs-ui-windows — Windows and dialogs.
  • oojs-ui.styles.icons-* — Specific icon styles depending on what icons you may want to use, e.g. oojs-ui.styles.icons-interactions for check icon. Group names can be found in demo page or in code.