Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Morphquote: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Ld3105
workaround using MediaWiki's gallery slideshow elements
imported>TabbyGarf
Reverted edits by Ld3105 (talk) to last revision by [[User:imported>Schnookums|imported>Schnookums]]
Line 1: Line 1:
<onlyinclude><gallery mode="slideshow" style="display: none;"></gallery>
<onlyinclude><span class="morphMaster" id="{{{1}}}Master"></span><table style="{{{2}}}">
<ul class="gallery mw-gallery-slideshow" style="margin: 0; width: {{{width|600px}}}; {{{2|}}}">
<tr><td>{{ #if:{{{4|}}} | <span id="{{{1}}}Content1">{{quote|{{{4}}}|{{{5}}}}}</span> |}}{{ #if:{{{6|}}} | <span id="{{{1}}}Content2">{{quote|{{{6}}}|{{{7}}}}}</span> |}}{{ #if:{{{8|}}} | <span id="{{{1}}}Content3">{{quote|{{{8}}}|{{{9}}}}}</span> |}}{{ #if:{{{10|}}} | <span id="{{{1}}}Content4">{{quote|{{{10}}}|{{{11}}}}}</span> |}}{{ #if:{{{12|}}} | <span id="{{{1}}}Content5">{{quote|{{{12}}}|{{{13}}}}}</span> |}}{{ #if:{{{14|}}} | <span id="{{{1}}}Content6">{{quote|{{{14}}}|{{{15}}}}}</span> |}}{{ #if:{{{16|}}} | <span id="{{{1}}}Content7">{{quote|{{{16}}}|{{{17}}}}}</span> |}}{{ #if:{{{18|}}} | <span id="{{{1}}}Content8">{{quote|{{{18}}}|{{{19}}}}}</span> |}}{{ #if:{{{20|}}} | <span id="{{{1}}}Content9">{{quote|{{{20}}}|{{{21}}}}}</span> |}}{{ #if:{{{22|}}} | <span id="{{{1}}}Content10">{{quote|{{{22}}}|{{{23}}}}}</span> |}}{{ #if:{{{24|}}} | <span id="{{{1}}}Content11">{{quote|{{{24}}}|{{{25}}}}}</span> |}}{{ #if:{{{26|}}} | <span id="{{{1}}}Content12">{{quote|{{{26}}}|{{{27}}}}}</span> |}}{{ #if:{{{28|}}} | <span id="{{{1}}}Content13">{{quote|{{{28}}}|{{{29}}}}}</span> |}}{{ #if:{{{30|}}} | <span id="{{{1}}}Content14">{{quote|{{{30}}}|{{{31}}}}}</span> |}}{{ #if:{{{32|}}} | <span id="{{{1}}}Content15">{{quote|{{{32}}}|{{{33}}}}}</span> |}}{{ #if:{{{34|}}} | <span id="{{{1}}}Content16">{{quote|{{{34}}}|{{{35}}}}}</span> |}}{{ #if:{{{36|}}} | <span id="{{{1}}}Content17">{{quote|{{{36}}}|{{{37}}}}}</span> |}}{{ #if:{{{38|}}} | <span id="{{{1}}}Content18">{{quote|{{{38}}}|{{{39}}}}}</span> |}}{{ #if:{{{40|}}} | <span id="{{{1}}}Content19">{{quote|{{{40}}}|{{{41}}}}}</span> |}}{{ #if:{{{42|}}} | <span id="{{{1}}}Content20">{{quote|{{{42}}}|{{{43}}}}}</span> |}}</td></tr>
{{#if:{{{4|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{4}}}|{{{5}}}}}</div></li>|}}<!--
<tr><td style="height:3em;line-height:3em;text-align: center;"><span id="{{{1}}}LinkPrev" style="{{{3}}}">Previous Quote</span> | <span id="{{{1}}}LinkNext" style="{{{3}}}">Next Quote</span></td></tr>
-->{{#if:{{{6|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{6}}}|{{{7}}}}}</div></li>|}}<!--
</table></onlyinclude>
-->{{#if:{{{8|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{8}}}|{{{9}}}}}</div></li>|}}<!--
 
-->{{#if:{{{10|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{10}}}|{{{11}}}}}</div></li>|}}<!--
<noinclude>
-->{{#if:{{{12|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{12}}}|{{{13}}}}}</div></li>|}}<!--
-->{{#if:{{{14|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{14}}}|{{{15}}}}}</div></li>|}}<!--
-->{{#if:{{{16|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{16}}}|{{{17}}}}}</div></li>|}}<!--
-->{{#if:{{{18|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{18}}}|{{{19}}}}}</div></li>|}}<!--
-->{{#if:{{{20|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{20}}}|{{{21}}}}}</div></li>|}}<!--
-->{{#if:{{{22|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{22}}}|{{{23}}}}}</div></li>|}}<!--
-->{{#if:{{{24|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{24}}}|{{{25}}}}}</div></li>|}}<!--
-->{{#if:{{{26|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{26}}}|{{{27}}}}}</div></li>|}}<!--
-->{{#if:{{{28|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{28}}}|{{{29}}}}}</div></li>|}}<!--
-->{{#if:{{{30|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{30}}}|{{{31}}}}}</div></li>|}}<!--
-->{{#if:{{{32|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{32}}}|{{{33}}}}}</div></li>|}}<!--
-->{{#if:{{{34|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{34}}}|{{{35}}}}}</div></li>|}}<!--
-->{{#if:{{{36|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{36}}}|{{{37}}}}}</div></li>|}}<!--
-->{{#if:{{{38|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{38}}}|{{{39}}}}}</div></li>|}}<!--
-->{{#if:{{{40|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{40}}}|{{{41}}}}}</div></li>|}}<!--
-->{{#if:{{{42|}}}|<li class="gallerybox"><div class="gallerytext">{{quote|{{{42}}}|{{{43}}}}}</div></li>|}}
</ul></onlyinclude><noinclude>
<pre>
<pre>
1: Unique ID
1: Unique ID
Line 60: Line 43:
<br>
<br>
<pre>
<pre>
{{morphquote|mqtest2|background-color: tan; width: 80%;|font-weight: bold;
{{morphquote|mqtest2|background-color: tan; width: 80%; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
Line 69: Line 52:




{{morphquote|mqtest2|background-color: tan; width: 80%;|font-weight: bold;
{{morphquote|mqtest2|background-color: tan; width: 80%; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
Line 82: Line 65:
<br>
<br>
<pre>
<pre>
{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px;|font-weight: bold;
{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
Line 90: Line 73:




{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px;|font-weight: bold;
{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
Line 99: Line 82:
<br>
<br>
<pre>
<pre>
{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px;|font-weight: bold;
{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|{{blueblink|JUUUULLLAAAYYYYY!!}}|[[Chris-chan]]
|{{blueblink|JUUUULLLAAAYYYYY!!}}|[[Chris-chan]]
Line 107: Line 90:




{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px;|font-weight: bold;
{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|{{blueblink|JUUUULLLAAAYYYYY!!}}|[[Chris-chan]]
|{{blueblink|JUUUULLLAAAYYYYY!!}}|[[Chris-chan]]

Revision as of 01:22, 16 March 2021

Previous Quote | Next Quote


1: Unique ID
2: Table style
3: Navigation link styles

4/5: Quote 1 | Speaker 1
6/7: Quote 2 | Speaker 2
8/9: Quote 3 | Speaker 3

...

up to Quote 20 | Speaker 20

and so on...


Examples


{{morphquote|mqtest|background-color: lightgray;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|I am irresistible.|some faggot
}}

yields...


   
 
I wish I had an airplane sized oven.
 

 
 

—Me, on the plane with fifty fucking Jews yesterday.

   
 
JUUUULLLAAAYYYYY!!
 

 
 

Chris-chan

   
 
I am irresistible.
 

 
 

—some faggot

Previous Quote | Next Quote


Specify Box Dimensions

To set a constant table width, simply add the size into the same section as the background color in either pixels (px) or a percentage (%).

For example:

{{morphquote|mqtest2|background-color: tan; width: 80%; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|I am irresistible.|some faggot
}}

yields...


   
 
I wish I had an airplane sized oven.
 

 
 

—Me, on the plane with fifty fucking Jews yesterday.

   
 
JUUUULLLAAAYYYYY!!
 

 
 

Chris-chan

   
 
I am irresistible.
 

 
 

—some faggot

Previous Quote | Next Quote


Adding Rounded Corners

To add a rounded border to the quote box, simply wrap a template:frame around it and ensure that you specify the color in both templates:

For example:

{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|JUUUULLLAAAYYYYY!!|[[Chris-chan]]
|I am irresistible.|some faggot|}}|border=pink|background=pink}}

yields...


   
 
I wish I had an airplane sized oven.
 

 
 

—Me, on the plane with fifty fucking Jews yesterday.

   
 
JUUUULLLAAAYYYYY!!
 

 
 

Chris-chan

   
 
I am irresistible.
 

 
 

—some faggot

Previous Quote | Next Quote


You also have the choice to specify two different colors. We've also added template:blueblink into this example, for shits and giggles:

{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px; height: 200px;|font-weight: bold;
|I wish I had an airplane sized oven.|Me, on the plane with fifty fucking Jews yesterday.
|{{blueblink|JUUUULLLAAAYYYYY!!}}|[[Chris-chan]]
|I am irresistible.|some faggot|}}|border=blue|background=beige}}

yields...


   
 
I wish I had an airplane sized oven.
 

 
 

—Me, on the plane with fifty fucking Jews yesterday.

   
 
JUUUULLLAAAYYYYY!!

 

 
 

Chris-chan

   
 
I am irresistible.
 

 
 

—some faggot

Previous Quote | Next Quote