Difference between revisions of "Template:PortalVideoNews"

From LGPedia
Jump to: navigation, search
m (Reverted edits by Shiori (Talk); changed back to last version by Renegade)
m
 
(7 intermediate revisions by the same user not shown)
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; background-color: #b6d9ff; 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: #a1c4eb; padding: 5px 4px 5px 4px;"><div style="border: 1px solid #FFFFFF;">[[Image:{{#if: {{{image|}}} |{{{image}}}|Lgpedia lg15portal design season 3 news nopic.gif}}|none|100px]]</div></div></div>
+
<div style="position: relative; right: -6px; top: -7px;"><div style="float: right; border: #fff 3px solid;"><div style="border: 4px solid #a1c4eb;"><div style="border: 1px solid #fff;">[[Image:{{#if: {{{image|}}} |{{{image}}}|Lgpedia lg15portal design season 3 news nopic.gif}}|none|100px|link={{ #ifexist: {{{name}}} | {{{name|}}} |}}]]</div></div></div></div>
<div style="background-color: #a1c4eb; 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: #a1c4eb; margin: 0px; padding: 0.1em 0.2em 0.1em 0.2em; border-bottom: 1px solid #fff;">{{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div>
<div style="background-color: #b6d9ff; height: 6em; padding: 0.1em 110px 0.1em 0.2em;">{{{description|{{color|red|'''No description entered.'''}}}}}</div>
+
<includeonly><div style="height: 6em; padding: 0.1em 0.2em 0.1em 0.2em;">{{{description|{{color|red|'''No description entered.'''}}}}}</div>
<div style="background-color: #a1c4eb; font-size: 80%; padding: 0.1em 0.2em; 0.1em 0.2em; border-top: 1px solid #FFFFFF; position: relative; top: 0px; left: 0px;">{{#if: {{{url|}}} | Watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|{{color|red|'''No link(s) entered.'''}}}}{{#if: {{{blogger|}}} |<div style="position: absolute; top: 0px; right: 0.2em; font-size: 127%;">{{init|{{{blogger}}}}}</div>|}}</div>
+
<div style="background-color: #a1c4eb; font-size: 80%; margin: 0px; padding: 0.1em 0.2em; 0.1em 0.2em; border-top: 1px solid #fff; position: relative; top: 0px; left: 0px;">{{#if: {{{url|}}} | Watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|{{color|red|'''No link(s) entered.'''}}}}{{#if: {{{blogger|}}} |<div style="position: absolute; top: 0px; right: 0.2em; font-size: 127%;">{{init|{{{blogger}}}}}</div>|}}</div>
 
</div></includeonly><noinclude>This is the template used on the portals to display the videos in the "Latest Developments" column. Click "edit news" and follow the advice in that page's source to correctly update it.
 
</div></includeonly><noinclude>This is the template used on the portals to display the videos in the "Latest Developments" column. Click "edit news" and follow the advice in that page's source to correctly update it.
 
==Usage==
 
==Usage==
Line 19: Line 19:
 
Optionally, if this is the latest video in the series, you can add
 
Optionally, if this is the latest video in the series, you can add
 
  |new=yes
 
  |new=yes
after the status line.</noinclude>
+
after the status line.[[Category:Main Page templates]]</noinclude>

Latest revision as of 02:13, 11 April 2010

This is the template used on the portals to display the videos in the "Latest Developments" column. Click "edit news" and follow the advice in that page's source to correctly update it.

Usage

{{PortalVideoNews
|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.