Content deleted Content added
→format=columns + inline hybrid: Thanks. |
→Use of _before and _after: I must be doing something wrong, here. |
||
Line 131:
::How's that? You can tweak the underscore parameters to your liking. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 23:34, 14 January 2023 (UTC)
:::Thanks. That's a nice option, but I kinda prefer the interface for {{tl|test case nowiki}} for this (it's clearer, and with less faffing and things that can go wrong when converting something found in the wild into a test case). --[[User:Xover|Xover]] ([[User talk:Xover|talk]]) 19:33, 15 January 2023 (UTC)
== Use of _before and _after ==
I'm trying to use the {{para|_before}} template, mostly to have something to hange templates that create superscript references, tags, and that sort of thing, so they don't appear to be isolated in space. What I'd like to see in this example, is something like this:
: Some text to hang a tag on.{{Citation needed|reason=Some reason.|date=January 2023}}
Here's my test case, using {{para|_before}}:
<div style="border:2px solid PaleVioletRed; margin:0 0 0.5em 1.6em;padding:0.2em 1em;background-color:#D8FED8">
{{Test case|_before=Some text to hang a tag on.|_code=on|_template1=Citation needed|_template2=Citation needed/sandbox|reason=Some reason.|date=January 2023}}
</div>
Am I doing something wrong, here? Why isn't it echoing the "before" text? [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 04:29, 26 January 2023 (UTC)
|