Difference between revisions of "Template:Award2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mabdul
(new cat)
imported>Andrybak
 
(11 intermediate revisions by 7 users not shown)
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     = red
|- valign="top"
+
| borderwidth = 3px
| The default example
+
| color       = #fdffe7
| <code><nowiki>{{award2
+
| image       = Original Barnstar Hires.svg
|border=3px
+
| size       = 75px
|borderwidth=3px
+
| topic       = Test
|color=#fdffe7
+
| align      = left
|image=Original_Barnstar.png
+
| text       = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
|size=75px
+
| textcolor   =  
|topic=Test
+
}}
|text=This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
+
</pre>
|textcolor=
+
 
}}</nowiki></code>
+
{{ award2
| {{award2
+
| border     = red
|border=3px
+
| borderwidth = 3px
|borderwidth=3px
+
| color       = #fdffe7
|color=#fdffe7
+
| image       = Original Barnstar Hires.svg
|image=Original_Barnstar.png
+
| size       = 75px
|size=75px
+
| topic       = Test
|topic=Test
+
| align      = left
|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   =  
 
}}
 
}}
|- valign="top"
+
 
| A different example
+
<pre>
| <code><nowiki>{{award2
+
{{ award2
|border=12px
+
| border     = blue
|borderwidth=3px
+
| borderwidth = 3px
|color=#faebd7
+
| color       = #faebd7
|image=Example.png
+
| image       = Bad Title Example.png
|size=75px
+
| size       = 75px
|topic=Wikipedia Editor {{CURRENTYEAR}}
+
| topic       = Wikipedia Editor {{CURRENTYEAR}}
|text=This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
+
| align      = left
|textcolor=
+
| text       = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
}}</nowiki></code>
+
| textcolor   =  
| {{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=
 
 
}}
 
}}
|}
+
</pre>
  
<includeonly>
+
{{ award2
 +
| border      = blue
 +
| borderwidth = 3px
 +
| color      = #faebd7
 +
| image      = Bad Title Example.png
 +
| size        = 75px
 +
| topic      = Wikipedia Editor {{CURRENTYEAR}}
 +
| align      = left
 +
| text        = This is a test award. This is a test. You are now on [[Wikipedia]]. Thank you for editing.
 +
| textcolor  =
 +
}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia award master templates]]
+
[[Category:Wikipedia barnstar templates‎]]
 
 
<!-- ADD INTERWIKIS BELOW THIS -->
 
[[uk:Шаблон:Нагорода2]]
 
  
</includeonly>
+
}}</includeonly>

Latest revision as of 13:27, 29 March 2020

Usage

{{ award2
| border      = red
| borderwidth = 3px
| color       = #fdffe7
| image       = Original Barnstar Hires.svg
| size        = 75px
| topic       = Test
| align       = left
| 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      = blue
| borderwidth = 3px
| color       = #faebd7
| image       = Bad Title Example.png
| size        = 75px
| topic       = Wikipedia Editor {{CURRENTYEAR}}
| align       = left
| 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.