FANDOM


{{{1}}}
Template-info  Templat Dokumentasi (untuk templat di atas, kadang-kadang tersembunyi atau tak terlihat) (lihat - sunting - riwayat)
Description

This template hide a text or an element, like another template.

Dependencies

This template uses the following JavaScript codes: MediaWiki:Common.js/elementClass.js and MediaWiki:Common.js/togglers.js. The codes must be placed or imported in MediaWiki:Common.js.

Syntax

Type {{T|Hide|text}} where you want to show/hide the text. If the text to be hidden is a table, it is advisable to use the two-part version of the template:

{{hide|mode=start}}
…some complex text, e.g. a table…
{{hide|mode=end}}
Parameters
  • text: the text to be hidden - free.
  • 1= text to be hidden, if contains the equal sign "=" - free.
  • mode= can be equal to start or end.
  • showbutton= the text on which one must click to show. Defaults to [show].
  • hidebutton= the text on which one must click to hide. Defaults to [hide]
Samples

{{Hide|Text to be hidden}} results in:

Text to be hidden

{{Hide|1=Text with the equal sign "="}} results in:

Text with the equal sign "="
{{hide|mode=start}}
{| class=wikitable
| tata || titi
|}
{{hide|mode=end}}

results in

tata titi

{{Hide|showbutton=+|hidebutton=-|Text to be hidden}} results in:

Text to be hidden
Models

- http://openwetware.org/wiki/Template:Hide openwetware.org

Kunjungi Templat:Hide/doc untuk mengedit teks ini! (Bagaimana ini bekerja?) (segarkan teks ini - kenapa?)
Community content is available under CC-BY-SA unless otherwise noted.