General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Template:Hide

From My wiki
Jump to navigation Jump to search

Options:

  • this=|The stuff that is hidden
  • title=more...|Short text that is not hidden
  • float=right|left|center
  • align=auto|right|left|center
  • valign=auto|top|middle|bottom
  • width=auto|50%|500
  • color=BBFFBB|or color of your choice
  • bgcolor=FFBBFF|white or some other background: #Color
  • If you have pipes in the content you will need to wrap them in <nowiki></nowiki> Left Most button. Or use {{pipe}} in place of Template:Pipe characters.

IE Given:

{{Hide|this=This is just some test hidden content. ...Lorem ipsum dolor...}}{{Clear}}
We also use Clear here to prevent later content from wrapping around the Hide content in these examples, normally wrapping would be preferred...

IE Given:

{{Hide|title=Specify the non hidden title which is displayed.|float=center|width=90%|color=FFBBBB|bgcolor=FFBBFF|this=This is just some test hidden content. ...Lorem ipsum dolor...}}{{Clear}}

IE Given:

{{Hide|title=We can even call other templates like IFrame...|float=center|align=center|width=512|color=BBBBFF|bgcolor=BBFFFF|this=
<center>{{IFrame|https://google.com | width=480 | height=280 | label=1 | links=1 | scroll=no}}</center>
}}
{{Clear}}

IE Given:

{{Hide|title=auto Width Align and Float Right |float=right |align=right           |color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=auto Width Align and Float Center|float=center|align=center          |color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=auto Width Align and Float Left  |float=left  |align=left            |color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=512 Align and Float Right        |float=right |align=right |width=512|color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=512 Align and Float Center       |float=center|align=center|width=512|color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=512 Align and Float Left         |float=left  |align=left  |width=512|color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=50% Align and Float Right        |float=right |align=right |width=50%|color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=50% Align and Float Center       |float=center|align=center|width=512|color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}
{{Hide|title=50% Align and Float Left         |float=left  |align=left  |width=50%|color=BBFFFF|bgcolor=BBFFBB|this=Blah Blah}}{{Clear}}

More content following the Hide Examples...