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

Revi HQ
내용 추가됨 내용 삭제됨
(add "indent" option using margin-left)
(move margin to outside)
1번째 줄: 1번째 줄:
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
{| <!-- Template:Collapse top --> class="navbox collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||collapsed}}" style="background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; margin-left:{{{indent|0px}}}; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
{| <!-- Template:Collapse top --> class="navbox collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||collapsed}}" style="background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
|-
|-
! style="background-color: {{{bg|#CFC}}}; font-size:112%;" | {{{1|{{{title|{{{reason|{{{header|Extended content}}} }}} }}} }}}
! style="background-color: {{{bg|#CFC}}}; font-size:112%;" | {{{1|{{{title|{{{reason|{{{header|Extended content}}} }}} }}} }}}
6번째 줄: 7번째 줄:
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is an archived debate. <span style="color:red;">'''Please do not modify it.'''</span>}}} }}
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is an archived debate. <span style="color:red;">'''Please do not modify it.'''</span>}}} }}
|-
|-
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{{{{|safesubst:}}}!}}<noinclude>
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{{{{|safesubst:}}}!}}</div><noinclude>
{{lorem ipsum|3}}
{{lorem ipsum|3}}
{{Collapse bottom}}
{{Collapse bottom}}

2011년 5월 17일 (화) 21:08 판

Template documentation[create]