Template talk:Sticky decoration wrapper
Appearance
What is the documentation purpose of this example?
{{stickwrap|This is a test sentence|style=color: #d25251|class=center}}
gives the following with the "center" class:This is a test sentence
The output is regular color not reddish. So if it's to illustrate use of hex-RGB instead of name for color, it doesn't work. If it's to illustrate that the second parameter is just the style spec itself rather than "style=
" but that the third parameter can include "class=
", that should be stated explicitly. And unless the point is to illustrate something about hex-RGB, then color-name should be used instead to make it clearer what should be happening without having to know this more technical concept. DMacks (talk) 15:56, 6 May 2025 (UTC)
- That actually used to show color but I broke it while shuffling some parameters. Should work now. (Also, the order in which you specify named parameters usually doesn't matter unless you're duplicating a parameter.) Aaron Liu (talk) 16:13, 6 May 2025 (UTC)
- Thanks for the fix! My doc-change was to put the parameters in order of their unnamed positions. DMacks (talk) 03:34, 7 May 2025 (UTC)