Template:V: Difference between revisions

From Trollpasta Wiki
Jump to navigationJump to search
Content added Content deleted
No edit summary
(I realized about 3/4 of the way into this edit that I could make this way less complicated with {{#if:}} statements...)
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>#ifeq:{{{2|}}}|reading|<!--
{{#ifeq:{{{2|}}}|reading| <h2>YouTube reading</h2>|
--><h2 style="clear: both;">YouTube reading</h2>|<!--
{{#ifeq:{{{3|}}}|reading| <h2>YouTube readings</h2>|
{{#ifeq:{{{4|}}}|reading| <h2>YouTube readings</h2>|
--><div style="margin-top:2em; clear: both;">
}}{{#tag:youtube|{{{1}}}}}{{#ifeq:{{{2|}}}|reading|__NOTOC__|</div>}}
{{#ifeq:{{{5|}}}|reading| <h2>YouTube readings</h2>|
{{#ifeq:{{{6|}}}|reading| <h2>YouTube readings</h2>|
{{#ifeq:{{{7|}}}|reading| <h2>YouTube readings</h2>|
{{#ifeq:{{{8|}}}|reading| <h2>YouTube readings</h2>|
{{#ifeq:{{{9|}}}|reading| <h2>YouTube readings</h2>|
{{#ifeq:{{{10|}}}|reading|<h2>YouTube readings</h2>|
{{#ifeq:{{{11|}}}|reading|<h2>YouTube readings</h2>|<div style="margin-top:2em; clear: both;">
}} }} }} }} }} }} }} }} }} }}{{v/piece|{{{1}}}}}<!--
-->{{#ifeq:{{{2|}}}|reading||{{v/piece|{{{2|---}}}}} }}<!--
-->{{#ifeq:{{{3|}}}|reading||{{v/piece|{{{3|---}}}}} }}<!--
-->{{#ifeq:{{{4|}}}|reading||{{v/piece|{{{4|---}}}}} }}<!--
-->{{#ifeq:{{{5|}}}|reading||{{v/piece|{{{5|---}}}}} }}<!--
-->{{#ifeq:{{{6|}}}|reading||{{v/piece|{{{6|---}}}}} }}<!--
-->{{#ifeq:{{{7|}}}|reading||{{v/piece|{{{7|---}}}}} }}<!--
-->{{#ifeq:{{{8|}}}|reading||{{v/piece|{{{8|---}}}}} }}<!--
-->{{#ifeq:{{{9|}}}|reading||{{v/piece|{{{9|---}}}}} }}<!--
-->{{#ifeq:{{{10|}}}|reading||{{v/piece|{{{2|---}}}}} }}<!--
-->{{#ifeq:{{{2|}}}|reading|__NOTOC__|
{{#ifeq:{{{3|}}}|reading| __NOTOC__|
{{#ifeq:{{{4|}}}|reading| __NOTOC__|
{{#ifeq:{{{5|}}}|reading| __NOTOC__|
{{#ifeq:{{{6|}}}|reading| __NOTOC__|
{{#ifeq:{{{7|}}}|reading| __NOTOC__|
{{#ifeq:{{{8|}}}|reading| __NOTOC__|
{{#ifeq:{{{9|}}}|reading| __NOTOC__|
{{#ifeq:{{{10|}}}|reading|__NOTOC__|
{{#ifeq:{{{11|}}}|reading|__NOTOC__|
</div>}} }} }} }} }} }} }} }} }} }}
<div style="clear: both;"></div>
<div style="clear: both;"></div>
<includeonly>[[Category:Videos]]</includeonly><noinclude>
<includeonly>[[Category:Videos]]</includeonly><noinclude>

Revision as of 10:42, 7 May 2022


Variables

Put {{v|<video ID>}} at the bottom of the page to embed a video.

Put {{v|<video ID>|reading}} to produce a section heading title "YouTube reading."