문서 편집 권한이 없습니다. 다음 이유를 확인해주세요: 요청한 명령은 다음 중 하나의 권한을 가진 사용자에게 제한됩니다: 사용자, 관리자. 문서를 고치려면 이메일 인증 절차가 필요합니다. 사용자 환경 설정에서 이메일 주소를 입력하고 이메일 주소 인증을 해주시기 바랍니다. 문서의 원본을 보거나 복사할 수 있습니다. <templatestyles src="BubbleBoxstyles.css" /><includeonly><div class="{{#ifeq:{{{background|}}}|bubbles|bubbleboxbg}} {{#if:{{{collapsed|}}}|mw-collapsible}} {{#ifeq:{{{collapsed|}}}|true|mw-collapsed}} {{{tags|}}}" style="box-shadow: 0px 0px 15px #ffffff inset; border-width: 10px 1px 10px 1px; border-style: solid; border-color: rgb({{#if:{{{border|}}}|{{{border}}}|{{SiteColor|Generic}}}}); border-radius: 10px; padding: 15px; margin: 4px; {{#ifeq:{{{background|}}}|bubbles||background-color: {{#if:{{{background|}}}|{{{background}}}|rgba({{#if:{{{border|}}}|{{{border}}}|{{SiteColor|Generic}}}}, 0.25)}};}} {{{style|}}}">{{#if:{{{collapsed|}}}|{{{1}}}<div class="mw-collapsible-content">|{{#ifeq:{{{1|}}}|open||{{{1}}}</div>}}}}</includeonly><noinclude>__NOTOC__ Produces a site-standard content container. === Parameters === {| |- |<code>content</code>||Unnamed.||The content of the container, or "open" to leave the container as an unterminated <nowiki><div></nowiki> element. |- style="vertical-align: top;" |<code>border</code>||Optional.||An RGB triplet to use as the border color of the container. The default color is {{SiteColor|Generic}}, defined in [[Template:SiteColor|SiteColor]] as "Generic". |- style="vertical-align: top;" |<code>background</code>||Optional.||A CSS color value to use as the background for the content portion of the container, or "bubbles" for the site-standard bubble background. The default color is rgba(<code>border</code>, 0.25). |- style="vertical-align: top;" |<code>style</code>||Optional.||A CSS property list to apply to the container. |- style="vertical-align: top;" |<code>collapsed</code>||Optional.||If present, the container becomes collapsible and two nested, unterminated <nowiki><div></nowiki> elements. <code>content</code> will appear before the collapsible region. Must be one of the following: *"true" - The collapsible region is collapsed by default. *"false" - The collapsible region is expanded by default. |- style="vertical-align: top;" |<code>tags</code>||Optional.||If present, the given tag names will be added to the element. This is useful only for back-end JavaScript purposes. |} === Example === ==== Markup ==== <nowiki>{{BubbleBox|background=rgba({{SiteColor|Splatoon}}, 0.25)|border={{SiteColor|Splatoon}}|Sample text 1}} {{BubbleBox|Sample text 2}} {{BubbleBox|border={{SiteColor|Splatoon 2}}|Sample text 3}} {{BubbleBox|open|background=stripes|border={{SiteColor|NIWA}}}}Sample text 4</div> {{BubbleBox|collapsed=false|border=192,192,192|Static content}}Collapsible content</div></div></nowiki> ==== Output ==== {{BubbleBox|background=rgba({{SiteColor|Splatoon}}, 0.25)|border={{SiteColor|Splatoon}}|Sample text 1}} {{BubbleBox|Sample text 2}} {{BubbleBox|border={{Sitecolor|Splatoon 2}}|Sample text 3}} {{BubbleBox|background=stripes|border={{SiteColor|NIWA}}|open}}Sample text 4</div> {{BubbleBox|collapsed=false|border=192,192,192|Static content}}Collapsible content</div></div> [[Category:Templates]] </noinclude> 이 문서에서 사용한 틀: 틀:BubbleBox (원본 보기) 틀:BubbleBoxstyles.css (원본 보기) 틀:SiteColor (원본 보기) 틀:Sitecolor (원본 보기) 틀:BubbleBox 문서로 돌아갑니다.