Module talk:Template test case: Difference between revisions

Content deleted Content added
Use of _before and _after: Wow, that was fast; thanks!
Line 146:
:{{ping|Mathglot}} You aren't doing anything wrong. It seems the _before (and _after) option wasn't implemented for all render (_format) methods (There's 5, which are columns, rows, inline, cells, and default - only columns and cells considered _before, and your example renders in default since nothing was specified). I've implemented the code into the other render formats, so it should start displaying now. [[User:Aidan9382|Aidan9382]] <sub>([[User talk:Aidan9382|talk]])</sub> 07:10, 26 January 2023 (UTC)
:: [[User:Aidan9382|Aidan9382]] And, indeed it is! I noticed it working on one of my testcase pages, before I even saw my notification alert icon change color. Any faster, and I'd have to give you the faster-than-light barnstar {{wink}}; thanks so much! (For the curious: the example above used to show nothing but tags, and no text; but since Aidan's fix, is now working properly.) [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 07:21, 26 January 2023 (UTC)
 
== Template use when there's no sandbox ==
 
@[[User:Frietjes|Frietjes]], re [[Special:Diff/1155772824|this edit]], should we make some change to {{t|Test case}} to better handle instances when it's used when there's no sandbox? <span style="color:#AAA"><small>&#123;{u&#124;</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}&#125;</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 19:42, 19 May 2023 (UTC)