Difference between revisions of "Template:PortalVideoNews/KateModern"

From LGPedia
Jump to: navigation, search
(I don't feel like setting up the KM=yes, so I'm just making a template subpage for this...)
 
(testing...)
Line 1: Line 1:
 
<includeonly><div style="position: relative; top: 0px; left: 0px; margin-bottom: 1em; clear: both;">
 
<includeonly><div style="position: relative; top: 0px; left: 0px; margin-bottom: 1em; clear: both;">
<div style="position: absolute; top: 0px; right: 0px; background-color: #FFFFFF;"><div style="position: relative; top: -4px; right: -3px; background-color: #B588C3; padding: 5px 4px 5px 4px;"><div style="border: 1px solid #FFFFFF;">[[Image:{{#if: {{{image|}}} |{{{image}}}|Lgpedia KMportal design season 3 news nopic.gif}}|none|100px]]</div></div></div>
+
<div style="position: absolute; top: 0px; right: 0px; background-color: #FFFFFF;"><div style="position: relative; top: -4px; right: -3px; background-color: #CC99CC; padding: 5px 4px 5px 4px;"><div style="border: 1px solid #FFFFFF;">[[Image:{{#if: {{{image|}}} |{{{image}}}|Lgpedia KMportal design season 3 news nopic.gif}}|none|100px]]</div></div></div>
 
<div style="background-color: #B588C3; padding: 0.1em 105px 0.1em 0.2em; border-bottom: 1px solid #FFFFFF;">{{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div>
 
<div style="background-color: #B588C3; padding: 0.1em 105px 0.1em 0.2em; border-bottom: 1px solid #FFFFFF;">{{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div>
 
<div style="background-color: #D7A7E7; height: 6em; padding: 0.1em 110px 0.1em 0.2em;">{{{description|{{color|red|'''No description entered.'''}}}}}</div>
 
<div style="background-color: #D7A7E7; height: 6em; padding: 0.1em 110px 0.1em 0.2em;">{{{description|{{color|red|'''No description entered.'''}}}}}</div>

Revision as of 01:43, 3 February 2009

This is the template used on the Main Page to display the videos in the "Latest Developments" column. Follow the advice in that page's source to correctly update it.

Usage

{{PortalVideoNews/KateModern
|name         =
|number       =
|blogger      =
|image        =
|description  = 
|url          =
|forumurl     = 
}}

Optionally, if this is the latest video in the series, you can add

|new=yes

after the status line.