Difference between revisions of "Template:Staff member"

From Wikimedia District of Columbia
Jump to navigation Jump to search
m (Reduce padding)
(Working)
Line 2: Line 2:
 
<li class="gallerybox" style="font-size:13px; line-height:14px; margin:10px; margin-bottom:20px;">
 
<li class="gallerybox" style="font-size:13px; line-height:14px; margin:10px; margin-bottom:20px;">
 
<div style="align:left; text-align:left;">
 
<div style="align:left; text-align:left;">
{{Image|file={{portrait|{{{name|Example name}}}}}|align=none|link=Biographies#{{{name|Example name}}}|padding=no|width=300px}}
+
{{Image|file={{portrait|{{{name|Example name}}}}}|align=none|link=Biographies#{{{name|Example name}}}|padding=no|width={{#ifeq:{{{small|}}}|yes|200px|300px}}}}
<div style="width:300px; font-weight:bold; font-size:110%;">[[Biographies#{{{name|Example name}}}|{{{name|Example name}}}]]</div>
+
<div style="width:{{#ifeq:{{{small|}}}|yes|200px|300px}}; font-weight:bold; font-size:110%;">[[Biographies#{{{name|Example name}}}|{{{name|Example name}}}]]</div>
{{#if:{{{position|}}}|<div style="width:300px; padding-top:6px; color:#666; font-size:100%; font-variant:small-caps;">{{{position}}}</div>}}
+
{{#if:{{{position|}}}|<div style="width:{{#ifeq:{{{small|}}}|yes|200px|300px}}; padding-top:6px; color:#666; font-size:100%; font-variant:small-caps;">{{{position}}}</div>}}
 
</div></li><noinclude></ul>
 
</div></li><noinclude></ul>
 
[[Category:Visual identity templates]]
 
[[Category:Visual identity templates]]

Revision as of 15:27, 6 August 2014