(Bild optional) |
(Bild mit Link zu Projekt) |
||
Line 19: | Line 19: | ||
</noinclude><includeonly><div style="float: left; width: 240px; text-align: center;"> | </noinclude><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}}}|{{{linktitle|{{{link|FIXME}}}}}}]]</span><br/> | ||
{{{description|}}} | {{{description|}}} | ||
<div style="width: 240px; height: 204px; margin-top: 1em;"> | <div style="width: 240px; height: 204px; margin-top: 1em;"> | ||
{{#if: {{{image|}}}|[[File:{{{image|Chaosdorf-wiki.png}}}|200x210px]]}} | {{#if: {{{image|}}}|[[File:{{{image|Chaosdorf-wiki.png}}}|200x210px|link={{{link|}}}]]}} | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> |
Revision as of 23:26, 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.