Template talk:Warning message
Add topicAppearance
Latest comment: 2 years ago by Xaosflux in topic Protected edit request on 19 May 2022
Editprotected request
[edit]{{editprotected}} Please use the new #safesubst:
, as so:
{| class="messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; {{{CSS-box|}}}" | {{<includeonly>#safesubst:</includeonly>#ifeq:{{{image}}}|none||[[{{{image|File:Stop x nuvola.svg}}}|50px]]}} | {{{msg}}} |}
The ParserFunction will be substed when this template is substed, and will remain the same when this template is transcluded. —MC10 (T•C•EM) 04:30, 9 November 2010 (UTC)
- Tried it, and that seems to have broken the template (substituting produced an extraneous "none}}" and transclusion simply pasted the template code with "subst:"). Could you test the code in a sandbox first? Jafeluv 10:03, 9 November 2010 (UTC)
- Now it should work. I have created Template:Warning message/sandbox and Template:Warning message/testcases. I put an extra # in front of safesubst; it should just be safesubst:, not #safesubst:. The following code should work:
{| class="messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; {{{CSS-box|}}}" | {{<includeonly>safesubst:</includeonly>#ifeq:{{{image}}}|none||[[{{{image|File:Stop x nuvola.svg}}}|50px]]}} | {{{msg}}} |}
- Cheers, —MC10 (T•C•EM) 03:26, 16 November 2010 (UTC)
Editprotected request
[edit]{{editprotected}}
Is there any way to center this and other templates, ala the rest of the Wikimedia projects? Maybe I've missed something, but it would probably be good to have it look more like other WMF sites when we template things. Kevin Rutherford (talk) 07:41, 23 February 2016 (UTC)
- Never liked so much the current design. Have any ideas in mind? Template:Warning message/sandbox. Best regards, —MarcoAurelio 15:36, 25 February 2016 (UTC)
- @MarcoAurelio: Maybe using Template:Mbox as a base would work, ala this example on the English Wikipedia. Kevin Rutherford (talk) 15:43, 14 March 2016 (UTC)
Protected edit request on 19 May 2022
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Extended content | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Please replace the content of this template with the sandbox version and move all documentation to the dedicated subpage. I added some padding. NguoiDungKhongDinhDanh 13:40, 19 May 2022 (UTC)
- Done — xaosflux Talk 13:56, 25 May 2022 (UTC)