Difference between revisions of "Template:Teaser-box"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m (Text replace - "collapsible collapsed" to "mw-collapsible mw-collapsed")
 
Line 18: Line 18:
'''And there goes the template itself:'''
'''And there goes the template itself:'''
</noinclude>
</noinclude>
{| class="collapsible collapsed" style="background:lavender"
{| class="mw-collapsible mw-collapsed" style="background:lavender"
|<span style="color:lavender; display:none">.</span>
|<span style="color:lavender; display:none">.</span>
!style="width:45px;"|<span style="color:lavender; display:none">.</span>
!style="width:45px;"|<span style="color:lavender; display:none">.</span>

Latest revision as of 16:33, 4 April 2012

This template lcreates you easily create a box showing a piece of teaser content and a show/hide button that allows someone to display the whole content

Example Code:

{{Teaser-box
|Teaser-content= This could be some teaser text.
|Rest-of-content= And here you could see all the rest of the content.
}}


How it looks:

. . This could be some teaser text.
. . And here you could see all the rest of the content.


And there goes the template itself:

. . {{{Teaser-content}}}
. . {{{Rest-of-content}}}