Help talk:Wikitext
{{Talk header|search=yes}}
{{WikiProject banner shell|
{{Wikipedia Help Project|importance=High|class=C}}
}}
{{Copied | from=Help:Editing|to=Help:Wikitext|to_diff=http://en.wikipedia.org/w/index.php?title=Help:Wiki_markup&oldid=329580052 |from_oldid=https://en.wikipedia.org/w/index.php?title=Help:Editing&oldid=328539398}}
{{User:MiszaBot/config
|archiveheader = {{atnhead|noredlinks=y}}
|maxarchivesize = 100K
|counter = 2
|minthreadsleft = 4
|minthreadstoarchive = 1
|algo = old(90d)
|archive = Help talk:Wikitext/Archive %(counter)d
}}
«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
style="color: red;"> Wiki markup &
</pre>
It should also be noted that you don't need to type the full {{nowrap|<pre<includeonly></includeonly>>
}}, and that {{nowrap|<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 {{tq|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 [https://en.wikipedia.org/w/index.php?title=Help_talk:Wikitext&oldid=1262148121 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
:([https://en.wikipedia.org/w/index.php?title=Wikipedia:Strikethrough&redirect=no wikipedia.org/w/index.php?title=Wikipedia:Strikethrough&redirect=no])
redirect to
instead of
:Help:Wikitext#Show deleted or inserted text
?
Those sections seem to try to explain when and why to use these, or use those instead,
--173.67.42.107 (talk) 07:21, 22 November 2024 (UTC)
:{{done}} as regards the typo. Remsense ‥ 论 07:27, 22 November 2024 (UTC)
{{Article link|Format}}
nbsp in syntaxhighlight should be without amp 213.186.79.18 (talk) 19:17, 7 January 2025 (UTC)
...
Honestly, the examples for small and big text are actually pretty good. TjazForint (talk) 09:01, 20 April 2025 (UTC)