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
No edit summary |
No edit summary |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="float:left;"> | <includeonly><div style="float:left;"> | ||
{| style="background: none; margin: auto; border: 0px;" | {| style="background: none; margin: 10px auto auto; border: 0px;" | ||
|- | |- | ||
| align="center" height="120px" title="{{{hover}}}" {{ | | align="center" width="140px" height="120px" title="{{{hover}}}" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | }} | ||
|- | |- | ||
| align="center" width=" | | align="center" width="140px" height="40px" style="padding: 0px 2px; border: 1px solid #{{#if: {{{caption|}}} | aaa | fff }}!important; }}" | {{{caption|}}} | ||
|- | |- | ||
|}</div></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> | |}</div></includeonly><noinclude>{{Template | ||
|Name=Avcell | |||
|Type=Formatting | |||
|Type2= | |||
|Type3= | |||
|Sub=No | |||
|Designer=Tierce | |||
|Designer2= | |||
|Designer3= | |||
|Notes= | |||
}} | |||
This templates generates avatar galleries. | |||
== Syntax == | |||
<pre>{{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}}</pre> | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 21:04, 21 November 2014
|
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}}