Difference between revisions of "Template:PortalVideoNews/TheLast"

From LGPedia
Jump to: navigation, search
m
 
Line 1: Line 1:
 
<includeonly><div style="position: relative; top: 0px; left: 0px; background-color: #999; margin-bottom: 1em; clear: both;">
 
<includeonly><div style="position: relative; top: 0px; left: 0px; background-color: #999; margin-bottom: 1em; clear: both;">
<div style="position: relative; right: -6px; top: -7px;"><div style="float: right; border: #fff 3px solid;"><div style="border: 4px solid #4B0606;"><div style="border: 1px solid #fff;">[[Image:{{#if: {{{image|}}} |{{{image}}}|Lgpedia RESportal news nopic.gif}}|none|100px]]</div></div></div></div>
+
<div style="position: relative; right: -6px; top: -7px;"><div style="float: right; border: #fff 3px solid;"><div style="border: 4px solid #4B0606;"><div style="border: 1px solid #fff;">[[Image:{{#if: {{{image|}}} |{{{image}}}|Lgpedia RESportal news nopic.gif}}|none|100px|link={{ #ifexist: {{{name}}} | {{{name|}}} |}}]]</div></div></div></div>
 
<div style="background-color: #666; margin: 0px; padding: 0.1em 0.2em 0.1em 0.2em; border-bottom: 1px solid #fff;">{{#ifeq: {{{number}}} | yes | | {{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}} }}'''{{ #ifexist: {{{name}}} |[[{{#if: {{{link|}}}|{{{link}}}|{{{name}}}}}|{{color|#ccc|{{{name}}}}}]]|{{{name}}}}}'''</div>
 
<div style="background-color: #666; margin: 0px; padding: 0.1em 0.2em 0.1em 0.2em; border-bottom: 1px solid #fff;">{{#ifeq: {{{number}}} | yes | | {{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}} }}'''{{ #ifexist: {{{name}}} |[[{{#if: {{{link|}}}|{{{link}}}|{{{name}}}}}|{{color|#ccc|{{{name}}}}}]]|{{{name}}}}}'''</div>
 
<includeonly><div style="height: 6em; padding: 0.1em 0.2em 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>

Latest revision as of 02:15, 11 April 2010

This is the template used on the TSIY Portal for LG15: The Last to display the videos in the "Latest Developments" column. Follow the advice in that page's source to correctly update it.

Usage

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