Help talk:Wikitext
![]() | This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
«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 & </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)
- Your example produces a WP:Linter error so that isn't a valid example. Gonnym (talk) 21:40, 9 December 2024 (UTC)
- 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)
typo, edit request
In Help:Wikitext#Strikethrough, is
- renderend
supposed to be
- rendered
?
Should
redirect to
instead of
?
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)
Done as regards the typo. Remsense ‥ 论 07:27, 22 November 2024 (UTC)
nbsp in syntaxhighlight should be without amp 213.186.79.18 (talk) 19:17, 7 January 2025 (UTC)