Difference between revisions of "Template:Award"

From The Coppermind
Jump to navigation Jump to search
(copied from https://en.wikipedia.org/wiki/Module:Userbox html-wise)
 
m (move styles to common.css)
Line 1: Line 1:
<div class=award style="border: 1px solid #999; margin: 1px; width: 238px; {{{style|}}}">
+
<div class=award style=" {{{style|}}}">
  +
{| style="{{t-style|}}}"
{| style="border-collapse: collapse; width: 100%; margin-bottom: 0; background: #eee; "
 
{{#if: {{{l|}}}|
+
{{#if: {{{l|l}}}|
  +
! class=award-l style="{{{l-style|}}}" {{!}} {{{l}}} }}
! style="border: 0; width: 45px; height: 45px; background: #ddd; text-align: center; font-size: 14pt; color: black; padding: 0 1px 0 0; line-height: 1.25em; vertical-align: middle " {{!}} {{{l}}} }}
 
| style="border: 0; text-align: {{{1-align|center}}}; padding: 0 4px 0 4px; height: 45px; vertical-align: middle;" | {{{1}}}
+
| class=award-1 style="text-align: {{{1-align|center}}}; {{{1-style}}}" | {{{1}}}
{{#if: {{{r|}}}|
+
{{#if: {{{r|r}}}|
  +
! class=award-r style="{{{r-style|}}}" {{!}} {{{r}}} }}
! style="border: 0; width: 45px; height: 45px; background: #ddd; text-align: center; font-size: 14pt; color: black; padding: 0 1px 0 0; line-height: 1.25em; vertical-align: middle " {{!}} {{{r}}} }}
 
 
|}
 
|}
 
</div><noinclude>A template that helps build award templates
 
</div><noinclude>A template that helps build award templates
   
[[category: awards| ]]
+
[[category: user awards| ]]

Revision as of 14:30, 10 October 2016

{{{l}}} {{{1}}} {{{r}}}

A template that helps build award templates