Board Thread:Support Requests - Getting Technical/@comment-1187559-20150711134341

Ok, on our wiki we used to have it so our warning templates had backgrounds. But we since got rid of that since it made the warnings look too fake. Now I'm looking for some code so I can do a F&R on the talk pages to fix any remaining warnings (that were posted with Subst:).

Ideally, what I want is to find anything that looks like this: {| width="100%" style="background: transparent; "
 * valign="top" width="50%" style="background: #333333; border: 2px solid #000000; padding: .5em 1em; -moz-border-radius: 1em"|

Block
Due to your unacceptable behavior, you have been blocked for 2 weeks. You are welcome to come back and edit sensibly after the block is up, however it is very strongly advised that you read and review our policies thoroughly before you start to edit again. If you believe your block is unfair you can leave a message on this page and an administrator will consider it.

Any more unacceptable behavior and another block will be issued. Thank you.


 * 14:24, February 12, 2010 (UTC)


 * }

And remove the

Now I can't just ask to F&R all these in particular because other templates do use |} and removing them would break the ending parameter adn ruin an entire talk page. So I need some regex code so I can find any warnings that start with the above and end with the above so I can get F&R to only remove the parts from those warnings and not from other templates.

Thanks 