Difference between revisions of "Template:Vid"
From LGPedia
m (Okay, I see it's more complicated than that....) |
(Theoretically, this should expand the template with Faction: and Status fields, and render NewVid obsolete) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{date|}}} | '''{{{date}}}'''<br> |}}{{#if: {{{image|}}} | [[Image:{{{image}}}|right|100px]]|}} | + | <includeonly>{{#if: {{{new|}}} |
+ | | {{#if: {{{date|}}} | '''{{{date}}}'''<br> |}}{{#if: {{{image|}}} | [[Image:{{{image}}}|right|100px]]|}} | ||
{{#if: {{{blogger|}}} | {{init|{{{blogger}}}}} — |}}'''[[{{{name}}}]]''' {{#if: {{{description|}}} | — {{{description}}} |}} | {{#if: {{{blogger|}}} | {{init|{{{blogger}}}}} — |}}'''[[{{{name}}}]]''' {{#if: {{{description|}}} | — {{{description}}} |}} | ||
+ | | {{#if: {{{image|}}} | [[Image:{{{image}}}|right|100px]]|}} | ||
+ | '''Newest video:''' '''[[{{{name}}}]]''' {{#if: {{{blogger|}}} |({{init|{{{blogger}}}}})|}} {{#if: {{{description|}}} | — {{{description}}} |}} | ||
+ | }} | ||
<br> | <br> | ||
− | <small>{{#if: {{{url|}}} | watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|}}</small> | + | <span style="font-size: 85%">{{#if: {{{faction|}}} |'''Faction:''' {{{faction}}}|}}{{#if: {{{status|}}} | – '''Status:''' {{{status}}} |}}</span> |
− | </includeonly> | + | <small>{{#if: {{{url|}}} | watch at {{{url}}}|}} {{#if: {{{forumurl|}}} | ''or'' [{{{forumurl}}} discuss at forum]|}}</small>{{#if: {{{new|}}} | <br clear="all"/> |}}</includeonly> |
− | <noinclude> | + | <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== | ||
+ | <pre> | ||
{{Vid | {{Vid | ||
|date = | |date = | ||
Line 15: | Line 19: | ||
|url = | |url = | ||
|forumurl = | |forumurl = | ||
+ | |faction = | ||
+ | |status = | ||
}} | }} | ||
</pre> | </pre> | ||
+ | Optionally, if this is the latest video in the series, you can add | ||
+ | |new=yes | ||
+ | after the status line. | ||
[[Category:Main Page templates]]</noinclude> | [[Category:Main Page templates]]</noinclude> |
Revision as of 01:39, 10 April 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 = |blogger = |image = |description = |url = |forumurl = |faction = |status = }}
Optionally, if this is the latest video in the series, you can add
|new=yes
after the status line.