- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Morphquote: Difference between revisions
imported>Ld3105 workaround using MediaWiki's gallery slideshow elements |
No edit summary |
||
(37 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>< | <onlyinclude><div class="cyclesequence" style="width:640px; max-width:100%; margin-left:auto; margin-right:auto; {{{2|}}}"><!-- | ||
-->{{#if:{{{4|}}}|<div class="cyclesequenceitem">{{quote|{{{4}}}|{{{5}}}}}</div>|}}<!-- | |||
{{#if:{{{4|}}}| | -->{{#if:{{{6|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{6}}}|{{{7}}}}}</div>|}}<!-- | ||
-->{{#if:{{{6|}}}| | -->{{#if:{{{8|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{8}}}|{{{9}}}}}</div>|}}<!-- | ||
-->{{#if:{{{8|}}}| | -->{{#if:{{{10|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{10}}}|{{{11}}}}}</div>|}}<!-- | ||
-->{{#if:{{{10|}}}| | -->{{#if:{{{12|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{12}}}|{{{13}}}}}</div>|}}<!-- | ||
-->{{#if:{{{12|}}}| | -->{{#if:{{{14|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{14}}}|{{{15}}}}}</div>|}}<!-- | ||
-->{{#if:{{{14|}}}| | -->{{#if:{{{16|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{16}}}|{{{17}}}}}</div>|}}<!-- | ||
-->{{#if:{{{16|}}}| | -->{{#if:{{{18|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{18}}}|{{{19}}}}}</div>|}}<!-- | ||
-->{{#if:{{{18|}}}| | -->{{#if:{{{20|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{20}}}|{{{21}}}}}</div>|}}<!-- | ||
-->{{#if:{{{20|}}}| | -->{{#if:{{{22|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{22}}}|{{{23}}}}}</div>|}}<!-- | ||
-->{{#if:{{{22|}}}| | -->{{#if:{{{24|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{24}}}|{{{25}}}}}</div>|}}<!-- | ||
-->{{#if:{{{24|}}}| | -->{{#if:{{{26|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{26}}}|{{{27}}}}}</div>|}}<!-- | ||
-->{{#if:{{{26|}}}| | -->{{#if:{{{28|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{28}}}|{{{29}}}}}</div>|}}<!-- | ||
-->{{#if:{{{28|}}}| | -->{{#if:{{{30|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{30}}}|{{{31}}}}}</div>|}}<!-- | ||
-->{{#if:{{{30|}}}| | -->{{#if:{{{32|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{32}}}|{{{33}}}}}</div>|}}<!-- | ||
-->{{#if:{{{32|}}}| | -->{{#if:{{{34|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{34}}}|{{{35}}}}}</div>|}}<!-- | ||
-->{{#if:{{{34|}}}| | -->{{#if:{{{36|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{36}}}|{{{37}}}}}</div>|}}<!-- | ||
-->{{#if:{{{36|}}}| | -->{{#if:{{{38|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{38}}}|{{{39}}}}}</div>|}}<!-- | ||
-->{{#if:{{{38|}}}| | -->{{#if:{{{40|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{40}}}|{{{41}}}}}</div>|}}<!-- | ||
-->{{#if:{{{40|}}}| | -->{{#if:{{{42|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{42}}}|{{{43}}}}}</div>|}}<!-- | ||
-->{{#if:{{{42|}}}| | --><div class="cyclesequencelinks" style="text-align:center;"><p><span class="cyclesequencelinkprev showhidetext" style="{{{3}}}">Previous Quote</span> | <span class="cyclesequencelinknext showhidetext" style="{{{3}}}">Next Quote</span></p></div><!-- | ||
</ | --></div></onlyinclude> | ||
<noinclude> | |||
<pre> | <pre> | ||
1: Unique ID | 1: Unique ID | ||
Line 38: | Line 40: | ||
</pre> | </pre> | ||
Remember with morphquote to nowiki around any use in the quote of "=" because otherwise it'll fuck your quote up. | |||
==Examples== | ==Examples== | ||
Line 60: | Line 63: | ||
<br> | <br> | ||
<pre> | <pre> | ||
{{morphquote|mqtest2|background-color: tan; width: 80%;|font-weight: bold; | {{morphquote|mqtest2|background-color: tan; width: 80%; min-height: 225px;|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 72: | ||
{{morphquote|mqtest2|background-color: tan; width: 80%;|font-weight: bold; | {{morphquote|mqtest2|background-color: tan; width: 80%; min-height: 225px;|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 85: | ||
<br> | <br> | ||
<pre> | <pre> | ||
{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px;|font-weight: bold; | {{frame|{{morphquote|mqtest3|background-color: pink; width: 600px; min-height: 225px;|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 93: | ||
{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px;|font-weight: bold; | <center>{{frame|{{morphquote|mqtest3|background-color: pink; width: 600px; min-height: 225px;|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]] | ||
|I am irresistible.|some faggot|}}|border=pink|background=pink}} | |I am irresistible.|some faggot|}}|border=pink|background=pink}}</center> | ||
Line 99: | Line 102: | ||
<br> | <br> | ||
<pre> | <pre> | ||
{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px;|font-weight: bold; | {{frame|{{morphquote|mqtest4|background-color: beige; width: 600px; min-height: 225px;|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 110: | ||
{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px;|font-weight: bold; | <center>{{frame|{{morphquote|mqtest4|background-color: beige; width: 600px; min-height: 225px;|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]] | ||
|I am irresistible.|some faggot|}}|border=blue|background=beige}} | |I am irresistible.|some faggot|}}|border=blue|background=beige}}</center> | ||
[[Category:Formatting Templates|{{PAGENAME}}]] | [[Category:Formatting Templates|{{PAGENAME}}]] | ||
[[Category:Quote Templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> |
Latest revision as of 19:29, 11 August 2024
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...
Remember with morphquote to nowiki around any use in the quote of "=" because otherwise it'll fuck your quote up.
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...
—Me, on the plane with fifty fucking Jews yesterday. |
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%; min-height: 225px;|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...
—Me, on the plane with fifty fucking Jews yesterday. |
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; min-height: 225px;|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...
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; min-height: 225px;|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...
Previous Quote | Next Quote |