FandomMobile strips out any inline CSS found on your article, LetMeWrite is a module that lets you write them anyway.
That being said, just because you can, doesn't mean you should. Inline styles are harder to maintain and are not recommended to be used excessively, only use them when you really need to.
Gamepedia wikis do not strip out any inline CSS, so this module is redundant on such wikis.
Installation
Lua installation
CSS installation
Alternative CSS installation
If you do not have the required userrights to install the CSS directly in a global CSS page, you may also use TemplateStyles instead, simply copy the source of this stylesheet to a styles subpage of the lmw template.
Your lmw template should look like this:
<templatestyles src="lmw/styles.css"/>{{#invoke:LetMeWrite|heeho}}
Usage
To use LetMeWrite, simply wrap your content that has inline CSS inside the lmw template:
{{lmw|1=
Your stuff goes here!
}}
Please note that the 1= parameter prefix is required as the template will break because of the = character (which inline styles always have). The prefix is a workaround fix for this issue.
Examples
Here are a few examples on LetMeWrite, you can switch modes from the button at the very bottom of the wiki:
LetMeWrite:
{{lmw|1=
<div style="display: grid; grid-template-columns: 100px 100px 100px; gap: 10px;">
<div style="background-color: lightcoral; padding: 20px;">1</div>
<div style="background-color: lightblue; padding: 20px;">2</div>
<div style="background-color: lightgreen; padding: 20px;">3</div>
<div style="background-color: lightpink; padding: 20px;">4</div>
<div style="background-color: lightyellow; padding: 20px;">5</div>
<div style="background-color: lightgray; padding: 20px;">6</div>
</div>
<span style="color: green">I'm green</span>
}}
----
Not using LetMeWrite:
<div style="display: grid; grid-template-columns: 100px 100px 100px; gap: 10px;">
<div style="background-color: lightcoral; padding: 20px;">1b</div>
<div style="background-color: lightblue; padding: 20px;">2b</div>
<div style="background-color: lightgreen; padding: 20px;">3b</div>
<div style="background-color: lightpink; padding: 20px;">4b</div>
<div style="background-color: lightyellow; padding: 20px;">5b</div>
<div style="background-color: lightgray; padding: 20px;">6b</div>
</div>
<span style="color: green">I'm green?</span>
LetMeWrite:
Not using LetMeWrite:
I'm green?