Difference between revisions of "Template:Blog"

From LGPedia
Jump to: navigation, search
m
m (Fixed with a few tweaks to prevent breakage on a non-entered date.)
Line 10: Line 10:
 
! style="width:8em" | Blogger
 
! style="width:8em" | Blogger
 
| [[{{{blogger}}}]]
 
| [[{{{blogger}}}]]
|- valign=top
+
|- valign=top  
 
! Date Posted
 
! Date Posted
| {{date|{{{date}}}}}
+
| {{#if: {{{date|}}} | {{date|{{{date}}}}} | Unknown}}
 
|- valign=top
 
|- valign=top
 
! URL
 
! URL
Line 24: Line 24:
 
|- valign=top
 
|- valign=top
 
! Description
 
! Description
| {{{description}}} {{#if: {{{location|}}} | <br>
+
| {{{description}}}{{#if: {{{location|}}} | <br>
{{!}}- 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]] | [[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>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Production Credits'''  
 
{{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Production Credits'''  
Line 45: Line 45:
 
{{!}}- valign=top  
 
{{!}}- valign=top  
 
! Series Producer(s)
 
! Series Producer(s)
{{!}} {{{serprod}}}<includeonly>[[Category:Videos with {{{serprod}}} as series producer]]</includeonly>|}}
+
{{!}} {{{serprod}}}<includeonly>[[Category:Videos with {{{serprod}}} as series producer]]</includeonly>|}}{{#if: {{{setprod|}}} | <br>
{{#if: {{{setprod|}}} | <br>
+
 
{{!}}- valign=top  
 
{{!}}- valign=top  
 
! On-Set Producer
 
! On-Set Producer
{{!}} {{{setprod}}}<includeonly>[[Category:Videos with {{{setprod}}} as on-set producer]]</includeonly>|}}
+
{{!}} {{{setprod}}}<includeonly>[[Category:Videos with {{{setprod}}} as on-set producer]]</includeonly>|}}{{#if: {{{producers|}}} | <br>
{{#if: {{{producers|}}} | <br>
+
 
{{!}}- valign=top
 
{{!}}- valign=top
 
! Producer(s)
 
! Producer(s)
Line 113: Line 111:
 
{{!}}- valign=top
 
{{!}}- valign=top
 
! Music
 
! Music
{{!}} {{{song}}} |}} {{#if: {{{cast|}}} | <br>
+
{{!}} {{{song}}} |}}{{#if: {{{cast|}}} | <br>
 
{{+}}
 
{{+}}
 
{{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Cast'''  
 
{{!}} style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%" colspan="2" {{!}} '''Cast'''  
{{+}}|}}
+
{{+}}
{{{cast}}}
+
{{{cast}}}|}}
 
|-
 
|-
 
| style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%" colspan="2" | '''Adjacent Blogs'''
 
| style="text-align: center; background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%" colspan="2" | '''Adjacent Blogs'''
Line 138: Line 136:
 
! Directly before
 
! Directly before
 
{{!}} "[[{{{NextC}}}]]" |}}
 
{{!}} "[[{{{NextC}}}]]" |}}
|}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern Videos by length|{{{length}}}]] [[Category:KateModern videos by date|&#32;{{{date}}}]] | [[Category:LG15 videos]] [[Category:Videos by length|{{{length}}}]] [[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>
+
|}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern Videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date|&#32;{{{date}}}]]|}} | [[Category:LG15 videos]] [[Category: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>
 
<noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 22:44, 15 March 2008

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

Image not available.
Please add one.

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 KateModern video, add this line.
     Otherwise, omit it. -->
| KM = 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.