틀:Collapse top/TemplateData: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
(TFD closed as keep (XFDcloser))
잔글 (wikipedia:en:Template:Collapse_top/TemplateData에서 판 8개를 가져왔습니다: import from enwiki)
 
(사용자 3명의 중간 판 4개는 보이지 않습니다)
1번째 줄: 1번째 줄:


==TemplateData==
==TemplateData==
{{TemplateData header}}
{{TemplateDataHeader}}
<templatedata>
<templatedata>
{
{
7번째 줄: 7번째 줄:
"1": {
"1": {
"aliases": [
"aliases": [
"title"
"title",
"heading",
"header",
"reason",
"result"
],
],
"label": "Title",
"label": "Title",
26번째 줄: 30번째 줄:
},
},
"expand": {
"expand": {
"aliases": [
"description": "Will leave the material uncollapsed with the border and coloring",
"collapse"
], "description": "Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring",
"example": "true",
"example": "true",
"type": "string",
"type": "string",

2021년 1월 1일 (금) 08:39 기준 최신판

TemplateData

틀:TemplateData header

Use in conjunction with {{Collapse bottom}}. Will collapse text in between the two templates.

틀 변수[틀데이터 관리]

변수설명형식상태
Title1 title heading header reason result

Main title of collapsed box

예시
This is the title text
알 수 없음필수
Custom warning line2

Will override the standard warning line, and make the 'warning' parameter unnecessary

예시
This is a custom warning line
문자열선택 사항
indentindent

Indents the box from the left of the page

자동 값
0px
알 수 없음선택 사항
expandexpand collapse

Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring

예시
true
자동 값
문자열선택 사항
Border width (px)border

Sets the width of the border line on the collapsed material

기본값
1px
예시
2px
자동 값
알 수 없음선택 사항
Border colorb-color

Sets the border color

기본값
Silver
예시
#F0F2F5
알 수 없음선택 사항
Template width (px or %)width

Sets the width of the overall template

예시
50%
알 수 없음선택 사항
Collapsed material background colorbg

Sets the background color of the collapsed material

기본값
#CFC
예시
#F0F2F5
알 수 없음선택 사항
Alight along the left margin (true or blank)left

Will align the 'parameter 1 title' along the left margin

예시
true
문자열선택 사항
Title font colorfc

Sets the font color of the title of the collapsible bar

기본값
Black
예시
#F0F2F5
알 수 없음선택 사항
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."

예시
true
알 수 없음선택 사항
Expanded box border size & colorborder2

Sets the border of the box that appears when template is expanded

기본값
1px silver
예시
2px
알 수 없음선택 사항
Padding (px)padding

Sets the padding on the collapsed material in the colored area

기본값
8px
예시
16px
알 수 없음선택 사항
Expanded box colorbg2

Sets background of the box that appears when template is expanded

기본값
white
예시
#F0F2F5
알 수 없음선택 사항