Difference between revisions of "Template:Award2"
Jump to navigation
Jump to search
imported>Little Mountain 5 m (fix so empty align parameter automatically center-aligns) |
imported>WOSlinker (style="vertical-align:top;") |
||
| Line 1: | Line 1: | ||
{| class="barnstar" style="border: 1px solid {{{border|gray}}}; background-color: {{{color|#fdffe7}}}; {{{bodystyle|}}}" | {| class="barnstar" style="border: 1px solid {{{border|gray}}}; background-color: {{{color|#fdffe7}}}; {{{bodystyle|}}}" | ||
| [[File:{{{image|{{{1|Original Barnstar.png}}}}}}|{{{size|100px}}}|alt={{{alt|A Barnstar!}}}]] | | [[File:{{{image|{{{1|Original Barnstar.png}}}}}}|{{{size|100px}}}|alt={{{alt|A Barnstar!}}}]] | ||
| − | | | + | | style="vertical-align:top;" | {{#if:{{{topic|<noinclude>An Award</noinclude>}}}|<div style="text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; font-size: x-large; font-weight: bold; padding: 0; vertical-align: bottom; color: {{{textcolor|black}}}">{{{topic|An Award}}}</div> |
---- | ---- | ||
}}<span style="color: {{{textcolor|black}}}">{{{text|{{{2|{{Lorem ipsum}} }}}}}}</span> | }}<span style="color: {{{textcolor|black}}}">{{{text|{{{2|{{Lorem ipsum}} }}}}}}</span> | ||
|}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> | |}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> | ||
Revision as of 17:38, 5 November 2014
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 =
}}
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 =
}}
Wikipedia Editor 2026
This is a test award. This is a test. You are now on Wikipedia. Thank you for editing. |
| The above documentation is transcluded from Template:Award2/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
