User:Iritscen/TestSpace: Difference between revisions
Jump to navigation
Jump to search
title
(do I even remember how to use template parameters after all this time? let's find out) |
|||
Line 1: | Line 1: | ||
==Divbox and Pullquote, stop fighting, or I'll pull this car right over!== | |||
Divbox and Pullquote don't get along well. Here's what happens when I write some reasonable wiki code: | Divbox and Pullquote don't get along well. Here's what happens when I write some reasonable wiki code: | ||
Line 27: | Line 28: | ||
{{Divhide|title|2=<br>{{Pullquote|Another test.|Me}}}} | {{Divhide|title|2=<br>{{Pullquote|Another test.|Me}}}} | ||
==Hmmm== | |||
{{H|1='ello?|2=Wot's this do?|dotted=no}} |
Revision as of 21:39, 25 July 2010
Divbox and Pullquote, stop fighting, or I'll pull this car right over!
Divbox and Pullquote don't get along well. Here's what happens when I write some reasonable wiki code:
{{Divbox|yellow|title|{{Pullquote|Pretend something witty is written here.|Iritscen}}}}
begets:
After doing some reading on WP and some fiddling, I've found that:
{{Divbox|yellow|3=<br>{{Pullquote|Pretend something witty is written here.|Iritscen}}}}
begets
So, although it works, it's only by a hack that the two templates get along together even partially.
Questions that need answering:
- Why do I need to declare that the quote text is the third parameter with "3="?
- Why does some bum text need to be inserted (here I've used "<br>") before the data returned by Pullquote?
- Why does using Pullquote inside of Divbox break Divbox's "width" parameter?
- Because pullquote has its own width...Gumby
#3 is of the most concern to me, followed by #2. I suspect that the fact that Pullquote actually returns table code is part of the problem behind all this.
<div class="NavFrame collapsed" style="width:
“ | Another test. | „ |
—Me |
">