You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Avcell: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 6: Line 6:
| 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|}}}
|-
|-
|}</div></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
|}</div></includeonly><noinclude>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 text */
{{avbottom}}</pre>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 10:39, 29 August 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 text */
{{avbottom}}