Difference between revisions of "Template:Award"
Jump to navigation
Jump to search
m (oopsmore) |
m (+docs) |
||
Line 1: | Line 1: | ||
− | <div class=award style=" |
+ | <div class="award" style="{{{style|}}}"> |
{| style="{{{t-style|}}}" |
{| style="{{{t-style|}}}" |
||
{{#if: {{{l|}}}| |
{{#if: {{{l|}}}| |
||
− | ! class=award-l style="{{{l-style|}}}" {{!}} {{{l}}} }} |
+ | ! class="award-l" style="{{{l-style|}}}" {{!}} {{{l}}} }} |
− | | class=award-1 style="text-align: {{{1-align|center}}}; {{{1-style}}}" | {{{1}}} |
+ | | class="award-1" style="text-align: {{{1-align|center}}}; {{{1-style}}}" | {{{1}}}<!-- |
− | {{#if: {{{r|}}}| |
+ | -->{{#if: {{{r|}}}| |
− | ! class=award-r style="{{{r-style|}}}" {{!}} {{{r}}} }} |
+ | ! class="award-r" style="{{{r-style|}}}" {{!}} {{{r}}} }} |
|} |
|} |
||
− | </div><noinclude> |
+ | </div><noinclude>The base template for building [[:category user awards|user award templates]]. |
+ | |||
+ | There is {{{1}}} as the main field text with optional {{{1-align}}} for alignment and {{{1-style}}} fields for styling. There are also both {{{l}}} & {{{r}}} fields for the optional left and right icon boxes, and {{{l-style}}} & {{{r-style}}} fields for styling. For a list of current awards see [[:category: user awards]] |
||
+ | |||
+ | == Examples == |
||
+ | {{award |
||
+ | | this template only has a {{{1}}} field |
||
+ | }} |
||
+ | |||
+ | {{award |
||
+ | | this template has an {{{l}}} field |
||
+ | |l={{{l}}} |
||
+ | }} |
||
+ | |||
+ | {{award |
||
+ | | this template has an {{{r}}} field |
||
+ | |r={{{r}}} |
||
+ | }} |
||
+ | |||
+ | == Possible Awards == |
||
+ | |||
[[category: user awards| ]] |
[[category: user awards| ]] |
Revision as of 14:31, 15 June 2018
{{{1}}} |
The base template for building user award templates.
There is {{{1}}} as the main field text with optional {{{1-align}}} for alignment and {{{1-style}}} fields for styling. There are also both {{{l}}} & {{{r}}} fields for the optional left and right icon boxes, and {{{l-style}}} & {{{r-style}}} fields for styling. For a list of current awards see category: user awards
Examples
this template only has a {{{1}}} field |
{{{l}}} | this template has an {{{l}}} field |
---|
this template has an {{{r}}} field | {{{r}}} |
---|