You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Avcell: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{| style="background: none; margin: 10px auto auto; border: 0px;" | {| style="background: none; margin: 10px auto auto; border: 0px;" | ||
|- | |- | ||
| align="center" width="140px" height="120px" title="{{{hover}}}" | {{#if: {{{image|}}} | [[File:{{{image}}} | | align="center" width="140px" height="120px" title="{{{hover}}}" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | }} | ||
|- | |- | ||
| align="center" width="140px" height="40px" style="padding: 0px 2px; border: 1px solid #{{#if: {{{caption|}}} | aaa | fff }}!important; }}" | {{{caption|}}} | | align="center" width="140px" height="40px" style="padding: 0px 2px; border: 1px solid #{{#if: {{{caption|}}} | aaa | fff }}!important; }}" | {{{caption|}}} |
Revision as of 14:58, 1 September 2012
This templates generates avatar galleries.
Syntax
{{avtop|WIDTH}} /* the width is optional and defines the total width of the enveloping div; can be expressed in % or px */ {{avcell|image=|hover=|caption=}} /* repeat this line for every avatar; leaving hover blank will not produce mouse-over title text */ {{avbottom}}