Template:Youtube: Difference between revisions
From MiiWiki
Jump to navigationJump to search
mNo edit summary |
(Updated the template with my optimizations from WiKirby.) |
||
Line 1: | Line 1: | ||
<includeonly>{|style="margin:0.5em; margin-top:0 !important; padding:3px 0 3px 0 !important; margin-{{#switch:{{{3|}}}| | <includeonly>{|style="margin:0.5em; margin-top:0 !important; padding:3px 0 3px 0 !important; margin-{{#switch:{{{3|}}}|left|right|center={{{3|}}}|#default=left}}:0 !important; background-color:#dfeafe; border:2px solid #E47575; width:100px; float:{{#switch:{{{3|}}}|left|right|center|none={{{3|}}}|#default=left}}; display:inline-table;" | ||
|<div> | |<div> | ||
|{{#ev:youtube | |{{#ev:youtube | ||
|{{{1}}} | |{{{1|}}} | ||
| | |{{{2|250}}} | ||
}}{{#switch:{{{3|}}} | }}{{#switch:{{{3|}}} | ||
|left|right|center|none=<div>{{{4|}}}</div> | |||
|#default=<div>{{{3|}}}</div> | |||
}} | }} | ||
|</div> | |</div> | ||
|} | |}</includeonly><noinclude> | ||
</includeonly> | [[Category:Formatting templates|Y]] | ||
<noinclude> | |||
[[Category:Formatting templates]] | |||
</noinclude> | </noinclude> |
Revision as of 14:12, 11 March 2022