Difference between revisions of "Template:Show"
From LGPedia
| (13 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="infobox | + | {| class="infobox" style="font-size: 90%; float: right; background-color: {{{bgcolor|#FFFFFF}}}; border: 1px solid {{{bordercolor|#AAAAAA}}}; color: {{{fontcolor|#000000}}};margin-left: 2em; margin-bottom: 2em; width: 21em; text-align: left;" cellspacing="2" |
|- | |- | ||
| − | + | !style="background-color: {{{headercolor|#D3D3D3}}}; color: {{{headerfont|#000000}}}; font-size: 110%;" align="center" colspan="2"|'''{{{name|{{PAGENAME}}}}}''' | |
|- | |- | ||
| − | |style="font-size: 100%;" align="center" colspan="2" | | + | |style="font-size: 100%;" align="center" colspan="2" |{{#if: {{{image|}}} | [[Image:{{{image}}}|220px]] | Image not available.<br />Please [[Special:Upload | add]] one. }} {{#if: {{{creators|}}} |<br> |
| − | {{#if: {{{image|}}} | [[Image:{{{image}}}|220px | + | {{+}}valign="top" |
| − | + | {{!}}'''Created by''' | |
| − | {{ | + | {{!}}{{{creators}}}}} {{#if: {{{cast|}}} |<br> |
| − | + | {{+}} | |
| − | + | !style="background-color: {{{headercolor|#D3D3D3}}}; color: {{{headerfont|#000000}}}; font-size: 110%;" align="center" colspan="2"{{!}}Cast | |
| − | {{ | + | {{{cast}}}}} {{#if: {{{former|}}} |<br> |
| − | + | {{+}} | |
| − | {{!}} | + | !style="background-color: {{{headercolor|#D3D3D3}}}; color: {{{headerfont|#000000}}}; font-size: 110%;" align="center" colspan="2"{{!}}Former Cast |
| − | + | {{{former}}}}} {{#if: {{{crew|}}} |<br> | |
| − | + | {{+}} | |
| − | {{ | + | !style="background-color: {{{headercolor|#D3D3D3}}}; color: {{{headerfont|#000000}}}; font-size: 110%;" align="center" colspan="2"{{!}}Production Crew |
| − | + | {{{crew}}}}} {{ #ifexpr: {{ #if: {{{portal|}}} | 1 | 0 }} or {{ #if: {{{lov|}}} | 1 | 0 }} | <br> | |
| − | {{ | + | {{+}} |
| − | + | {{!}}colspan="2" align="center"{{!}}{{#if:{{{portal|}}}|[[{{{portal}}}|{{{name|{{PAGENAME}}}}} Portal]]}}<br>{{#if:{{{lov|}}}|[[{{{lov}}}|List of {{{name|{{PAGENAME}}}}} videos]]}}|}} | |
| − | + | |}<noinclude> | |
| − | + | This template generates a sidebar similar to [[Template:Blog]], but for use on the main descriptive pages of shows. | |
| − | + | ==Usage== | |
| − | + | <pre>{{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 = | |
| − | + | }}</pre> | |
| − | + | *'''<code>name</code>''' defaults to the page name. | |
| − | + | *'''<code>image</code>''' expects ''only'' the filename, no preceeding Image: or other parameters. | |
| − | + | *'''<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>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>headercolor</code>''' controls the subsection header colors (defaults to #D3D3D3). | |
| − | + | *'''<code>headerfont</code>''' controls the subsection header font colors (defaults to #000000). | |
| − | + | *'''<code>fontcolor</code>''' controls the overall font color (defaults to #000000). | |
| − | + | *'''<code>bordercolor</code>''' 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. | |
| − | + | [[Category:Templates|{{PAGENAME}}]] | |
| − | + | </noinclude> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 16:27, 20 March 2009
| Show | |
|---|---|
| Image not available. Please add one. |
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 =
}}
namedefaults to the page name.imageexpects only the filename, no preceeding Image: or other parameters.creatorsis shown exactly as entered, so that a list of links can be made.cast,formerandcreware meant for use with Template:Show/row - see that page if you're unsure how to use it.portalandlovask for the Portal and List of Videos for that show, if they have them.bgcolorcontrols the background color (defaults to #FFFFFF).headercolorcontrols the subsection header colors (defaults to #D3D3D3).headerfontcontrols the subsection header font colors (defaults to #000000).fontcolorcontrols the overall font color (defaults to #000000).bordercolorcontrols 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.