틀:Collapsible box/설명문서
이 문서는 틀:Collapsible box에 대한 설명입니다. 여기에는 틀 사용법, 분류 등 원래의 틀 문서에는 포함되지 않는 내용을 담고 있습니다. |
이 틀은 틀스타일을 사용합니다: |
사용법
[편집]Generic template for a collapsible box. Can be used to format templates with specific purposes. Little default formatting is provided; calling templates should set this as they see fit.
Generally, you should wrap this template in another template for a specific purpose.
- title: The box title, optional (always show if given)
- content: The box's main content (this can be collapsed)
- collapsed:
yes
to collapse the box by default - style_outer: CSS style for the outer box
- class_outer: CSS classes for the outer box
- attribs_outer: Additional CSS attributes for the outer box
- style_title: CSS style for the title
- class_title: CSS classes for the title
- style_content: CSS style for the content box
- class_content: CSS classes for the content box
- closing_divs: Whether to include closing divs for the outer box; defaults to yes.
- {{Collapsible box/e}} provides the appropriate number of closing divs.
예제
{{collapsible box | title = Box title | content = {{lorem ipsum}} }}
Box title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
예제
{{collapsible box | title = Box title | content = {{lorem ipsum}} | style_outer = border: 1px solid blue; | style_content = border: 1px solid red; }}
Box title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
예제
{{collapsible box | content = {{lorem ipsum}} | style_outer = border: 1px solid blue; | style_content = border: 1px solid red; }}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
[편집]- Users of {{collapsible box}}:
- {{doc example}}: uses this template for documentation examples
- {{closed}}: uses this template for closed discussions
- {{collapsed section}}: uses this to hide sections of books and other texts.
- {{Advertisements}}
- {{Front matter}}
- {{license container begin}} and {{license container end}}