Templat:Tampilkan
Templat ini adalah templat yang digunakan ketika Anda ingin meminimalkan informasi yang akan diperluas pada kebijaksanaan pengguna.
Penggunaan
Parameter yang tidak disebutkan namanya
{{tampilkan
|Header!
|Content!
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
}}
menghasilkan
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
Parameter bernomor
{{tampilkan
|1=Header!
|2=Content!
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
}}
menghasilkan
Parameter keselarasan
Alignment horizontal teks header dan teks konten dapat dimanipulasi dengan menggunakan parameter | dan |. Pilihan yang valid adalah left (default), center, atau right. Jangan menggunakan penawaran (yaitu bukan "center") atau warna header dapat berubah. Selain itu, saat | adalah mungkin, hal itu menyebabkan header tumpang tindih dengan tombol [tampilkan].
{{tampilkan
|head-align = center
|content-align = right
|1 = Header!
|2 = Content!
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
}}
menghasilkan
Parameter gaya
Default CSS styling mungkin berubah dengan menggunakan parameter |, |, dan |.
{{tampilkan
|frame-style = border: 1px solid silver; padding: 0.3em;
|head-style = background-color: #AADDAA; text-align: center;
|content-style = background-color: #CCFFCC; text-align: right;
|1 = Header!
|2 = Content!
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
}}
menghasilkan
Penggunaan dalam tabel
{| class="wikitable" width=300px
|-
|
{{tampilkan
|Header!
|Content!
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.}}
|}
menghasilkan
|
Header!
Content!
This information here will not tampilkan until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button. |
Lihat pula
- {{Collapse}}
- {{Collapsible section}}
- {{Divhide}}
- {{Hidden}}
Konten ini disalin dari wikipedia, mohon digunakan dengan bijak.


