Difference between revisions of "Template:Video"

From Clicklaw Wikibooks
Line 1: Line 1:
{{fmbox
+
<table class="vertical-navbox noprint {{#if:{{{wraplinks|}}}|{{#ifeq:{{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{class|}}} {{{bodyclass|}}}" <!--
| image = [[File:video_logo.png|40px|link=|alt=]]
+
    -->style="float:left; clear:left; color:black; background:#ffffff; border:1px solid #aaa; <noinclude>width:13.0em;</noinclude> margin:0 0 1.0em 1.0em; padding:0.2em; border-spacing:0.4em 0; text-align:center; line-height:1.4em; font-size:88%; {{{style|}}} {{{bodystyle|}}}" <!--
| style = width:280px;clear: right;float: right;
+
    -->cellpadding="{{{cellpadding|0}}}"><!--
| text = {{{video}}}
+
 
}}
+
------------------------------ outertitle -------------------------------
<noinclude>__NOGLOSSARY__
+
-->{{#if:{{{outertitle<includeonly>|</includeonly>}}}
[[Category:Exclude in print|!]]
+
    | <caption class="{{{outertitleclass|}}}" style="padding-bottom:0.2em; font-size:145%; line-height:1.15em; font-weight:bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
 +
-->}}<!--
 +
 
 +
--------------------------- video, caption ------------------------------
 +
-->{{#if:{{{image<includeonly>|</includeonly>}}}
 +
    | <tr><td class="{{{imageclass|}}}" style="padding:0.2em 0 0.4em; {{{imagestyle|}}}">{{{video}}}<!--
 +
        -->{{#if:{{{caption<includeonly>|</includeonly>}}} |<div style="padding-top:0.2em; font-size:85%; line-height:1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}<!--
 +
--></td></tr>}}<!--
 +
 
 +
-------------------------------- below ----------------------------------
 +
-->{{#if:{{{below<includeonly>|</includeonly>}}} |<tr><td style="padding:0.3em 0.4em 0.3em; font-weight:bold; {{{belowstyle|}}}">{{{below}}}<!----></td></tr>}}<!--
 +
-->}}
 +
</table><noinclude>
 +
{{pp-template}}
 +
{{Documentation}}
 +
 
 +
<!---
 +
Please add metadata (categories, interwikis) to the <includeonly>
 +
section at the bottom of Template:Sidebar/doc, not here - thanks!
 +
---->
 
</noinclude>
 
</noinclude>

Revision as of 06:07, 2 April 2014

}}
50px Template documentation[create]


Personal tools
Namespaces

Variants
Actions
Site
Tools
Contributors