Difference between revisions of "Template:Show"

From LGPedia
Jump to: navigation, search
m
Line 17: Line 17:
 
{{{crew}}}}}
 
{{{crew}}}}}
 
|-
 
|-
|colspan="2" style="text-align: center;"|{{ #ifexist: Portal:{{{name|{{PAGENAME}}}}} | [[Portal:{{{name|{{PAGENAME}}}}}|Portal of {{{name|{{PAGENAME}}}}}]]<br> | {{#if: {{{portal|}}} | [[{{{portal}}}|Portal of {{{name|{{PAGENAME}}}}}]] <br>}} }}{{ #ifexist: List of {{{name|{{PAGENAME}}}}} videos | [[List of {{{name|{{PAGENAME}}}}} videos]] | {{#if: {{{lov|}}} | [[{{{lov}}}|List of {{{name|{{PAGENAME}}}}} videos]] }} }}
+
|colspan="2" style="text-align: center;"|[[{{{portal}}}|Portal of {{{name|{{PAGENAME}}}}}]]<br>[[{{{lov}}}|List of {{{name|{{PAGENAME}}}}} videos]]
 
|}<noinclude>
 
|}<noinclude>
 
This template generates a sidebar similar to [[Template:Blog]], but for use on the main descriptive pages of shows.
 
This template generates a sidebar similar to [[Template:Blog]], but for use on the main descriptive pages of shows.
Line 43: Line 43:
 
*'''<code>creators</code>''' is shown exactly as entered, so that a list of links can be made.
 
*'''<code>creators</code>''' is shown exactly as entered, so that a list of links can be made.
 
*'''<code>cast</code>''', '''<code>former</code>''' and '''<code>crew</code>''' are meant for use with [[Template:Show/row]] - see that page if you're unsure how to use it.
 
*'''<code>cast</code>''', '''<code>former</code>''' and '''<code>crew</code>''' are meant for use with [[Template:Show/row]] - see that page if you're unsure how to use it.
*'''<code>portal</code>''' and '''<code>lov</code>''' will check for the common names first (Portal:Name and List of Name videos), and only if such a page was not found processes the input. That input is automatically turned into a link (iow, it expects the page name of this series' list of videos).  
+
*'''<code>portal</code>''' and '''<code>lov</code>''' ask for the Portal and List of Videos for that show, if they have them.
 
*'''<code>bgcolor</code>''' controls the background color (defaults to #FFFFFF).
 
*'''<code>bgcolor</code>''' controls the background color (defaults to #FFFFFF).
 
*'''<code>headercolor</code>''' controls the subsection header colors (defaults to #D3D3D3).
 
*'''<code>headercolor</code>''' controls the subsection header colors (defaults to #D3D3D3).

Revision as of 20:46, 4 March 2009

Show
Image not available.
Please add one.
[[{{{portal}}}|Portal of Show]]
[[{{{lov}}}|List of Show videos]]

This template generates a sidebar similar to Template:Blog, but for use on the main descriptive pages of shows.

Usage

{{Show
|name     =
|image    =
|creators =

|cast     = {{Show/row|CHARACTER|ACTOR}}
|former   = {{Show/row|FORMER CHARACTER|FORMER ACTOR}}
|crew     = {{Show/row|PRODUCTION FUNCTION|CREWMEMBER}}

|portal   =
|lov      =

|bgcolor     =
|headercolor =
|headerfont  =
|fontcolor   =
|bordercolor =
}}
  • name defaults to the page name.
  • image expects only the filename, no preceeding Image: or other parameters.
  • creators is shown exactly as entered, so that a list of links can be made.
  • cast, former and crew are meant for use with Template:Show/row - see that page if you're unsure how to use it.
  • portal and lov ask for the Portal and List of Videos for that show, if they have them.
  • bgcolor controls the background color (defaults to #FFFFFF).
  • headercolor controls the subsection header colors (defaults to #D3D3D3).
  • headerfont controls the subsection header font colors (defaults to #000000).
  • fontcolor controls the overall font color (defaults to #000000).
  • bordercolor controls the border color (defaults to #AAAAAA).

If the series name equals the page name, and portal and list of videos are at the default locations, all three values can be omitted.