Latest comment: 11 May 2022 by Evon R'al in topic Problem with the template
m →Problem with the template: Clean up. |
m Undo to much clean up. |
||
| Line 11: | Line 11: | ||
{{Code| <div> Does this, {{Ship|Vexor|mode= tooltip}} stays inline? </div>}} | {{Code|<nowiki> <div> Does this, {{Ship|Vexor|mode= tooltip}} stays inline? </div> </nowiki>}} | ||
<div> Does this, {{Ship|Vexor|mode= tooltip}} stays inline? </div><br> | <div> Does this, {{Ship|Vexor|mode= tooltip}} stays inline? </div><br> | ||
Revision as of 13:47, 3 December 2022
Problem with the template
| Does this, {{Ship|Vexor|mode= tooltip}} stays inline? |
Does this,
Vexor|
Vexor
Standard Cruisers Vexor Class
|
stays inline?
No, it does not.
| Does this, {{:Vexor|mode= tooltip}} stays inline? |
Does this,
Vexor|
Vexor
Standard Cruisers Vexor Class
|
stays inline?
No surprise here as the second example is exactly what {{Ship}} produces.
| <div> Does this, {{Ship|Vexor|mode= tooltip}} stays inline? </div> |
Does this, Vexor
stays inline?
|
Vexor
Standard Cruisers Vexor Class
|
Now this works, as does putting it inside a <span>,
|
Vexor
Standard Cruisers Vexor Class
|
- or a table.
|
Vexor
Standard Cruisers Vexor Class
|
|
Vexor
Standard Cruisers Vexor Class
|
Using <p> however produces this
Does this, Vexor
|
Vexor
Standard Cruisers Vexor Class
|
stays inline?
Somehow the interaction between {{Ship}}, {{ShipBoxTooltip}} and the wiki parser creates this problem. I have been looking into this, but I have not been able to find a fix --Evon R'al (talk) 12:23, 11 May 2022 (UTC)