The wiki page in question.
The presence of <div style=>
inside a Lua template’s variable (content
or args[1]
) renders the entire variable nil.
Template and module used:
- Module:BubbleBox/hex: A Lua module to sandwich
content
/args[1]
between a presetdiv
class
andstyle
.- Template:BubbleBox/hex: Mediawiki template that invokes the aforementioned Module.
Screenshot of expected vs. result
- Expected (how it should look): The image and caption shows and centered properly.
- Result: Said makes the entire
args[1]
variablenil
.
New contributor
Exaskliri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.