Difference between revisions of "Template:Award2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mabdul
(new cat)
imported>Thumperward
(tidy)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
  
==Usage==
+
== Usage ==
{| border="2px" cellpadding="2px" style="border:2px solid #666; border-collapse:collapse; background:none; {{{1|}}}"
+
 
! Usage
+
<pre>
! Code
+
{{ award2
! Output
+
| border     = 3px
|- valign="top"
+
| borderwidth = 3px
| The default example
+
| color       = #fdffe7
| <code><nowiki>{{award2
+
| image       = Original Barnstar.png
|border=3px
+
| size       = 75px
|borderwidth=3px
+
| topic       = Test
|color=#fdffe7
+
| text       = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
|image=Original_Barnstar.png
+
| textcolor   =  
|size=75px
 
|topic=Test
 
|text=This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
 
|textcolor=
 
}}</nowiki></code>
 
| {{award2
 
|border=3px
 
|borderwidth=3px
 
|color=#fdffe7
 
|image=Original_Barnstar.png
 
|size=75px
 
|topic=Test
 
|text=This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
 
|textcolor=
 
 
}}
 
}}
|- valign="top"
+
</pre>
| A different example
+
 
| <code><nowiki>{{award2
+
{{ award2
|border=12px
+
| border      = 3px
|borderwidth=3px
+
| borderwidth = 3px
|color=#faebd7
+
| color      = #fdffe7
|image=Example.png
+
| image      = Original Barnstar.png
|size=75px
+
| size        = 75px
|topic=Wikipedia Editor {{CURRENTYEAR}}
+
| topic      = Test
|text=This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
+
| text        = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
|textcolor=
+
| textcolor  =
}}</nowiki></code>
+
}}
| {{award2
+
 
|border=12px
+
<pre>
|borderwidth=3px
+
{{ award2
|color=#faebd7
+
| border     = 12px
|image=Example.png
+
| borderwidth = 3px
|size=75px
+
| color       = #faebd7
|topic=Wikipedia Editor {{CURRENTYEAR}}
+
| image       = Example.png
|text=This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
+
| size       = 75px
|textcolor=
+
| topic       = Wikipedia Editor {{CURRENTYEAR}}
 +
| text       = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
 +
| textcolor   =  
 +
}}
 +
</pre>
 +
 
 +
{{ award2
 +
| border     = 12px
 +
| borderwidth = 3px
 +
| color       = #faebd7
 +
| image       = Example.png
 +
| size       = 75px
 +
| topic       = Wikipedia Editor {{CURRENTYEAR}}
 +
| text       = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
 +
| textcolor   =  
 
}}
 
}}
|}
 
  
 
<includeonly>
 
<includeonly>

Revision as of 10:41, 1 May 2012

Usage

{{ award2
| border      = 3px
| borderwidth = 3px
| color       = #fdffe7
| image       = Original Barnstar.png
| size        = 75px
| topic       = Test
| text        = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
| textcolor   = 
}}
A Barnstar!
Test

This is a test award. This is a test. You are now on Wikipedia. Thank you for editing.
{{ award2
| border      = 12px
| borderwidth = 3px
| color       = #faebd7
| image       = Example.png
| size        = 75px
| topic       = Wikipedia Editor {{CURRENTYEAR}}
| text        = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
| textcolor   = 
}}
A Barnstar!
Wikipedia Editor 2026

This is a test award. This is a test. You are now on Wikipedia. Thank you for editing.