Template:NewsUpdate: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="border:solid {{{bordercolor}}} {{{border}}}px; background-color:{{{framecolor | {| style="border:solid {{{bordercolor}}} {{{border}}}px; background-color:{{{framecolor}}}" | ||
|- | |- | ||
|bgcolor="{{{barcolor}}}" |<center><font color="{{{titlecolor}}}">'''{{{title}}}'''</font></center> | |bgcolor="{{{barcolor}}}" |<center><font color="{{{titlecolor}}}">'''{{{title}}}'''</font></center> | ||
Line 7: | Line 7: | ||
|- | |- | ||
|bgcolor="{{{bgcolor}}}" |<font color="{{{infocolor}}}">{{{info}}}</font> | |bgcolor="{{{bgcolor}}}" |<font color="{{{infocolor}}}">{{{info}}}</font> | ||
|- | |||
|bgcolor="{{{bgcolor}}}" |<font color="{{{infocolor}}}">{{{sig}}}</font> | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
Line 12: | Line 14: | ||
<noinclude> | <noinclude> | ||
===Description=== | ===Description=== | ||
This is a completely customizable template for creating a "latest news" or "events" table for your group. It gets updated every now and then. --< | This is a completely customizable template for creating a "latest news" or "events" table for your group. It gets updated every now and then. --[[User:Elantzb|Lantz]]<sup>[[User_talk:Elantzb|Talk]]</sup> 10:13, 23 November 2010 (UTC) | ||
Line 22: | Line 24: | ||
|border= | |border= | ||
|framecolor= | |framecolor= | ||
|barcolor= | |barcolor= | ||
|titlecolor= | |titlecolor= | ||
Line 29: | Line 30: | ||
|date= | |date= | ||
|infocolor= | |infocolor= | ||
|info=}} | |info= | ||
|sig=}} | |||
</pre> | </pre> | ||
Line 44: | Line 46: | ||
*"infocolor" is the color of the "info". | *"infocolor" is the color of the "info". | ||
*"info" is the text of the update. | *"info" is the text of the update. | ||
*"sig" is your signature. | |||
'''Dont forget to include '#' for color codes.''' | '''Dont forget to include '#' for color codes.''' | ||
Line 52: | Line 55: | ||
|border=2 | |border=2 | ||
|framecolor=#00AA00 | |framecolor=#00AA00 | ||
|barcolor=green | |barcolor=green | ||
|titlecolor=red | |titlecolor=red | ||
Line 59: | Line 61: | ||
|date=Dec 25, 1989 | |date=Dec 25, 1989 | ||
|infocolor=#00BB00 | |infocolor=#00BB00 | ||
|info='''Santa Claus is coming to town!'''}} | |info='''Santa Claus is coming to town!''' | ||
|sig=--little timmy}} | |||
</pre> | </pre> | ||
Line 69: | Line 72: | ||
|border=2 | |border=2 | ||
|framecolor=#00AA00 | |framecolor=#00AA00 | ||
|barcolor=green | |barcolor=green | ||
|titlecolor=#990000 | |titlecolor=#990000 | ||
Line 76: | Line 78: | ||
|date=Dec 25, 1989 | |date=Dec 25, 1989 | ||
|infocolor=#00BB00 | |infocolor=#00BB00 | ||
|info='''Santa Claus is coming to town!'''}} | |info='''Santa Claus is coming to town!''' | ||
|sig=--little timmy}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Group Templates]] | [[Category:Group Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:13, 23 November 2010
Description
This is a completely customizable template for creating a "latest news" or "events" table for your group. It gets updated every now and then. --LantzTalk 10:13, 23 November 2010 (UTC)
Usage:
{{NewsUpdate |bordercolor= |bgcolor= |border= |framecolor= |barcolor= |titlecolor= |title= |datecolor= |date= |infocolor= |info= |sig=}}
- "bordercolor" is the border color.
- "bgcolor" is the background color.
- "border" is the border width.
- "framecolor" is the color of the inner frame.
- "align" is the alignment of the table on your page.
- "barcolor" is the color of the heading bar.
- "titlecolor" is the color of the title.
- "title" is the title.
- "datecolor" is the color of the date.
- "date" is the date of the update.
- "infocolor" is the color of the "info".
- "info" is the text of the update.
- "sig" is your signature.
Dont forget to include '#' for color codes.
{{NewsUpdate |bordercolor=#00FF00 |bgcolor=#BBFFBB |border=2 |framecolor=#00AA00 |barcolor=green |titlecolor=red |title=News Flash |datecolor=#BB0000 |date=Dec 25, 1989 |infocolor=#00BB00 |info='''Santa Claus is coming to town!''' |sig=--little timmy}}
^^^This code creates the following:
Dec 25, 1989 |
Santa Claus is coming to town! |
--little timmy |