“Template:Infobox Person/doc”与“Template:MarkAsResolved”:页面之间的差异
< Template:Infobox Person(页面间差异)
跳到导航
跳到搜索
imported>腐女野爹 (创建页面,内容为“适用于现实人物的介绍上。 模版涉及一些十分复杂的参数,如有更好的思路和欲添加一些新项目,建议在zhmoe:Talk:提问求助…”) |
imported>=海豚= 无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly>{{#switch:{{{status|}}} | |||
|d|denied={{#vardefine:primaryColor|#D00}}{{#vardefine:lightColor|#FDD}}{{#vardefine:responseText| 提 案被拒绝 。}} | |||
|s|suspended={{#vardefine:primaryColor|#F0C000}}{{#vardefine:lightColor|#FFD}}{{#vardefine:responseText| 提案被搁置。}} | |||
|n|noreply={{#vardefine:primaryColor|#F0C000}}{{#vardefine:lightColor|#FFD}}{{#vardefine:responseText| 无人回复。}} | |||
= | |a|accepted={{#vardefine:primaryColor|green}}{{#vardefine:lightColor|#DFD}}{{#vardefine:responseText| 提案被采纳。}} | ||
|r|resolved||#default={{#vardefine:primaryColor|green}}{{#vardefine:lightColor|#eef4ee}}{{#vardefine:responseText| 提案被替代。}} | |||
{| | |||
| | |||
{{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
< | <div class="MarkAsResolved" style="display:flex; flex-wrap:wrap; align-items:center; width:100%; margin:auto; margin-top:0; padding:0 1em; border-top:5px solid {{#var:primaryColor}}; background-color:{{#var:lightColor}};box-sizing: border-box;"> | ||
<div style="flex:0 0 7em; color:{{#var:primaryColor}}; font-weight:bold; font-size:125%;margin: 5px 0;">{{#var:responseText}}</div> | |||
{{ | <div style="flex:1 0 200px; margin: 5px 0; font-size:80%; padding-right: 5px;">{{#ifeq:{{#switch:{{#titleparts: {{FULLPAGENAME}}|1}}|Template:MarkAsResolved=y{{{demo|}}}| 讨论:提案=y|#default=n}}|y|<!--{{#if:{{{archive-offset|}}}||<span style="color:#d33;font-weight:bold;">注意:</span><code>archive-offset</code>参数不应为空;这可能会阻碍存档机器人的正常工 作 。</span><br />}}-->您仍可以继续在本模板上方回复{{#ifeq:{{#var:responseText}}| 无 人 回复。| 并删除本模板;否则,| ,但}}<span style="font-weight:bold;">这个讨论串将会在本模板悬挂满<!---{zh-hans:满;zh-hant:滿}--->{{#vardefineecho:archtime-trunc|{{#ifexpr: {{{archive-offset|3}}} < 1|<strong class="error">错误:<code>archive-offset</code>不得小于1</code></strong>|{{#expr: trunc {{{archive-offset|3}}} }} }} }}日后 (于{{#if:{{{time|}}}|<span class="MarkAsResolvedArchtime">{{#timel:Y年Fj日|{{{time}}} + {{#expr:{{#var:archtime-trunc}} + 1}} days}}</span>|<strong class="error">错误:<code>time</code>参数不允许为空。</strong>}} 凌晨) 存档 。</span><br />{{#ifeq:{{#var:responseText}}| 无人回复<!---{zh-hans:复;zh-hant:覆}--->。| 您也可以考虑| 如果您有有关疑问,建议您}}| 提示: 本 模板应当用于[[ 讨论:互助客栈]] 。您可以删除本模板继续讨论,也可以考虑}}[{{fullurl:{{FULLPAGENAME}}|action=edit§ion=new}} 开启一个新的讨论串] 。</div> | ||
| | <div style="flex:1 0 200px; margin: 5px 0; padding:5px; background-color:#fdfdfd; border:1px solid #ddd; font-size:75%;">{{#if:{{{comment|}}}|<span style="font-weight:bold;">处理人留言:</span><br />{{{comment}}}}}——{{{sign|<strong class="error">错误:<code>sign</code>参数不允许为空。</strong>}}}</div> | ||
| | </div></includeonly><noinclude>[[Category: 讨论 模板]]{{doc}}</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | |||
</ | |||
|} | |||
< | |||
{{ | |||
| | |||
| | |||
| | |||
|本 | |||
| | |||
}} | |||
</ | |||
{{ | |||
| | |||
}} | |||
<noinclude>[[ |
2020年5月25日 (一) 10:18的版本
本模板仅仅用于H萌娘讨论:提案版,不要在H萌娘讨论:讨论版上使用!且此模板仅允许管理组的人员使用,作为一个提案的最终结果,将会影响到本站的大量界面,请勿滥用。
用例
以下各例,均以User:公的驱逐舰的签名为例。
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=a}}
{{subst:MarkAsResolved/auto|status=a}}
提案被采纳。
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=r}}
{{subst:MarkAsResolved/auto|status=r}}
提案被替代。
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=s|archive-offset=10}}
{{subst:MarkAsResolved/auto|status=s}}
提案被搁置。
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=n|archive-offset=10}}
{{subst:MarkAsResolved/auto|status=n}}
无人回复。
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=d}}
{{subst:MarkAsResolved/auto|status=d}}