- 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>JuniusThaddeus Using min-height instead. |
No edit summary |
||
(38 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><div class="cyclesequence" style="width:640px; margin-left:auto; margin-right:auto; {{{2|}}}"><!-- | <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|}}}|<div class="cyclesequenceitem">{{quote|{{{4}}}|{{{5}}}}}</div>|}}<!-- | ||
-->{{#if:{{{6|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{6}}}|{{{7}}}}}</div>|}}<!-- | -->{{#if:{{{6|}}}|<div class="cyclesequenceitem hiddentext">{{quote|{{{6}}}|{{{7}}}}}</div>|}}<!-- | ||
Line 116: | Line 116: | ||
[[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 |