Template:Youtube: Difference between revisions
From MiiWiki
Jump to navigationJump to search
(Updated the template with my optimizations from WiKirby.) |
m (Float doesn't support "center" value.) |
||
Line 1: | Line 1: | ||
<includeonly>{|style="margin:0.5em; margin-top:0 !important; padding:3px 0 3px 0 !important; margin-{{#switch:{{{3|}}}|left|right | <includeonly>{|style="margin:0.5em; margin-top:0 !important; padding:3px 0 3px 0 !important; margin-{{#switch:{{{3|}}}|left|right={{{3|}}}|#default=left}}:0 !important; background-color:#dfeafe; border:2px solid #E47575; width:100px; float:{{#switch:{{{3|}}}|left|right|none={{{3|}}}|#default=left}}; display:inline-table;" | ||
|<div> | |<div> | ||
|{{#ev:youtube | |{{#ev:youtube | ||
Line 5: | Line 5: | ||
|{{{2|250}}} | |{{{2|250}}} | ||
}}{{#switch:{{{3|}}} | }}{{#switch:{{{3|}}} | ||
|left|right | |left|right|none=<div>{{{4|}}}</div> | ||
|#default=<div>{{{3|}}}</div> | |#default=<div>{{{3|}}}</div> | ||
}} | }} |
Revision as of 00:10, 22 March 2022