Eisspeedway

Help talk:Wikitext

«pre» Tag also works with self-closing «includeonly»

In the section on <pre> tags, it shows how one can add an <includeonly> to prevent automatic escaping of markup and HTML. I think it should be noted that if styles are to be added to the pre-formatted text, they should be added after the <includeonly>.

For example:


<pre<includeonly /> style="color: red;">
[[Wiki]] markup &amp;
</pre>

gives
<pre<includeonly /> style="color: red;">
[[Wiki]] markup &
</pre>

It should also be noted that you don't need to type the full <pre<includeonly></includeonly>>, and that <pre<includeonly />> works just fine. 208.114.63.4 (talk) 16:34, 18 November 2024 (UTC)[reply]

Your example produces a WP:Linter error so that isn't a valid example. Gonnym (talk) 21:40, 9 December 2024 (UTC)[reply]
None of that works just fine. It's a byproduct of broken syntax and may not be used. I'm (again) deactivating this invalid syntax (stripped pre tags due to broken/unclosed openers). If anyone needs to see this in the "working" state, you may see diff. Otherwise, there is no reason to keep this in an active state and I'm invoking WP:LINT as basis for allowance of deactivation. If the displayed byproduct effect is desired, another, syntactically clean, method of achieving the desired visual output will be required as the above method may not be used. Zinnober9 (talk) 20:53, 13 December 2024 (UTC)[reply]

typo, edit request

In Help:Wikitext#Strikethrough, is

renderend

supposed to be

rendered

?

Should

Wikipedia:Strikethrough
(wikipedia.org/w/index.php?title=Wikipedia:Strikethrough&redirect=no)

redirect to

Help:Wikitext#Strikethrough

instead of

Help:Wikitext#Show deleted or inserted text

?

Those sections seem to try to explain when and why to use {{Strikethrough|this}} instead of <s>these</s>, or use <del>those</del> instead, but i don't understand the explanation as written, and the results all look the same to me.

--173.67.42.107 (talk) 07:21, 22 November 2024 (UTC)[reply]

 Done as regards the typo. Remsense ‥  07:27, 22 November 2024 (UTC)[reply]

nbsp in syntaxhighlight should be without amp 213.186.79.18 (talk) 19:17, 7 January 2025 (UTC)[reply]