Difference between revisions of "Template:Blog"
From LGPedia
m |
(Major rehaul of the template; needed to be done to accomidate new/future shows. Let's hope it works...) |
||
Line 1: | Line 1: | ||
− | {| align="right" style="border:# | + | {| align="right" style="border:#c0c0c0 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background-color: #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|/{{ # | + | |+ style="margin-left:2em;" | '''Episode {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{{number}}}{{color|gray|/{{#switch: {{lc:{{{series}}}}} |
+ | |km = {{KMEpcode|{{{number}}}}} | ||
+ | |res = {{RESEpcode|{{{number}}}}} | ||
+ | |n1 = {{N1Epcode|{{{number}}}}} | ||
+ | |#default = {{epcode|{{{number}}}}}}} }}}}}}|{{{number}}}}}''' | ||
|- | |- | ||
− | | style=" | + | | style="color: {{{tcolor|{{Blog/tcolor|{{{series}}}}}}}}; background: {{{color|{{Blog/color|{{{series}}}}}}}}; 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 18: | Line 22: | ||
{{!}}- valign=top | {{!}}- valign=top | ||
! Forum | ! Forum | ||
− | {{!}} {{# | + | {{!}} {{#switch: {{lc:{{{series}}}}} |
+ | | lg15 = {{forum|{{{forumid}}}|3=lg15}} | ||
+ | | km = {{forum|{{{forumid}}}|3=lg15}} | ||
+ | | #default = [{{{forumid}}} forum discussion] }} | ||
|- valign=top | |- valign=top | ||
! Length | ! Length | ||
− | | {{# | + | | {{#switch: {{lc:{{{series}}}}} |
+ | | lg15 = [[:Category:Lonelygirl15 videos by length|{{{length}}}]] | ||
+ | | km = [[:Category:KateModern videos by length|{{{length}}}]] | ||
+ | | res = [[:Category:LG15: The Resistance videos by length|{{{length}}}]] | ||
+ | | n1 = [[:Category:N1ckola videos by length|{{{length}}}]] | ||
+ | | #default = {{{length}}} }} | ||
|- valign=top | |- valign=top | ||
! Description | ! Description | ||
Line 27: | Line 39: | ||
{{+}} valign=top | {{+}} valign=top | ||
! Location(s) | ! Location(s) | ||
− | {{!}} {{{location}}}| <includeonly>{{# | + | {{!}} {{{location}}}| <includeonly>{{#switch: {{lc:{{{series}}}}} |
+ | | lg15 = [[Category:Lonelygirl15 videos missing locations]] | ||
+ | | km = [[Category:KateModern videos missing locations]] | ||
+ | | res = [[Category:LG15: The Resistance videos missing locations]] | ||
+ | | n1 = [[Category:N1ckola 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; | + | {{!}} style="text-align: center; color: {{{tcolor|{{Blog/tcolor|{{{series}}}}}}}}; background: {{{color|{{Blog/color|{{{series}}}}}}}}; font-size: 110%" colspan="2" {{!}} '''Production Credits''' |
− | {{+}} |<includeonly>{{ # | + | {{+}} |<includeonly>{{#switch: {{lc:{{{series}}}}} |
+ | | lg15 = [[Category:Lonelygirl15 videos missing production credits]] | ||
+ | | km = [[Category:KateModern videos missing production credits]] | ||
+ | | res = [[Category:LG15: The Resistance videos missing production credits]] | ||
+ | | n1 = [[Category:N1ckola videos missing production credits]] }}</includeonly>}}{{#if: {{{execprod|}}} | <br> | ||
{{!}}- valign=top | {{!}}- valign=top | ||
! Executive Producer(s) | ! Executive Producer(s) | ||
Line 119: | Line 139: | ||
{{!}} {{{song}}} |}}{{#if: {{{cast|}}} | <br> | {{!}} {{{song}}} |}}{{#if: {{{cast|}}} | <br> | ||
{{+}} | {{+}} | ||
− | {{!}} style="text-align: center; | + | {{!}} style="text-align: center; color: {{{tcolor|{{Blog/tcolor|{{{series}}}}}}}}; background: {{{color|{{Blog/color|{{{series}}}}}}}}; font-size: 110%" colspan="2" {{!}} '''Cast''' |
{{+}} | {{+}} | ||
{{{cast}}}|}} | {{{cast}}}|}} | ||
|- | |- | ||
− | | style="text-align: center; | + | | style="text-align: center; color: {{{tcolor|{{Blog/tcolor|{{{series}}}}}}}}; background: {{{color|{{Blog/color|{{{series}}}}}}}}; font-size: 110%" colspan="2" | '''Adjacent Blogs''' |
|- valign=top | |- valign=top | ||
! Previous | ! Previous | ||
Line 149: | Line 169: | ||
{{!}} "[[{{{NextC}}}]]" |}} | {{!}} "[[{{{NextC}}}]]" |}} | ||
|} | |} | ||
− | {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|{{{name}}}| | + | {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|{{{name}}}|{{#switch: {{lc:{{{series}}}}} |
+ | | km = yes | ||
+ | | res = yes | ||
+ | | n1 = yes }} }}|}}<includeonly>{{lc:{{{series}}}}} | ||
+ | | lg15 = [[Category:Lonelygirl15 videos]] [[Category:Lonelygirl15 videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:Lonelygirl15 videos by date| {{{date}}}]]}}|}} | ||
+ | | km = [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date| {{{date}}}]]|}} | ||
+ | | res = [[Category:LG15: The Resistance videos]] [[Category:LG15: The Resistance videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:LG15: The Resistance videos by date| {{{date}}}]]|}} | ||
+ | | n1 = [[Category:N1ckola videos]] [[Category:N1ckola videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:N1ckola 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 195: | Line 222: | ||
| music supervisor = | | music supervisor = | ||
| song = | | song = | ||
+ | | series = LG15, KM, RES, or N1 | ||
<!-- Use VidChar template for each cast member --> | <!-- Use VidChar template for each cast member --> | ||
Line 214: | Line 242: | ||
They create "Directly after ..." and "Directly before ..." rows --> | They create "Directly after ..." and "Directly before ..." rows --> | ||
| PreviousC = | | PreviousC = | ||
− | | NextC = | + | | NextC = |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}</pre> | }}</pre> | ||
<!-- saved for later | <!-- saved for later |
Revision as of 17:12, 17 February 2009
{{{name}}} | |
Image not available. | |
Blogger | {{{blogger}}} |
---|---|
Date Posted | Unknown |
URL | |
Forum | [{{{forumid}}} forum discussion] |
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 = | ad = | camera = | vidplay = | dp = | headwriter = | story = | editor = | pm = | pc = | pa = | pr = | ic = | animation = | prodserv = | music supervisor = | song = | series = LG15, KM, RES, or N1 <!-- 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 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.