Difference between revisions of "Template:Blog"

From LGPedia
Jump to: navigation, search
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:#{{#ifeq:{{{KM}}}|yes|c0c0c0|000|{{#ifeq:{{{N1}}}|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|{{#ifeq:{{{N1}}}|yes|f5f5f5; padding:3px|fff|}}}}; position: relative; top: 0px; left: 0px; z-index: 10;" cellspacing="2"
+
{| 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|/{{ #ifeq: {{{KM}}} | yes | {{KMEpcode|{{{number}}}}} | {{ #ifeq: {{{RES}}} | yes | {{RESEpcode|{{{number}}}}} | {{#ifeq: {{{N1}}} | yes | {{N1Epcode|{{{number}}}}} | {{epcode|{{{number}}}}}}} }}}}}}|{{{number}}}}}'''
+
|+ 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="background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | {{#ifeq: {{{N1}}} | yes | <nowiki>#</nowiki>6A326F; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}}}}}; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}'''
+
| 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
{{!}} {{#ifeq:{{{RES}}}|yes|[{{{forumid}}} forum discussion]|{{forum|{{{forumid}}}|3={{#ifeq:{{{KM}}}|yes|km|lg15}}}}|}} }}
+
{{!}} {{#switch: {{lc:{{{series}}}}}
 +
| lg15    = {{forum|{{{forumid}}}|3=lg15}}
 +
| km      = {{forum|{{{forumid}}}|3=lg15}}
 +
| #default = [{{{forumid}}} forum discussion] }}
 
|- valign=top
 
|- valign=top
 
! Length
 
! Length
| {{#ifeq:{{{KM}}}|yes|[[:Category:KateModern videos by length|{{{length}}}]]|{{#ifeq:{{{RES}}}|yes|[[:Category:LG15: The Resistance videos by length|{{{length}}}]]|{{#ifeq:{{{N1}}}|yes|[[:Category:N1ckola videos by length|{{{length}}}]]|[[:Category:Lonelygirl15 videos by 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>{{#ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing locations]] | {{#ifeq: {{{RES}}} | yes | [[Category:LG15: The Resistance videos missing locations]] | {{#ifeq: {{{N1}}} | yes | [[Category:N1ckola videos missing locations]] | [[Category:Lonelygirl15 videos missing locations]]}}}}}}</includeonly>}}{{#if: {{{tags|}}} | <br>
+
{{!}} {{{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; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | {{#ifeq: {{{N1}}} | yes | <nowiki>#</nowiki>6A326F; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}}}}}; font-size: 110%" colspan="2" {{!}} '''Production Credits'''  
+
{{!}} style="text-align: center; color: {{{tcolor|{{Blog/tcolor|{{{series}}}}}}}}; background: {{{color|{{Blog/color|{{{series}}}}}}}}; font-size: 110%" colspan="2" {{!}} '''Production Credits'''  
{{+}} |<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing production credits]] | {{#ifeq: {{{RES}}} | yes | [[Category:LG15: The Resistance videos missing production credits]] | {{#ifeq: {{{N1}}} | yes | [[Category:N1ckola videos missing production credits]] | [[Category:Lonelygirl15 videos missing production credits]]}}}}}}</includeonly>}}{{#if: {{{execprod|}}} | <br>
+
{{+}} |<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; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | {{ #ifeq: {{{N1}}} | yes | <nowiki>#</nowiki>6A326F; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}}}}}; font-size: 110%" colspan="2" {{!}} '''Cast'''  
+
{{!}} 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; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | {{#ifeq: {{{N1}}} | yes | <nowiki>#</nowiki>6A326F; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | lightsteelblue }}}}}}; font-size: 110%" colspan="2" | '''Adjacent Blogs'''
+
| 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}}}|KM={{{KM}}}|RES={{{RES}}}|N1={{{N1}}} }}|}}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date|&#32;{{{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|&#32;{{{date}}}]]|}} | {{ #ifeq: {{{N1}}} | yes | [[Category:N1ckola videos]] [[Category:N1ckola videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:N1ckola videos by date|&#32;{{{date}}}]]|}} | [[Category:Lonelygirl15 videos]] [[Category:Lonelygirl15 videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:Lonelygirl15 videos by date|&#32;{{{date}}}]]}}|}} }} }} {{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |&#32; {{ #ifexpr: {{{number}}} < 100 |0|}}{{ #ifexpr: {{{number}}} < 10 |0|}}{{{number}}}|* {{{number}}}}}]]}}</includeonly><noinclude>
+
{{#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|&#32;{{{date}}}]]}}|}}
 +
| km  = [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date|&#32;{{{date}}}]]|}}
 +
| res  = [[Category:LG15: The Resistance videos]] [[Category:LG15: The Resistance videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:LG15: The Resistance videos by date|&#32;{{{date}}}]]|}}
 +
| n1  = [[Category:N1ckola videos]] [[Category:N1ckola videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:N1ckola videos by date|&#32;{{{date}}}]]|}} }}{{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |&#32; {{ #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      =
 
+
<!-- If this is a non-LG15 video, add one of these lines.
+
    Otherwise, omit them. -->
+
| KM          = yes
+
| RES        = yes
+
| N1          = yes
+
 
}}</pre>
 
}}</pre>
 
<!-- saved for later
 
<!-- saved for later

Revision as of 17:12, 17 February 2009

Episode }}|{{{number}}}}}
{{{name}}}

Image not available.
Please add one.

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.