Difference between revisions of "User:Renegade/Portal:Lonelygirl15/News/Template"

From LGPedia
Jump to: navigation, search
(Created. Please don't touch this.)
 
(Some news style and fixes)
Line 1: Line 1:
<includeonly><div style="position: relative; top: 0px; left: 0px;">
+
<includeonly><div style="position: relative; top: 0px; left: 0px; margin-bottom: 2em;">
 
<div style="position: absolute; top: 0px; right: 0px; background-color: #FFFFFF;"><div style="position: relative; top: -4px; right: -3px; background-color: #b6d9ff; 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: absolute; top: 0px; right: 0px; background-color: #FFFFFF;"><div style="position: relative; top: -4px; right: -3px; background-color: #b6d9ff; 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="background-color: #a6ccf5;">{{#ifeq: {{{new}}} | yes |<div style="float: left;">'''NEW:'''&nbsp;</div>|{{#if: {{{number|}}} |<div style="float: left;">'''{{{number}}}.'''&nbsp;</div>|}}}} {{#if: {{{blogger|}}} |<div style="float: right;">{{init|{{{blogger}}}}}</div>|}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div>
+
<div style="background-color: #a6ccf5; padding: 0.2em;">{{#ifeq: {{{new}}} | yes |<div style="float: left;">'''NEW:'''&nbsp;</div>|{{#if: {{{number|}}} |<div style="float: left;">'''{{{number}}}.'''&nbsp;</div>|}}}} {{#if: {{{blogger|}}} |<div style="float: right;">{{init|{{{blogger}}}}}</div>|}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div>
<div style="background-color: #b6d9ff; min-height: 6em;">{{{description|{{color|red|'''No description entered.'''}}}}}</div>
+
<div style="background-color: #b6d9ff; min-height: 6em; padding: 0.1em 105px 0.1em 0.2em;">{{{description|{{color|red|'''No description entered.'''}}}}}</div>
<div style="background-color: #a6ccf5; font-size: small;">{{#if: {{{url|}}} | Watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|{{color|red|'''No link(s) entered.'''}}}}</div>
+
<div style="background-color: #a6ccf5; font-size: 80%; padding: 0.2em;">{{#if: {{{url|}}} | Watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|{{color|red|'''No link(s) entered.'''}}}}</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 10:16, 27 March 2008

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
|date         =
|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.