Template:V: Difference between revisions
From Trollpasta Wiki
Jump to navigationJump to search
Content added Content deleted
LOLSKELETONS (talk | contribs) (I realized about 3/4 of the way into this edit that I could make this way less complicated with {{#if:}} statements...) |
LOLSKELETONS (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
{{#ifeq:{{{11|}}}|reading|<h2>YouTube readings</h2>|<div style="margin-top:2em; clear: both;"> |
{{#ifeq:{{{11|}}}|reading|<h2>YouTube readings</h2>|<div style="margin-top:2em; clear: both;"> |
||
}} }} }} }} }} }} }} }} }} }}{{v/piece|{{{1}}}}}<!-- |
}} }} }} }} }} }} }} }} }} }}{{v/piece|{{{1}}}}}<!-- |
||
-->{{#ifeq:{{{2|}}}|reading||{{v/piece|{{{2|---}}}}} }}<!-- |
-->{{#ifeq:{{{2|}}}|reading||{{#if:{{{2|}}}|{{clear}}}}{{v/piece|{{{2|---}}}}}{{#if:{{{2|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{3|}}}|reading||{{v/piece|{{{3|---}}}}} }}<!-- |
-->{{#ifeq:{{{3|}}}|reading||{{v/piece|{{{3|---}}}}}{{#if:{{{3|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{4|}}}|reading||{{v/piece|{{{4|---}}}}} }}<!-- |
-->{{#ifeq:{{{4|}}}|reading||{{v/piece|{{{4|---}}}}}{{#if:{{{4|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{5|}}}|reading||{{v/piece|{{{5|---}}}}} }}<!-- |
-->{{#ifeq:{{{5|}}}|reading||{{v/piece|{{{5|---}}}}}{{#if:{{{5|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{6|}}}|reading||{{v/piece|{{{6|---}}}}} }}<!-- |
-->{{#ifeq:{{{6|}}}|reading||{{v/piece|{{{6|---}}}}}{{#if:{{{6|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{7|}}}|reading||{{v/piece|{{{7|---}}}}} }}<!-- |
-->{{#ifeq:{{{7|}}}|reading||{{v/piece|{{{7|---}}}}}{{#if:{{{7|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{8|}}}|reading||{{v/piece|{{{8|---}}}}} }}<!-- |
-->{{#ifeq:{{{8|}}}|reading||{{v/piece|{{{8|---}}}}}{{#if:{{{8|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{9|}}}|reading||{{v/piece|{{{9|---}}}}} }}<!-- |
-->{{#ifeq:{{{9|}}}|reading||{{v/piece|{{{9|---}}}}}{{#if:{{{9|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{10|}}}|reading||{{v/piece|{{{ |
-->{{#ifeq:{{{10|}}}|reading||{{v/piece|{{{10|---}}}}}{{#if:{{{10|}}}|{{clear}}}} }}<!-- |
||
-->{{#ifeq:{{{2|}}}|reading|__NOTOC__| |
-->{{#ifeq:{{{2|}}}|reading|__NOTOC__| |
||
{{#ifeq:{{{3|}}}|reading| __NOTOC__| |
{{#ifeq:{{{3|}}}|reading| __NOTOC__| |
Revision as of 10:57, 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."