Difference between revisions of "Template:Award"

From The Coppermind
Jump to navigation Jump to search
m (oops)
m (oops)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class=award style=" {{{style|}}}">
+
<div class="award" style="{{{style|}}}">
 
{| style="{{{t-style|}}}"
 
{| style="{{{t-style|}}}"
{{#if: {{{l|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|r}}}|
+
-->{{#if: {{{r|}}}|
! class=award-r style="{{{r-style|}}}" {{!}} {{{r}}} }}
+
! class="award-r" style="{{{r-style|}}}" {{!}} {{{r}}} }}
 
|}
 
|}
</div><noinclude>A template that helps build award templates
+
</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| ]]

Latest revision as of 14:32, 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[edit]

this template only has a {{{1}}} field
{{{l}}} this template has an {{{l}}} field
this template has an {{{r}}} field {{{r}}}

Possible Awards[edit]