Templat:Sembunyikan mulai: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(12 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|}}}&nbsp;</div>
| <!------------------------------------------------------------------------
<div class="NavContent" style="background-color: {{{bg2|transparent}}}; text-align: {{{ta2|center}}}; {{{extra2|}}}"><noinclude>{{sembunyikan selesai}}
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|}}}">&nbsp;&nbsp;<!--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" style="border{{#if: {{{borderexpanded|none}}};"><div class="NavFrame| |collapsed}}" style="border: {{{border|none}}};{{{style|}}}"><!--
--><div class="NavHead" style="background-color: {{{bg1|transparent}}}; text-align: {{{ta1|left}}}; {{{extra1|}}}"> {{{judultitlestyle|}}}&nbsp;</div"><!--
deprecated:-->{{{header|}}}<!---->{{{title|{{{judul|{{{caption|{{{1|}}}}}}}}}}}}&nbsp;</div><!--
--><div class="NavContent" style="background-color: {{{bg2|transparent}}}; text-align: {{{ta2|centerleft}}}; {{{extra2|}}}"><noinclude> {{sembunyikan selesai{bodystyle|{{{contentstyle|}}}}}}"><!--
 
-->}}</includeonly><noinclude>{{sembunyikan selesai}}
'''Lihat: [[Wikipedia:Sembunyikan dan Tampilkan]]'''
 
Variabel opsional:
*{{{1}}} atau {{{judul}}}: Teks judul
*border: default=none1px 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)=centerleft
*extra2: (extra style for NavContent)
Ditutup dengan {{tl|Sembunyikan selesai}}