无编辑摘要 |
无编辑摘要 |
||
第1行: | 第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> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
''' | '''Expand''' can be used to highlight articles that need expansion. | ||
== 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;"> | ||
<pre> | <pre> | ||
第10行: | 第12行: | ||
</div> | </div> | ||
== | == Parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Parameter | ||
! | ! Description | ||
! | ! Default | ||
! | ! Status | ||
|- | |- | ||
| with | | with | ||
| | | explain what issues need to be addressed | ||
| – | | – | ||
| ''' | | '''optional''' | ||
|- | |- | ||
| talksection | | talksection | ||
| | | section heading in the talk page where the issue is discussed | ||
| – | | – | ||
| ''' | | '''optional''' | ||
|} | |} | ||
Please use one of these options. | |||
== | == Effects == | ||
Puts a table onto the page that needs expansion and auto-categorizes tagged articles into [[:Category:Expand]]. | |||
== | == Updating this template == | ||
You shouldn't have to. | |||
== | == Examples == | ||
<pre>{{Expand}}</pre> | <pre>{{Expand}}</pre> | ||
Will display this: | |||
{{Ambox_2020 | {{Ambox_2020 | ||
|type=warning | |type=warning | ||
|fa=pencil | |fa=pencil | ||
|text1=此页面尚未完成 | |text1=此页面尚未完成 | ||
|text2={{#if: |,需要完善以下内容:|,请简要说明需要补充的内容以方便他人完善}} | |text2={{#if:{{{1}}} |,需要完善以下内容:{{{1}}}|,请简要说明需要补充的内容以方便他人完善}} | ||
{{#if:| {{#ifexist: {{TALKPAGENAME}}|<br/>Further information might be found on the [[{{TALKPAGENAME}}#{{{talksection}}}|talk page]]。}} }} | {{#if:| {{#ifexist: {{TALKPAGENAME}}|<br/>Further information might be found on the [[{{TALKPAGENAME}}#{{{talksection}}}|talk page]]。}} }} | ||
}} | }}[[Category:需要完善]] | ||
<pre>{{Expand|with= | <pre>{{Expand|with=an example}}</pre> | ||
Will display this: | |||
{{Ambox_2020 | {{Ambox_2020 | ||
|type=warning | |type=warning | ||
|fa=pencil | |fa=pencil | ||
|text1=此页面尚未完成 | |text1=此页面尚未完成 | ||
|text2={{#if: | |text2={{#if:an example |,需要完善以下内容 :an example|,请简要说明需要补充的内容以方便他人完善}} | ||
{{#if:| {{#ifexist: {{TALKPAGENAME}}|<br/>Further information might be found on the [[{{TALKPAGENAME}}#{{{talksection}}}|talk page]]。}} }} | {{#if:| {{#ifexist: {{TALKPAGENAME}}|<br/>Further information might be found on the [[{{TALKPAGENAME}}#{{{talksection}}}|talk page]]。}} }} | ||
}} | }}[[Category:需要完善]] | ||
<pre>{{Expand|with=<nowiki /> | <pre>{{Expand|with=<nowiki /> | ||
* | *calculation formula | ||
* | *example calculation}}</pre> | ||
Will display this: | |||
{{Ambox_2020 | {{Ambox_2020 | ||
|type=warning | |type=warning | ||
第66行: | 第68行: | ||
|text1=此页面尚未完成 | |text1=此页面尚未完成 | ||
|text2={{#if:<nowiki /> | |text2={{#if:<nowiki /> | ||
* | *calculation formula | ||
* | *example calculation |,需要完善以下内容:<nowiki /> | ||
* | *calculation formula | ||
* | *example calculation|,请简要说明需要补充的内容以方便他人完善}} | ||
{{#if:| {{#ifexist: {{TALKPAGENAME}}|<br/>Further information might be found on the [[{{TALKPAGENAME}}#{{{talksection}}}|talk page]]。}} }} | {{#if:| {{#ifexist: {{TALKPAGENAME}}|<br/>Further information might be found on the [[{{TALKPAGENAME}}#{{{talksection}}}|talk page]]。}} }} | ||
}} | }}[[Category:需要完善]]<noinclude> | ||
[[en:Template:Expand/doc]] |
2020年10月19日 (一) 17:51的版本
Expand can be used to highlight articles that need expansion.
Usage
This table may be added by copy-pasting the template as shown below into an article.
{{Expand}}
Parameters
Parameter | Description | Default | Status |
---|---|---|---|
with | explain what issues need to be addressed | – | optional |
talksection | section heading in the talk page where the issue is discussed | – | optional |
Please use one of these options.
Effects
Puts a table onto the page that needs expansion and auto-categorizes tagged articles into Category:Expand.
Updating this template
You shouldn't have to.
Examples
{{Expand}}
Will display this:
此页面尚未完成
,需要完善以下内容:{{{1}}}
{{Expand|with=an example}}
Will display this:
此页面尚未完成
,需要完善以下内容:an example
{{Expand|with=<nowiki /> *calculation formula *example calculation}}
Will display this:
此页面尚未完成
,需要完善以下内容:
- calculation formula
- example calculation