틀:Collapse top: 두 판 사이의 차이
(synch with Template:Collapse) |
(not the same) |
||
1번째 줄: | 1번째 줄: | ||
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section --> |
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section --> |
||
{| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed {{{class| |
{| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{{{{|safesubst:}}}#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;" |
||
|- |
|- |
||
! style="background: {{{bg|#{{main other|F0F2F5|CCFFCC}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; {{{{{|safesubst:}}}#if:{{{fc|}}}|color: {{{fc}}};|}}" | <span style="font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</span> |
! style="background: {{{bg|#{{main other|F0F2F5|CCFFCC}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; {{{{{|safesubst:}}}#if:{{{fc|}}}|color: {{{fc}}};|}}" | <span style="font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</span> |
2018년 7월 30일 (월) 01:50 판
Extended content |
---|
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
| 알 수 없음 | 선택 사항 |