跳转到内容

Template:Block bug documentation

维基百科,自由的百科全书

这是Template:Block bug documentation当前版本,由Clear Sky C留言 | 贡献编辑于2017年1月7日 (六) 01:46 建立内容为“<noinclude>{{notice|Ignore any errors showing below; they do not appear when this snippet is transcluded (nor does this message box). This doc snipp...”的新页面)。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

If the block-formatted content begins with a list (or any other wikimarkup that is dependent upon a specific markup character being at the beginning of a line) then due to a bug in MediaWiki, a <nowiki /> must exist before the list (or whatever) starts. Compare:

  code result
FAIL
 {{Block bug documentation|1=
 *Firstly, ...
 *Secondly, ...
 *Thirdly, ...
 }}
This output only works when this doc snippet is transcluded.
Works as intended
 {{Block bug documentation|1=<nowiki />
 *Firstly, ...
 *Secondly, ...
 *Thirdly, ...
 }}
This output only works when this doc snippet is transcluded.