Difference between revisions of "Template:Teaser-box"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m (test (template not ready yet))
 
m (Text replace - "collapsible collapsed" to "mw-collapsible mw-collapsed")
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
}}
}}
<br />
<br />
'''And there goes the template itself:'''
</noinclude>
</noinclude>
 
{| class="mw-collapsible mw-collapsed" style="background:lavender"
 
{| class="collapsible 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}}}