User:Shiori/Template/Test: Difference between revisions

From LGPedia
Jump to navigationJump to search
Shiori (talk | contribs)
mNo edit summary
Shiori (talk | contribs)
m Blanking, now that Age is working properly
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" 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}};" 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="background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>ae2301; color: White; border:1px solid <nowiki>#</nowiki>941f01 | lightsteelblue }}; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}'''
|-
|style="font-size: 100%;" align="center" colspan="2" |
{{#if: {{{image|}}} | [[Image:{{{image}}}|220px| ]]<br>{{#if: {{{caption|}}} | {{{caption}}} | <includeonly>[[Category:Videos needing captions]]</includeonly>}}|
Image not available.<br />Please [[Special:Upload | add]] one.<includeonly>[[Category:Videos needing images]]</includeonly>}}
|- valign=top
! style="width:8em" | Blogger
| [[{{{blogger}}}]]
|- valign=top
! Date Posted
| {{#if: {{{date|}}} | {{date|{{{date}}}}} | Unknown}}
|- valign=top
! URL
| {{{url}}} {{#if: {{{forumid|}}} | <br>
{{!}}- valign=top
! Forum
{{!}} {{forum|{{{forumid}}}|3={{#ifeq:{{{KM}}}|yes|km|lg15}}}}|}}
|- valign=top
! Length
| {{#ifeq:{{{KM}}}|yes|[[:Category:KateModern videos by length|{{{length}}}]]|[[:Category:Lonelygirl15 videos by length|{{{length}}}]]}}
|- valign=top
! Description
| {{{description}}}{{#if: {{{location|}}} | <br>
{{+}} valign=top
! Location(s)
{{!}} {{{location}}}| <includeonly>{{#ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing locations]] | [[Category:Lonelygirl15 videos missing locations]]}}</includeonly>}}{{#if: {{{tags|}}} | <br>
{{+}}valign=top
! 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>
{{+}}
{{!}} 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'''
{{+}} |<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos missing production credits]] | [[Category:Lonelygirl15 videos missing production credits]]}}</includeonly>}}{{#if: {{{execprod|}}} | <br>
{{!}}- valign=top
! Executive Producer(s)
{{!}} {{{execprod}}}<includeonly>[[Category:Videos with {{{execprod}}} as executive producers]]</includeonly>|}}{{#if: {{{coexecprod|}}} | <br>
{{!}}- valign=top
! Co-Executive Producer(s)
{{!}} {{{coexecprod}}}<includeonly>[[Category:Videos with {{{coexecprod}}} as co-executive producers]]</includeonly>|}}{{#if: {{{assocprod|}}} | <br>
{{!}}- valign=top
! Associate Producer(s)
{{!}} {{{assocprod}}}<includeonly>[[Category:Videos with {{{assocprod}}} as associate producer]]</includeonly>|}}{{#if: {{{serprod|}}} | <br>
{{!}}- valign=top
! Series Producer(s)
{{!}} {{{serprod}}}<includeonly>[[Category:Videos with {{{serprod}}} as series producer]]</includeonly>|}}{{#if: {{{setprod|}}} | <br>
{{!}}- valign=top
! On-Set Producer
{{!}} {{{setprod}}}<includeonly>[[Category:Videos with {{{setprod}}} as on-set producer]]</includeonly>|}}{{#if: {{{producers|}}} | <br>
{{!}}- valign=top
! Producer(s)
{{!}} {{{producers}}} <includeonly>[[Category:Videos with {{{producers}}} as producer]]</includeonly>|}}{{#if: {{{assistprod|}}} | <br>
{{!}}- valign=top
! Assistant Producer
{{!}} {{{assistprod}}} <includeonly>[[Category:Videos with {{{assistprod}}} as assistant producer]]</includeonly>|}}{{#if: {{{lineprod|}}} | <br>
{{!}}- valign=top
! Line Producer
{{!}} {{{lineprod}}} <includeonly>[[Category:Videos with {{{lineprod}}} as line producer]]</includeonly>|}}{{#if: {{{supprod|}}} | <br>
{{!}}- valign=top
! Supervising Producer(s)
{{!}} {{{supprod}}}<includeonly>[[Category:Videos with {{{supprod}}} as supervising producer]]</includeonly>|}}{{#if: {{{pm|}}} | <br>
{{!}}- valign=top
! Production Manager
{{!}} {{{pm}}} <includeonly>[[Category:Videos with {{{pm}}} as production manager]]</includeonly>|}}{{#if: {{{pa|}}} | <br>
{{!}}- valign=top
! Production Assistant(s)
{{!}} {{{pa}}} <includeonly>[[Category:Videos with {{{pa}}} as production assistant]]</includeonly>|}}<!--{{#if: {{{ps|}}} | <br>
{{!}}- valign=top
! Production Secretary
{{!}} {{{ps}}} <includeonly>[[Category:Videos with {{{ps}}} as production secretary]]</includeonly>|}}{{#if: {{{ipa|}}} | <br>
{{!}}- valign=top
! Interactive Production Assistant(s)
{{!}} {{{ipa}}} <includeonly>[[Category:Videos with {{{ipa}}} as interactive production assistant]]</includeonly>|}}-->{{#if: {{{pc|}}} | <br>
{{!}}- valign=top
! Production Co-Ordinator
{{!}} {{{pc}}} <includeonly>[[Category:Videos with {{{pc}}} as production co-ordinator]]</includeonly>|}}{{#if: {{{ic|}}} | <br>
{{!}}- valign=top
! Interactive Co-ordinator(s)
{{!}} {{{ic}}} <includeonly>[[Category:Videos with {{{ic}}} as interactive co-ordinator]]</includeonly>|}}{{#if: {{{pr|}}} | <br>
{{!}}- valign=top
! Production Runner(s)
{{!}} {{{pr}}} <includeonly>[[Category:Videos with {{{pr}}} as production runner]]</includeonly>|}}{{#if: {{{directors|}}} | <br>
{{!}}- valign=top
! Director(s)
{{!}} {{{directors}}} <includeonly>[[Category:videos directed by {{{directors}}}]]</includeonly>|}}{{#if: {{{camera|}}} | <br>
{{!}}- valign=top
! Camera
{{!}} {{{camera}}} <includeonly>[[Category:videos filmed by {{{camera}}}]]</includeonly>|}}{{#if: {{{headwriter|}}} | <br>
{{!}}- valign=top
! Head Writer
{{!}} {{{headwriter}}} <includeonly>[[Category:Videos with {{{headwriter}}} as head writer]]</includeonly>|}}{{#if: {{{vidplay|}}} | <br>
{{!}}- valign=top
! Vidplay
{{!}} {{{vidplay}}} <includeonly>[[Category:vidplays written by {{{vidplay}}}]]</includeonly>|}}{{#if: {{{story|}}} | <br>
{{!}}- valign=top
! Story
{{!}} {{{story}}} <includeonly>[[Category:Story written by {{{story}}}]]</includeonly>|}}{{#if: {{{editor|}}} | <br>
{{!}}- valign=top
! Editor(s)
{{!}} {{{editor}}} <includeonly>[[Category:videos edited by {{{editor}}}]]</includeonly>|}}{{#if: {{{animation|}}} | <br>
{{!}}- valign=top
! Animator(s)
{{!}} {{{animation}}} <includeonly>[[Category:animation by {{{animation}}}]]</includeonly>|}}{{#if: {{{prodserv|}}} | <br>
{{!}}- valign=top
! Production Services
{{!}} {{{prodserv}}} <includeonly>[[Category:Production services provided by {{{prodserv}}}]]</includeonly>|}}{{#if: {{{music supervisor|}}} | <br>
{{!}}- valign=top
! Music Supervisor
{{!}} {{{music supervisor}}} <includeonly>[[Category:music supervised by {{{music supervisor}}}]]</includeonly>|}}{{#if: {{{song|}}} | <br>
{{!}}- valign=top
! Music
{{!}} {{{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'''
{{+}}
{{{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'''
|- valign=top
! Previous
| {{#if: {{{Previous|}}} | "[[{{{Previous}}}]]" | none}}
|- valign=top
! Next
| {{#if: {{{Next|}}} | "[[{{{Next}}}]]" | none}}{{#if: {{{PreviousB|}}} | <br>
{{!}}- valign=top
! Previous by {{{blogger}}}
{{!}} "[[{{{PreviousB}}}]]" |}}{{#if: {{{NextB|}}} | <br>
{{!}}- valign=top
! Next by {{{blogger}}}
{{!}} "[[{{{NextB}}}]]" |}}{{#if: {{{PreviousC|}}} | <br>
{{!}}- valign=top
! Directly after
{{!}} "[[{{{PreviousC}}}]]" |}}{{#if: {{{NextC|}}} | <br>
{{!}}- valign=top
! Directly before
{{!}} "[[{{{NextC}}}]]" |}}
{{ #ifexpr: {{ #if: {{{PreviousD|}}} | 1 | 0 }} or {{ #if: {{{NextD|}}} | 1 | 0 }} |
{{+}}
{{!}} 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" {{!}} '''Crossover Blogs'''|}}{{#if: {{{PreviousD|}}} | <br>
{{+}}valign=top
! Reply to
{{!}} "[[{{{PreviousD}}}]]" |}}{{#if: {{{NextD|}}} | <br>
{{+}} valign=top
! Response
{{!}} "[[{{{NextD}}}]]" |}}
|}
{{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|{{#ifeq: {{{KM}}} | yes | KM=yes}}|{{{name}}}}}|}}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern 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>
== Usage ==
This template should be included at the top of every official [[List of Lonelygirl15 videos|LG15 video]], and no other place.
<pre>
{{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      =
<!-- These are for videos from ONLY KateModern or lonelygirl15 videos,
    which are responding to one another.
    They create "Reply to ..." and "Response ..." rows -->
| PreviousD  =
| NextD      =
<!-- If this is a KateModern video, add this line.
    Otherwise, omit it. -->
| KM = yes
}}</pre>
<!-- saved for later
| pm          =
| ps          =
| pa          =
| pr          =
| ipa        =
| animation  =
-->
*If the page name is the same as the video name, <nowiki>{{PAGENAME}}</nowiki> should be used in the name variable.
*The date variable MUST be in the format YYYYMMDD.[[Category:Video templates]]</noinclude>

Latest revision as of 18:47, 24 April 2008