틀:Collapse top/TemplateData: 두 판 사이의 차이
(add template data header) |
잔글 (wikipedia:en:Template:Collapse_top/TemplateData에서 판 8개를 가져왔습니다: import from enwiki) |
||
(사용자 5명의 중간 판 6개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
==TemplateData== |
==TemplateData== |
||
{{TemplateData header}} |
|||
{{TemplateDataHeader}} |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
6번째 줄: | 7번째 줄: | ||
"1": { |
"1": { |
||
"aliases": [ |
"aliases": [ |
||
"title" |
"title", |
||
"heading", |
|||
"header", |
|||
"reason", |
|||
"result" |
|||
], |
], |
||
"label": "Title", |
"label": "Title", |
||
25번째 줄: | 30번째 줄: | ||
}, |
}, |
||
"expand": { |
"expand": { |
||
"aliases": [ |
|||
⚫ | |||
"collapse" |
|||
⚫ | |||
"example": "true", |
"example": "true", |
||
"type": "string", |
"type": "string", |
2021년 1월 1일 (금) 08:39 기준 최신판
TemplateData
Use in conjunction with {{Collapse bottom}}. Will collapse text in between the two templates.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
Title | 1 title heading header reason result | Main title of collapsed box
| 알 수 없음 | 필수 |
Custom warning line | 2 | Will override the standard warning line, and make the 'warning' parameter unnecessary
| 문자열 | 선택 사항 |
indent | indent | Indents the box from the left of the page
| 알 수 없음 | 선택 사항 |
expand | expand collapse | Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring
| 문자열 | 선택 사항 |
Border width (px) | border | Sets the width of the border line on the collapsed material
| 알 수 없음 | 선택 사항 |
Border color | b-color | Sets the border color
| 알 수 없음 | 선택 사항 |
Template width (px or %) | width | Sets the width of the overall template
| 알 수 없음 | 선택 사항 |
Collapsed material background color | bg | Sets the background color of the collapsed material
| 알 수 없음 | 선택 사항 |
Alight along the left margin (true or blank) | left | Will align the 'parameter 1 title' along the left margin
| 문자열 | 선택 사항 |
Title font color | fc | Sets the font color of the title of the collapsible bar
| 알 수 없음 | 선택 사항 |
Warning (true or blank) | warning | Will display a default warning line under the main title which reads "The following is a closed debate. Please do not modify it."
| 알 수 없음 | 선택 사항 |
Expanded box border size & color | border2 | Sets the border of the box that appears when template is expanded
| 알 수 없음 | 선택 사항 |
Padding (px) | padding | Sets the padding on the collapsed material in the colored area
| 알 수 없음 | 선택 사항 |
Expanded box color | bg2 | Sets background of the box that appears when template is expanded
| 알 수 없음 | 선택 사항 |