Template:Split/doc: Difference between revisions

(merge from offical wiki)
 
No edit summary
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
'''''Split''''' can be used to highlight articles that need division.
'''''Split''''' 可用于突出显示需要拆分的条目。


== Usage ==
== 用法 ==
This table may be added by copy-pasting the template as shown below into an article.
这个信息框可以通过复制、粘贴模板来添加进文章,如下面所示。


<div style="background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
<div style="background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
Line 12: Line 12:
</div>
</div>


== Parameters ==
== 参数 ==
There are none.
无。


== Values ==
== ==
There are none.
无。


== Effects ==
== 效果 ==
Puts a hint onto the page concerning division and adds it to the category: [[:Category:To be splitted|To be splitted]].
在涉及拆分的条目中添加提示,并且将其归类到[[:Category:To be split| 分类:需要拆分]]


== Updating this template ==
== 更新此模板 ==
You shouldn't have to.
联系[[User:Pokewiz|Pokewiz]]。


== Example ==
== 举例 ==
<pre>{{Split}}</pre>
<pre>{{Split}}</pre>


Will display this:
将显示:


{{Split|}}
{{Ambox_2020
|type=warning
|fa=cut
|text1=有提议将此页面的内容<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} 拆分]</span>为若干个页面
|text2=,请在本页面的<span class="plainlinks">[[{{TALKSPACE}}:{{PAGENAME}}|讨论页]]</span>提出对其进行拆分的意见
}}

Revision as of 16:56, 31 December 2020

这是Template:Split的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

Split 可用于突出显示需要拆分的条目。

用法 

这个信息框可以通过复制、粘贴模板来添加进文章,如下面所示。

{{Split}}

参数

无。

无。

效果

在涉及拆分的条目中添加提示,并且将其归类到分类:需要拆分

更新此模板

联系Pokewiz

举例 

{{Split}}

将显示: