الفرق بين المراجعتين لصفحة «قالب:Collapsible block»

من ويكي أضِف
اذهب إلى التنقل اذهب إلى البحث
(أنشأ الصفحة ب'<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section--> {| <!-- Template:Collapse top --> class="navbox collapsi...')
 
ط
سطر 1: سطر 1:
−
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
+
{| class="collapsible collapsed" style="text-align: left; border: 0px; margin-top: 0.2em; width:100%; border: solid 1px silver;"
−
{| <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{#if:{{{width|}}}|width:{{{width}}};}}"
 
 
|-
 
|-
−
! style="background-color: {{{bg|#CFC}}}; text-align:{{#if:{{{left|}}}|left|center}}; font-size:112%;" | {{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}} 
+
! style="background-color: #f2dfce; text-align:center;" |{{{reason|{{{1|}}}}}}{{#if: {{{closer|{{{2|}}}}}}|&nbsp;— [[User:{{{closer|{{{2}}}}}}|{{{closer|{{{2}}}}}}]]}}  
−
{{#if:{{{warning|{{{2|}}}}}}
 
−
|{{!}}-
 
−
{{!}} style="text-align:center; font-style:italic;" {{!}} {{{2|The following is a closed debate. '''Please do not modify it.''' }}} }}
 
 
|-
 
|-
−
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{!}}<noinclude>Hello world!
+
| style="padding: 8px; background-color: white;" |
−
{{Collapse bottom}}
+
<noinclude>
−
{{/doc}}
+
|}  <!-- Not a mistake, it is needed to close the table above. -->
−
[[Category:Meta Templates|Collapse top]]
+
{{documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

مراجعة 10:33، 7 يوليو 2014