Difference between revisions of "Template:FakeBlog"

From LGPedia
Jump to: navigation, search
(Made Production credits display conditional as well. Template now fully cast= compatible, retains backwards-compatibility for archaic numbered system)
m (De-escaping variables and trying less line breaks)
Line 22: Line 22:
 
! YouTube Tags
 
! YouTube Tags
 
| {{{tags}}}
 
| {{{tags}}}
{{ #ifexpr: {{#if: {{{execprod|}}} | 1 | 0 }} = 1 or {{#if: {{{producers|}}} | 1 | 0 }} = 1 or {{#if: {{{directors|}}} | 1 | 0 }} = 1 or {{#if: {{{camera|}}} | 1 | 0 }} = 1 or {{#if: {{{vidplay|}}} | 1 | 0 }} = 1 or {{#if: {{{story|}}} | 1 | 0 }} = 1 or {{#if: {{{editor|}}} | 1 | 0 }} = 1 or {{#if: {{{song|}}} | 1 | 0 }} | <!-- then -->
+
{{ #ifexpr: {{#if: {{{execprod|}}} | 1 | 0 }} = 1 or {{#if: {{{producers|}}} | 1 | 0 }} = 1 or {{#if: {{{directors|}}} | 1 | 0 }} = 1 or {{#if: {{{camera|}}} | 1 | 0 }} = 1 or {{#if: {{{vidplay|}}} | 1 | 0 }} = 1 or {{#if: {{{story|}}} | 1 | 0 }} = 1 or {{#if: {{{editor|}}} | 1 | 0 }} = 1 or {{#if: {{{song|}}} | 1 | 0 }} |{{+}}
{{+}}
+
 
{{!}} style="text-align: center; background: {{{separatorcolor|#C4C4C4}}}; font-size: 110%; color: {{{separatortextcolor|{{{fontcolor|#000000}}}}}};" colspan="2" {{!}} '''Production Credits'''  
 
{{!}} style="text-align: center; background: {{{separatorcolor|#C4C4C4}}}; font-size: 110%; color: {{{separatortextcolor|{{{fontcolor|#000000}}}}}};" colspan="2" {{!}} '''Production Credits'''  
 
{{+}}
 
{{+}}
Line 51: Line 50:
 
! Music
 
! Music
 
{{!}} {{{song}}} |}}|<!-- else -->}}
 
{{!}} {{{song}}} |}}|<!-- else -->}}
{{ #ifexpr: {{ #if:  {{{cast|}}} | 1 | 0 }} = 1 or ({{ #if:  {{{character6|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character5|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character4|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character3|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character2|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character1|}}} | 1 | 0 }} = 1) |<!-- then -->
+
{{ #ifexpr: {{ #if:  {{{cast|}}} | 1 | 0 }} = 1 or ({{ #if:  {{{character6|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character5|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character4|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character3|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character2|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character1|}}} | 1 | 0 }} = 1) |{{+}}
{{+}}
+
{{!}} style="text-align: center; background: {{{separatorcolor|#C4C4C4}}}; font-size: 110%; color: {{{separatortextcolor|{{{fontcolor|#000000}}}}}};" colspan="2" {{!}} '''Cast'''
{{!}} style="text-align: center; background: {{{separatorcolor{{!}}#C4C4C4}}}; font-size: 110%; color: {{{separatortextcolor{{!}}{{{fontcolor{{!}}#000000}}}}}};" colspan="2" {{!}} '''Cast'''
+
 
{{#if:{{{cast|}}}|{{{cast}}}|}}
 
{{#if:{{{cast|}}}|{{{cast}}}|}}
{{ #ifexpr: {{ #if:  {{{character6|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character5|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character4|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character3|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character2|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character1|}}} | 1 | 0 }} = 1 |<!-- then -->
+
{{ #ifexpr: {{ #if:  {{{character6|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character5|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character4|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character3|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character2|}}} | 1 | 0 }} = 1 or {{ #if:  {{{character1|}}} | 1 | 0 }} = 1 |{{+}}
{{+}}
+
 
{{!}} style="font-size: 1px; height:2px" {{!}}   
 
{{!}} style="font-size: 1px; height:2px" {{!}}   
 
{{#if: {{{character6|}}} | {{!}}- valign=top
 
{{#if: {{{character6|}}} | {{!}}- valign=top
Line 75: Line 72:
 
{{#if: {{{character1|}}} | {{!}}- valign=top
 
{{#if: {{{character1|}}} | {{!}}- valign=top
 
! {{{character1}}}
 
! {{{character1}}}
{{!}} {{{actor1}}} |}}
+
{{!}} {{{actor1}}} |}}|<!-- else -->}}|<!-- else -->}}
|<!-- else -->}}
+
|<!-- else -->}}
+
 
|-
 
|-
 
| style="text-align: center; background: {{{separatorcolor|#C4C4C4}}}; font-size: 110%; color: {{{separatortextcolor|{{{fontcolor|#000000}}}}}};" colspan="2" | '''Adjacent Blogs'''
 
| style="text-align: center; background: {{{separatorcolor|#C4C4C4}}}; font-size: 110%; color: {{{separatortextcolor|{{{fontcolor|#000000}}}}}};" colspan="2" | '''Adjacent Blogs'''

Revision as of 23:46, 31 July 2007

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

Image not available.
Please add one.

Blogger [[{{{blogger}}}]]
Date Posted {{{date}}}
URL {{{url}}}
Description {{{description}}}
YouTube Tags {{{tags}}}


Adjacent Blogs
Previous none
Next none

Usage

This template should be included at the top of pages that want to have the look of an LG15 video page, but are not LG15 video pages. I'm planning on tweaking this design for more of a custom look, so look out for a new version.

{{FakeBlog
| name        =
| number      =
| image       = 
| caption     =
| blogger     = 
| date        = 
| url         = 
| description = 
| tags        = 

<!-- Leave production credits 
     blank if there is no information. Do not specify "none". -->
| execprod =
| producers =
| directors = 
| camera =
| vidplay =
| story =
| editor =
| song =

| cast = 
{{FakeVidChar|Character name|Actor/ess name}} <!-- both names can be turned into links manually -->

| Previous = <!-- Leave blank after =
                    if there is no previous blog. -->
| Next = <!-- Leave blank after =
                    if there is no next blog. -->

<!-- customization -->
| bgcolor =
| fontcolor =
| separatorcolor =
| separatortextcolor =
| borderstyle = <!-- This takes a full CSS border statement, like "Black 1px solid" -->
| prefix = <!-- This replaces "Episode" at the very top -->
}}