Template:AM/Editor View history

(fix color selection to also work with capital letters, and default color. fix alignment of gho name)
m (add left margin to color tile)
Line 13: Line 13:
-->&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|}}}|[[{{{pic}}}|30px]]<!-- If a pic link is provided use that at 30px -->
|<div style="float:left; 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}}}}}
|a|A|i|I|q|Q|y|Y|6 = #f16364
|a|A|i|I|q|Q|y|Y|6 = #f16364

Revision as of 06:11, 18 September 2015

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