Difference between revisions of "Template:PortalNews/Outbreak"

From LGPedia
Jump to: navigation, search
m (Adding blogger 2 ability)
m (Adding blogger 2 ability)
Line 3: Line 3:
 
<div style="background-color: #0f172e; margin: 0px; padding: 0.1em 0.2em 0.1em 0.2em; border-bottom: 1px solid #fff; color: #e5ffff;">{{#ifeq: {{{text}}} | yes ||{{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}}}}'''{{ #ifexist: {{{name}}} |[[{{#if: {{{link|}}}|{{{link}}}|{{{name}}}}}|{{color|#3f8cfb|{{{name}}}}}]]|{{{name}}}}}'''</div>
 
<div style="background-color: #0f172e; margin: 0px; padding: 0.1em 0.2em 0.1em 0.2em; border-bottom: 1px solid #fff; color: #e5ffff;">{{#ifeq: {{{text}}} | yes ||{{#ifeq: {{{new}}} | yes |'''NEW:'''&nbsp;|{{#if: {{{number|}}} |'''{{{number}}}.'''&nbsp;|}}}}}}'''{{ #ifexist: {{{name}}} |[[{{#if: {{{link|}}}|{{{link}}}|{{{name}}}}}|{{color|#3f8cfb|{{{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>
<div style="background-color: #bedcc0; 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|}}} | {{#ifeq: {{{text}}} | yes |Read on [{{{url}}} lg15.com]|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}}}}}{{#if: {{{blogger2|}}} | / {{init|{{{blogger2}}}}} }}</div>|}}</div>
+
<div style="background-color: #bedcc0; 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|}}} | {{#ifeq: {{{text}}} | yes |Read on [{{{url}}} lg15.com]|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}}}}}{{#if: {{{blogger2|}}} |&nbsp;/ {{init|{{{blogger2}}}}} }}</div>|}}</div>
 
</div></includeonly><noinclude>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.
 
</div></includeonly><noinclude>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==
 
==Usage==

Revision as of 23:31, 24 March 2010

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

{{Vid
|name         = 
|link         = <!--Use only if the video name is not the video's page location-->
|number       = 
|blogger      = 
|image        = 
|description  = 
|forumurl     = 
|url          = 
}}

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

|new=yes

after the status line. If it is a text blog, please add: (this will override the image field)

|text=yes


Please note that this template is more sensitive than previous versions, due to link colors. If a link is manually generated, it will not be colored correctly unless it is formatted like this:

[[link|{{color|#3f8cfb|text}}]]