One Piece Wiki
Advertisement
One Piece Wiki
4 634
páginas

{{{1}}}
Template-info.svg Documentação do Modelo (às vezes escondido ou invisível)

Ferramentas do modelo: purgarquais links aquio que transcreve issosubpáginas

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

Visite Predefinição:Hide/doc para editar este texto! (Como que isso funciona?) (Atualizar esse texto - porque?)