Difference between revisions of "Template:Vid"
From LGPedia
m (Another one.) |
(*sigh* it worked, but it didn't look good.) |
||
Line 2: | Line 2: | ||
{{#if: {{{date|}}} | <div style="position: absolute; top: -1.6em; right: 0px;">'''{{{date}}}'''</div> |}} | {{#if: {{{date|}}} | <div style="position: absolute; top: -1.6em; right: 0px;">'''{{{date}}}'''</div> |}} | ||
<div style="z-index: 2;">{{#ifeq: {{{new}}} | yes |<div style="float: left;">'''NEW:''' </div>|{{#if: {{{number|}}} |<div style="float: left;">'''{{{number}}}.''' </div>|}}}} {{#if: {{{blogger|}}} |<div style="float: right;">{{init|{{{blogger}}}}}</div>|}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div> | <div style="z-index: 2;">{{#ifeq: {{{new}}} | yes |<div style="float: left;">'''NEW:''' </div>|{{#if: {{{number|}}} |<div style="float: left;">'''{{{number}}}.''' </div>|}}}} {{#if: {{{blogger|}}} |<div style="float: right;">{{init|{{{blogger}}}}}</div>|}}'''{{ #ifexist: {{{name}}} | [[{{{name}}}]] | {{{name}}} }}'''</div> | ||
− | <div style="clear: both;">{{#if: {{{image|}}} | [[Image:{{{image}}}|right|100px]]|}}{{#if: {{{description|}}} | {{{description}}} | + | <div style="clear: both;">{{#if: {{{image|}}} | [[Image:{{{image}}}|right|100px]]|}}{{#if: {{{description|}}} | {{{description}}}{{clr}}<span style="font-size: x-small;">{{#if: {{{url|}}} | Watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|}}</span> |}}</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 00:25, 13 October 2007
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.