Template:AM/Editor View history

m (moved </div> before end if no pic }})
m (placed pic inside floating div to fix line break)
Line 12: Line 12:
-->}}}}<!-- close iferror and if
-->}}}}<!-- close iferror and if
-->&nbsp;{{small|[{{PM|{{{1|UserName}}}|PM}}]}}<!-- build PM link with default
-->&nbsp;{{small|[{{PM|{{{1|UserName}}}|PM}}]}}<!-- build PM link with default
-->{{#if:{{{gho|}}}|<!-- If GHO name is given add a new line for avatar and name --><br>{{#if:{{{pic|}}}|[[{{{pic}}}|30px]]<!-- If a pic link is provided use that at 30px -->
-->{{#if:{{{gho|}}}|<!-- If GHO name is given add a new line for avatar and name --><br>{{#if:{{{pic|}}}|<div style="float:left; margin-left: 1em;">[[{{{pic}}}|30px]]</div><!-- If a pic link is provided use that at 30px -->
|<div style="float:left; margin-left: 1em; width: 2em; height: 2em; border-radius: 20px; <!--
|<div style="float:left; margin-left: 1em; width: 2em; height: 2em; border-radius: 20px; <!--
-->background: {{#switch:{{padleft:|1|{{{gho|John D}}}}}
-->background: {{#switch:{{padleft:|1|{{{gho|John D}}}}}

Revision as of 06:19, 18 September 2015

Documentation icon Template documentation[create]
Please add categories to the /doc subpage.
Subpages of this template.