Template:Preview: Difference between revisions

Template page
(Dokumentation)
m (spacefix)
Line 18: Line 18:




</noinclude>
</noinclude><includeonly><div style="float: left; width: 240px; text-align: center;">
<includeonly>
 
<div style="float: left; width: 240px; text-align: center;">
<span style="font-size: 150%;">{{{link|FIXME}}}</span><br/>
<span style="font-size: 150%;">{{{link|FIXME}}}</span><br/>
{{{description|}}}
{{{description|}}}
Line 27: Line 24:
[[File:{{{image|Chaosdorf-wiki.png}}}|200x210px]]
[[File:{{{image|Chaosdorf-wiki.png}}}|200x210px]]
</div>
</div>
</div>
</div></includeonly>
</includeonly>

Revision as of 13:36, 9 April 2012

Usage:

 {{Preview
 |image=foo.jpg
 |link=[[foo|Foo mit Quux]]
 |description=tolles Foo Bar (optional)
 }}{{Preview
 |image=bar.jpg
 |link=[[bar]]
 |description=irgendwas
 }} ...
 {{PreviewEnd}}
 

Es darf keine Newline zwischen }} und dem nächsten {{Preview geben, sonst wirft Mediawiki da Dinge rein. Dafür funktioniert diese Lösung ohne Tabellengefummel.