Difference between revisions of "Template:Blog"
From LGPedia
(Please help. The tags got all screwed up and the Production Credits bar is visible even when no Production Credits are entered.) |
m (Testing adding RES coding; this is going to have to be cleaned up before another show is added into it.) |
||
Line 1: | Line 1: | ||
− | {| align="right" style="border:#{{#ifeq:{{{KM}}}|yes|c0c0c0|000}} 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background-color: #{{#ifeq:{{{KM}}}|yes|f5f5f5; padding: 3px|fff}}; position: relative; top: 0px; left: 0px; z-index: 10;" cellspacing="2" | + | {| align="right" style="border:#{{#ifeq:{{{KM}}}|yes|c0c0c0|000}} 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background-color: #{{#ifeq:{{{KM}}}|yes|f5f5f5; padding: 3px|{{#ifeq:{{{RES}}}|yes|71B642|fff}}}}; position: relative; top: 0px; left: 0px; z-index: 10;" cellspacing="2" |
− | |+ style="margin-left:2em;" | '''Episode {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{{number}}}{{color|gray|/{{ #ifeq: {{{KM}}} | yes | {{KMEpcode|{{{number}}}}} | {{epcode|{{{number}}}}} }}}}|{{{number}}}}}''' | + | |+ style="margin-left:2em;" | '''Episode {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{{number}}}{{color|gray|/{{ #ifeq: {{{KM}}} | yes | {{KMEpcode|{{{number}}}}} | {{ #ifeq: {{{RES}}} | yes | {{RESEpcode|{{{number}}}}} | {{epcode|{{{number}}}}} }}}}}}|{{{number}}}}}''' |
|- | |- | ||
− | | style="background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}''' | + | | style="background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | 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 21: | Line 21: | ||
|- valign=top | |- valign=top | ||
! Length | ! Length | ||
− | | {{#ifeq:{{{KM}}}|yes|[[:Category:KateModern videos by length|{{{length}}}]]|[[:Category:Lonelygirl15 videos by length|{{{length}}}]]}} | + | | {{#ifeq:{{{KM}}}|yes|[[:Category:KateModern videos by length|{{{length}}}]]|{{#ifeq:{{{RES}}}|yes|[[:Category:LG15: The Resistance videos by length|{{{length}}}]]|[[:Category:Lonelygirl15 videos by length|{{{length}}}]]}}}} |
|- valign=top | |- valign=top | ||
! Description | ! Description | ||
Line 27: | Line 27: | ||
{{+}} valign=top | {{+}} valign=top | ||
! Location(s) | ! Location(s) | ||
− | {{!}} {{{location}}}| <includeonly>{{#ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing locations]] | [[Category:Lonelygirl15 videos missing locations]]}}</includeonly>}}{{#if: {{{tags|}}} | <br> | + | {{!}} {{{location}}}| <includeonly>{{#ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing locations]] | {{#ifeq: {{{RES}}} | yes | [[:Category:LG15: The Resistance videos missing locations]] | [[Category:Lonelygirl15 videos missing locations]]}}}}</includeonly>}}{{#if: {{{tags|}}} | <br> |
{{+}}valign=top | {{+}}valign=top | ||
! YouTube Tags | ! YouTube Tags | ||
{{!}}{{{tags}}}|}}{{ #ifexpr: {{#if: {{{execprod|}}} | 1 | 0 }} or {{#if: {{{coexecprod|}}} | 1 | 0 }} or {{#if: {{{assocprod|}}} | 1 | 0 }} or {{#if: {{{serprod|}}} | 1 | 0 }} or {{#if: {{{setprod|}}} | 1 | 0 }} or {{#if: {{{supprod|}}} | 1 | 0 }} or {{#if: {{{producers|}}} | 1 | 0 }} or {{#if: {{{assistprod|}}} | 1 | 0 }} or {{#if: {{{lineprod|}}} | 1 | 0 }} or {{#if: {{{pm|}}} | 1 | 0 }} or {{#if: {{{pa|}}} | 1 | 0 }} or {{#if: {{{pc|}}} | 1 | 0 }} or {{#if: {{{pr|}}} | 1 | 0 }} or {{#if: {{{ic|}}} | 1 | 0 }} or {{#if: {{{directors|}}} | 1 | 0 }} or {{#if: {{{camera|}}} | 1 | 0 }} or {{#if: {{{vidplay|}}} | 1 | 0 }} or {{#if: {{{headwriter|}}} | 1 | 0 }} or {{#if: {{{story|}}} | 1 | 0 }} or {{#if: {{{editor|}}} | 1 | 0 }} or {{#if: {{{animation|}}} | 1 | 0 }} or {{#if: {{{prodserv|}}} | 1 | 0 }} or {{#if: {{{music supervisor|}}} | 1 | 0 }} | <br> | {{!}}{{{tags}}}|}}{{ #ifexpr: {{#if: {{{execprod|}}} | 1 | 0 }} or {{#if: {{{coexecprod|}}} | 1 | 0 }} or {{#if: {{{assocprod|}}} | 1 | 0 }} or {{#if: {{{serprod|}}} | 1 | 0 }} or {{#if: {{{setprod|}}} | 1 | 0 }} or {{#if: {{{supprod|}}} | 1 | 0 }} or {{#if: {{{producers|}}} | 1 | 0 }} or {{#if: {{{assistprod|}}} | 1 | 0 }} or {{#if: {{{lineprod|}}} | 1 | 0 }} or {{#if: {{{pm|}}} | 1 | 0 }} or {{#if: {{{pa|}}} | 1 | 0 }} or {{#if: {{{pc|}}} | 1 | 0 }} or {{#if: {{{pr|}}} | 1 | 0 }} or {{#if: {{{ic|}}} | 1 | 0 }} or {{#if: {{{directors|}}} | 1 | 0 }} or {{#if: {{{camera|}}} | 1 | 0 }} or {{#if: {{{vidplay|}}} | 1 | 0 }} or {{#if: {{{headwriter|}}} | 1 | 0 }} or {{#if: {{{story|}}} | 1 | 0 }} or {{#if: {{{editor|}}} | 1 | 0 }} or {{#if: {{{animation|}}} | 1 | 0 }} or {{#if: {{{prodserv|}}} | 1 | 0 }} or {{#if: {{{music supervisor|}}} | 1 | 0 }} | <br> | ||
{{+}} | {{+}} | ||
− | {{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Production Credits''' | + | {{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | lightsteelblue }}}}; font-size: 110%" colspan="2" {{!}} '''Production Credits''' |
− | {{+}} |<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing production credits]] | [[Category:Lonelygirl15 videos missing production credits]]}}</includeonly>}}{{#if: {{{execprod|}}} | <br> | + | {{+}} |<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing production credits]] | {{#ifeq: {{{RES}}} | yes | [[Category:LG15: The Resistance videos missing production credits]] | [[Category:Lonelygirl15 videos missing production credits]]}}}}</includeonly>}}{{#if: {{{execprod|}}} | <br> |
{{!}}- valign=top | {{!}}- valign=top | ||
! Executive Producer(s) | ! Executive Producer(s) | ||
Line 113: | Line 113: | ||
{{!}} {{{song}}} |}}{{#if: {{{cast|}}} | <br> | {{!}} {{{song}}} |}}{{#if: {{{cast|}}} | <br> | ||
{{+}} | {{+}} | ||
− | {{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Cast''' | + | {{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | lightsteelblue }}}}; font-size: 110%" colspan="2" {{!}} '''Cast''' |
{{+}} | {{+}} | ||
{{{cast}}}|}} | {{{cast}}}|}} | ||
|- | |- | ||
− | | style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}; font-size: 110%" colspan="2" | '''Adjacent Blogs''' | + | | style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | lightsteelblue }}}}; font-size: 110%" colspan="2" | '''Adjacent Blogs''' |
|- valign=top | |- valign=top | ||
! Previous | ! Previous | ||
Line 143: | Line 143: | ||
{{!}} "[[{{{NextC}}}]]" |}} | {{!}} "[[{{{NextC}}}]]" |}} | ||
|} | |} | ||
− | {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|KM={{{KM}}}|{{{name}}}}}|}}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date| {{{date}}}]]|}} | [[Category:Lonelygirl15 videos]] [[Category:Lonelygirl15 videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:Lonelygirl15 videos by date| {{{date}}}]]}}|}} {{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |  {{ #ifexpr: {{{number}}} < 100 |0|}}{{ #ifexpr: {{{number}}} < 10 |0|}}{{{number}}}|* {{{number}}}}}]]}}</includeonly><noinclude> | + | {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|KM={{{KM}}}|RES={{{RES}}}|{{{name}}}}}|}}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date| {{{date}}}]]|}} | {{ #ifeq: {{{RES}}} | yes | [[Category:LG15: The Resistance videos]] [[Category:LG15: The Resistance videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:LG15: The Resistance videos by date| {{{date}}}]]|}} | [[Category:Lonelygirl15 videos]] [[Category:Lonelygirl15 videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:Lonelygirl15 videos by date| {{{date}}}]]}}|}} }} {{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |  {{ #ifexpr: {{{number}}} < 100 |0|}}{{ #ifexpr: {{{number}}} < 10 |0|}}{{{number}}}|* {{{number}}}}}]]}}</includeonly><noinclude> |
== Usage == | == Usage == | ||
This template should be included at the top of every official [[List of Lonelygirl15 videos|LG15 video]], and no other place. | This template should be included at the top of every official [[List of Lonelygirl15 videos|LG15 video]], and no other place. | ||
Line 208: | Line 208: | ||
| NextC = | | NextC = | ||
− | <!-- If this is a | + | <!-- If this is a non-LG15 video, add one of these lines. |
− | Otherwise, omit | + | Otherwise, omit them. --> |
− | | KM = yes | + | | KM = yes |
+ | | RES = yes | ||
}}</pre> | }}</pre> | ||
<!-- saved for later | <!-- saved for later |
Revision as of 03:17, 29 August 2008
{{{name}}} | |
Image not available. | |
Blogger | {{{blogger}}} |
---|---|
Date Posted | Unknown |
URL | {{{url}}} |
Length | {{{length}}} |
Description | {{{description}}} |
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 = | location = | tags = <!-- Leave production credits blank if there is no information. Do not specify "none". --> | execprod = | coexecprod = | assocprod = | serprod = | setprod = | producers = | assistprod = | lineprod = | supprod = | directors = | camera = | vidplay = | headwriter = | story = | editor = | pm = | pc = | pa = | pr = | ic = | animation = | prodserv = | 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 non-LG15 video, add one of these lines. Otherwise, omit them. --> | KM = yes | RES = yes }}
- If the page name is the same as the video name, {{PAGENAME}} should be used in the name variable.
- The date variable MUST be in the format YYYYMMDD.