Templat:Sembunyikan mulai: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
(16 revisi perantara oleh 4 pengguna tidak ditampilkan) | |||
Baris 1:
<includeonly><!--
<div class="NavFrame" style="border: {{{border|none}}};"><div class="NavFrame" style="border: {{{border|none}}};">▼
-->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left
<div class="NavHead" style="background-color: {{{bg1|transparent}}}; text-align: {{{ta1|left}}}; {{{extra1|}}}">{{{judul|}}} </div>▼
| <!------------------------------------------------------------------------
<div class="NavContent" style="background-color: {{{bg2|transparent}}}; text-align: {{{ta2|center}}}; {{{extra2|}}}">▼
showhide = left, so place [show/hide] link on lefthand side:
-------------------------------------------------------------------------
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!--
--><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!--
--><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->;
text-align:left;font-weight:bold;{{{titlestyle|}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|{{{judul|{{{caption|{{{1|}}}}}}}}}}}}</div><!--
--><div class="NavContent" style="padding-left:0.3em;text-align:left;{{{bodystyle|{{{contentstyle|}}}}}}"><!--
-->| <!------------------------------------------------------------------------
showhide /= left, so place [show/hide] link on righthand side:
-------------------------------------------------------------------------
▲ --><div class="NavFrame
▲ --><div class="NavHead" style="background
deprecated:-->{{{header|}}}<!---->{{{title|{{{judul|{{{caption|{{{1|}}}}}}}}}}}} </div><!--
▲ --><div class="NavContent" style="background
-->}}</includeonly><noinclude>{{sembunyikan selesai}}
'''Lihat: [[Wikipedia:Sembunyikan dan Tampilkan]]'''
Variabel opsional:
*{{{1}}} atau {{{judul}}}: Teks judul
*border: default=1px solid #AAAAAA
*fontsize1: default (fontsize NavHead)=small
*bg1: default (background-color NavHead)=transparent
*ta1: default (text-align NavHead)=left
*extra1: (extra style for NavHead)
*fontsize2: default (fontsize NavContent)=small
*bg2: default (background-color NavContent)=transparent
*ta2: default (text-align NavContent)=left
*extra2: (extra style for NavContent)
Ditutup dengan {{tl|Sembunyikan selesai}}
[[Kategori:Templat umum]]
</noinclude>
|