Ir para o conteúdo

Predefinição:Collapse top

De DropWiki PoE 2
Revisão de 23h04min de 29 de janeiro de 2025 por 2804:7f0:b342:7285:2d1e:1c01:abfd:fada (discussão) (Criou página com '<div class="mw-customtoggle-{{{2|CollapsibleB}}}" style="cursor:pointer; position:relative; width:{{{width|90}}}%; left:8px; background: linear-gradient(#593a22, #392414); display:inline-block; border-radius: 2px; padding:0px 0px; line-height:24px; color:#dcd1ad; font-size:15px; font-weight:bold"><div align="{{{align|center}}}"> {{{1|<noinclude>Extended content</noinclude>}}} <span style="position:absolute;left:5px;">▾</span> <span style="position:absolute;right:5...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Extended content [Expand]

Lorem ipsum

Template documentation[view] [edit] [history] [purge]


Usage

The {{collapse top}} template, and its paired template {{collapse bottom}}, are used for placing a collapse box around certain content (like resolved talk page discussions) that is no longer considered necessary information for the space.

Note: It is not intended to hide or collapse content in articles. Content in articles can be seperated using things like {{Blockquote top}} and {{Blockquote bottom}}, or {{Code}}. It is moreso a tool to simplify long talkpages with previously complicated or long topics. See Wikipedia's Manual of Style

Example

Place {{collapse top}}, and {{collapse bottom}}, around the text to be collapsed. For example:

{{collapse top|This is the title text|OptionalIDToMakeThatEachColapsibleCollapseAndExpandSeparately}}
Sample contents text
{{collapse bottom}}

produces:

This is the title text [Expand]

Sample contents text