Difference between revisions of "Template:Blog"
From LGPedia
m (Changed number display, disabled display if string, dared using no escape-template) |
(Did some grave changes to this, please report any problems asap (do _not_ revert - I'll fix them)) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="border:#000 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background: #fff;" cellspacing="2" | {| class="infobox" align="right" style="border:#000 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background: #fff;" cellspacing="2" | ||
− | |+ style="margin-left:2em;" | '''Episode {{#ifeq: {{#ifexpr: {{{number}}} | true}} | true | {{{number}}}{{color|gray|/{{epcode|{{{number}}}}}}}|{{{number}}}}}''' | + | |+ style="margin-left:2em;" | '''Episode {{ #ifeq: {{{KM}}} | yes | {{{number}}} |{{#ifeq: {{#ifexpr: {{{number}}} | true}} | true | {{{number}}}{{color|gray|/{{epcode|{{{number}}}}}}}|{{{number}}}}} }}''' |
|- | |- | ||
− | | style="background: lightsteelblue; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}''' | + | | style="background: {{ #ifeq: {{{KM}}} | yes | #ae2301 | lightsteelblue }}; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}''' |
|- | |- | ||
|style="font-size: 100%;" align="center" colspan="2" | | |style="font-size: 100%;" align="center" colspan="2" | | ||
Line 36: | Line 36: | ||
|-valign=top | |-valign=top | ||
! YouTube Tags | ! YouTube Tags | ||
− | | {{{tags}}} | + | | {{{tags}}} {{ #ifexpr: {{#if: {{{execprod|}}} | 1 | 0 }} or {{#if: {{{producers|}}} | 1 | 0 }} or {{#if: {{{pa|}}} | 1 | 0 }} or {{#if: {{{directors|}}} | 1 | 0 }} or {{#if: {{{camera|}}} | 1 | 0 }} or {{#if: {{{vidplay|}}} | 1 | 0 }} or {{#if: {{{story|}}} | 1 | 0 }} or {{#if: {{{editor|}}} | 1 | 0 }} or {{#if: {{{animation|}}} | 1 | 0 }} or {{#if: {{{music supervisor|}}} | 1 | 0 }} or {{#if: {{{song|}}} | 1 | 0 }} | <br> |
− | | | + | {{+}} |
− | | style="text-align: center; background: lightsteelblue; font-size: 110%" colspan="2" | + | {{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | #ae2301 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Production Credits''' |
− | | | + | {{+}} |<includeonly>[[Category:Videos missing production credits]]</includeonly>}}{{#if: {{{execprod|}}} | <br> |
{{!}}- valign=top | {{!}}- valign=top | ||
! Executive Producer(s) | ! Executive Producer(s) | ||
Line 72: | Line 72: | ||
{{!}}- valign=top | {{!}}- valign=top | ||
! Music | ! Music | ||
− | {{!}} {{{song}}} |}} | + | {{!}} {{{song}}} |}} {{#if: {{{cast|}}} | <br> |
− | | | + | {{+}} |
− | | style="text-align: center; background: lightsteelblue; font-size: 110%" colspan="2" | + | {{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | #ae2301 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Cast''' |
− | | | + | {{+}}|}} |
{{{cast}}} | {{{cast}}} | ||
|- | |- | ||
− | | style="text-align: center; background: lightsteelblue; font-size: 110%" colspan="2" | '''Adjacent Blogs''' | + | | style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | #ae2301 | lightsteelblue }}; font-size: 110%" colspan="2" | '''Adjacent Blogs''' |
|- valign=top | |- valign=top | ||
! Previous | ! Previous | ||
Line 97: | Line 97: | ||
! Directly before | ! Directly before | ||
{{!}} "[[{{{NextC}}}]]" |}} | {{!}} "[[{{{NextC}}}]]" |}} | ||
− | |}<includeonly>[[Category:LG15 videos]]{{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{{number}}}]]}} | + | |}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern Videos by length|{{{length}}}]] | [[Category:LG15 videos]] [[Category:Videos by length|{{{length}}}]]}} {{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{{number}}}]]}}</includeonly> |
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 151: | Line 151: | ||
| PreviousC = | | PreviousC = | ||
| NextC = | | NextC = | ||
+ | |||
+ | <!-- If this is a KateModern video, add this line. | ||
+ | Otherwise, omit it. --> | ||
+ | | KM = yes | ||
}}</pre> | }}</pre> | ||
[[Category:Video templates]]</noinclude> | [[Category:Video templates]]</noinclude> |
Revision as of 23:51, 18 August 2007
{{{name}}} | |
Image not available. | |
Blogger | [[{{{blogger}}}]] |
---|---|
Date Posted | {{{date}}} |
URL | {{{url}}} |
Length | {{{length}}} |
Description | {{{description}}} |
YouTube Tags | {{{tags}}}
{{{cast}}} |
Adjacent Blogs | |
Previous | none |
Next | none |
Usage
This template should be included at the top of every official LG15 video, and no other place.
{{Blog | name = | number = | image = | caption = | blogger = | date = | url = | forumid = | length = | description = | faction = | status = | location = | tags = <!-- Leave production credits blank if there is no information. Do not specify "none". --> | execprod = | producers = | directors = | camera = | vidplay = | story = | editor = | pa = | animation = | music supervisor = | song = <!-- Use VidChar template for each cast member --> | cast = {{VidChar|character|actor}} <!-- Leave Previous blank after = if there is no previous blog. Leave Next blank after = if there is no next blog. Duh. --> | Previous = | Next = <!-- These are for "Previous by [blogger]" and "Next by [blogger]". Leave blank if the next/previous blog was by the same blogger. --> | PreviousB = | NextB = <!-- These are for videos not technically part of the series, for example pre-canon videos of characters later becoming canon. They create "Directly after ..." and "Directly before ..." rows --> | PreviousC = | NextC = <!-- If this is a KateModern video, add this line. Otherwise, omit it. --> | KM = yes }}