模板:Fake heading:修订间差异
来自RIA | Wiki
更多操作
建立内容为“{{Main other | 1 = <strong class="error" style="font-size: inherit;">依据 wikipedia:WP:PSEUDOHEADING , 假标题不应使用在条目中。</strong> | 2…”的新页面 |
简化 |
||
| 第9行: | 第9行: | ||
| 5 = h5 | | 5 = h5 | ||
| 6 = h6 | | 6 = h6 | ||
}}">{{{text|{{{1|Section}}} }}}</div>}} | }}">{{{text|{{{1|Section}}} }}}</div>}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | ||
</noinclude> | </noinclude> | ||
2022年6月9日 (四) 11:02的最新版本
Section
使用
此模板被用于在帮助或类似的页面中创建章节标题wikitext的示例, 不应被使用于条目中. 假标题不会出现在目录中. 它们的显示样式与Vector皮肤中的默认标题样式相同, 且不会受自定义CSS或皮肤的影响.
参数
|level=或|sub=是层级编号: 有效值为 1 到 6. 默认为 2 (等效于== 主要标题 ==(层级 1 等效于页面标题) ).- 一个未命名的参数 (也可以指定为
|1=) 用于章节标题名称。
例子
| 源代码 | 显示 |
|---|---|
{{fake heading|sub=1|Heading 1}}
{{fake heading|sub=2|Heading 2}}
{{fake heading|sub=3|Heading 3}}
{{fake heading|sub=4|Heading 4}}
{{fake heading|sub=5|Heading 5}}
{{fake heading|sub=6|Heading 6}}
|
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
|
模板数据
用于创建假标题, 不应在条目 (主) 名字空间中使用。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 标题层级 | level sub | 标题的层级, 有效值为1~6
| 数字 | 可选 |
| 标题名称 | text 1 | 标题所显示的文本 | 字符串 | 可选 |