Difference between revisions of "Template:TextBlog"

From LGPedia
Jump to: navigation, search
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| 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}}; 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="background: {{ #ifeq: {{{KM}}} | yes | <nowiki>#</nowiki>653373; color: White; border:1px solid <nowiki>#</nowiki>4A2B66 | {{#ifeq: {{{RES}}} | yes | <nowiki>#</nowiki>71B642 | lightsteelblue }}}}; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}'''
+
| style="color: {{{tcolor|{{TextBlog/tcolor|{{{series}}}}}}}}; background: {{{color|{{TextBlog/color|{{{series}}}}}}}}; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}'''
 
|- valign=top
 
|- valign=top
 
! style="width:8em" | Blogger
 
! style="width:8em" | Blogger
Line 7: Line 7:
 
|- valign=top  
 
|- valign=top  
 
! Date Posted
 
! Date Posted
| {{#if: {{{date|}}} | {{date|{{{date}}}}}{{#if: {{{time|}}}|<br>{{{time}}}|}}} | Unknown}}
+
| {{#if: {{{date|}}} | {{date|{{{date}}}}}{{#if: {{{time|}}}|<br>{{{time}}}|}} | Unknown}}
 
|- valign=top
 
|- valign=top
 
! URL
 
! URL
| {{{url}}}
+
| {{{url}}} {{#if: {{{cast|}}} | <br>
 +
{{+}}
 +
{{!}} style="text-align: center; color: {{{tcolor|{{TextBlog/tcolor|{{{series}}}}}}}}; background: {{{color|{{TextBlog/color|{{{series}}}}}}}}; font-size: 110%" colspan="2" {{!}} '''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 | lightsteelblue }}}}; font-size: 110%" colspan="2" | '''Adjacent Blogs'''{{#if: {{{Previous|}}} | <br>
+
| style="text-align: center; color: {{{tcolor|{{TextBlog/tcolor|{{{series}}}}}}}}; background: {{{color|{{TextBlog/color|{{{series}}}}}}}}; font-size: 110%" colspan="2" | '''Adjacent Blogs'''{{#if: {{{Previous|}}} | <br>
 
{{!}}- valign=top
 
{{!}}- valign=top
 
! Directly after
 
! Directly after
Line 36: Line 40:
 
This template should be included at the top of every official LG15 text blog, and no other place.
 
This template should be included at the top of every official LG15 text blog, and no other place.
 
<pre>
 
<pre>
{{Blog
+
{{TextBlog
 
| name        =  
 
| name        =  
 +
| series      = LG15, LG2016, KM, RES, or N1
 
| blogger    =  
 
| blogger    =  
 
| date        =  
 
| date        =  
 
| time        =  
 
| time        =  
 
| url        =  
 
| url        =  
 +
 +
<!-- For use in cases of snapchats or facebook videos -->
 +
| cast        =
  
 
<!-- These function as the traditional PreviousC/NextC,
 
<!-- These function as the traditional PreviousC/NextC,
Line 52: Line 60:
 
| PreviousB  =  
 
| PreviousB  =  
 
| NextB      =  
 
| NextB      =  
 
<!-- If this is a non-LG15 video, add one of these lines.
 
    Otherwise, omit them. -->
 
| KM          = yes
 
| RES        = yes
 
 
}}</pre>
 
}}</pre>
  
 
*If the page name is the same as the blog name, <nowiki>{{PAGENAME}}</nowiki> should be used in the name variable.
 
*If the page name is the same as the blog name, <nowiki>{{PAGENAME}}</nowiki> should be used in the name variable.
 
*The date variable MUST be in the format YYYYMMDD.[[Category:Video templates]]</noinclude>
 
*The date variable MUST be in the format YYYYMMDD.[[Category:Video templates]]</noinclude>

Latest revision as of 02:25, 26 June 2016

{{{name}}}
Blogger {{{blogger}}}
Date Posted Unknown
URL {{{url}}}
Adjacent Blogs

Usage

This template should be included at the top of every official LG15 text blog, and no other place.

{{TextBlog
| name        = 
| series      = LG15, LG2016, KM, RES, or N1
| blogger     = 
| date        = 
| time        = 
| url         = 

<!-- For use in cases of snapchats or facebook videos -->
| cast        = 

<!-- These function as the traditional PreviousC/NextC,
     since Previous and Next are reserved for video blogs. -->
| 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       = 
}}
  • If the page name is the same as the blog name, {{PAGENAME}} should be used in the name variable.
  • The date variable MUST be in the format YYYYMMDD.