To get rid of this ad please Sign up/Login.
Difference between revisions of "Template:Teaser-box"
m (template is going beta) |
m |
||
| Line 16: | Line 16: | ||
}} | }} | ||
<br /> | <br /> | ||
'''And there goes the template itself:''' | |||
</noinclude> | </noinclude> | ||
{| class="collapsible collapsed" style="background:lavender" | {| class="collapsible collapsed" style="background:lavender" | ||
Revision as of 14:30, 14 June 2010
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}}} |