插入一个table后是否可以继续编号?

Is it possible to continue numbering after inserting a table?

我希望我的列表显示为:

1. Step 1
2. Step 2:
   <table>
3. Step 3

但显示为:

1. Step 1
2. Step 2:
<table>
1. Step 3

代码:

# Step 1
# Step 2:
:: {| ... |}
# Step 3

插入table后是否可以继续编号?

是的,通过使用 HTML 标记,并且(严格来说已弃用 reintroduced in HTML5) start attibute. The <ol> tag, and other list tags, are among the few allowed HTML tags 在 MediaWiki 默认设置中。

*Argentina
*Brazil

{|
  ...
|}

<ol start=3>
  <li>China
  <li>Denmark
  <li>Egypt
</ol>

或者,正如 TS 指出的那样,您可以对整个列表使用 HTML,并将 table 插入 <li>:

<ol>
  <li>Argentina
  <li>Brazil

  {|
    <!-- insert table here -->
  |}

  </li><!-- Close this tag -->
  <li>China
  <li>Denmark
  <li>Egypt
</ol>