틀:Collapse top: 두 판 사이의 차이
(Fix Linter errors (wrapped lines inside a span tag cause multiple errors)) |
잔글 (wikipedia:en:Template:Collapse_top에서 판 103개를 가져왔습니다: import from enwiki) |
||
(사용자 2명의 중간 판 2개는 보이지 않습니다) | |||
2번째 줄: | 2번째 줄: | ||
{| <!-- 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;" |
{| <!-- 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}}};|}}" | <div style="display:inline;font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</div> |
! style="background: {{{bg|#{{main other|F0F2F5|CCFFCC}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|{{{{{|safesubst:}}}#if:{{{align|}}}|left|center}}}}; {{{{{|safesubst:}}}#if:{{{fc|}}}|color: {{{fc}}};|}}" | <div style="display:inline;font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</div> |
||
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}} |
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}} |
||
|{{{{{|safesubst:}}}!}}- |
|{{{{{|safesubst:}}}!}}- |
||
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed |
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed discussion. {{strongbad|Please do not modify it.}} }}} }} |
||
|- |
|- |
||
| style="border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|White}}};" {{{{{|safesubst:}}}!}}<noinclude> |
| style="border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|White}}};" {{{{{|safesubst:}}}!}}<noinclude> |
2021년 1월 1일 (금) 08:38 기준 최신판
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
| 알 수 없음 | 선택 사항 |