Template:Custom signature:修订间差异

imported>我局得事你
无编辑摘要
imported>我局得事你
无编辑摘要
 
(未显示同一用户的12个中间版本)
第1行: 第1行:
<includeonly>[[User:{{{{{|subst:}}}REVISIONUSER}}|{{User:{{{{{|subst:}}}REVISIONUSER}}}}]]</includeonly><noinclude>
<includeonly>{{{{{|subst:}}}#if:{{{1|}}}|[[File:{{{1}}}|link=User:{{{{{|subst:}}}REVISIONUSER}}|40px]]|}}[[User:{{{{{|subst:}}}REVISIONUSER}}|{{User:{{{{{|subst:}}}REVISIONUSER}}/sign}}]]</includeonly><noinclude>
本模板用于辅助自定义签名
本模板用于辅助自定义签名


== 教程 ==
== 教程 ==
=== 第一步 ===
=== 第一步 ===
在[[Special:MyPage|自己的用户页]]放入签名:
在[[Special:MyPage/sign|自己的用户签名页]]放入签名:
<pre><onlyinclude>'''<span style="color:blue;">我的签名示例</span>'''</onlyinclude></pre>
<pre>
<span style="background-color: #e00; color: white; border-radius: 3px; font-size: 16px; padding: 2px 10px;">'''玛雅战争'''</span>
</pre>


=== 第二步 ===
=== 第二步 ===
在[[Special:参数设置|参数设置]]中
在[[Special:参数设置|参数设置]]中勾选“将签名视为维基文本”把“新签名”修改为:
#勾选“将签名视为维基文本”
<pre>
#把“新签名”修改为:
{{Custom signature}}
<pre>{{Custom signature}}</pre>
</pre>
 
如果需要显示头像还可以使用参数
<pre>
{{Custom signature|玛雅战争.png}}
</pre>


保存后会显示为
保存后会显示为
<pre>{{替代:Custom signature}}</pre>
<pre>
{{替代:Custom signature}}
{{替代:Custom signature|玛雅战争.png}}
</pre>
 
=== 效果 ===
[[File:玛雅战争.png|link=Special:MyPage|40px]]
[[Special:MyPage|<span style="background-color: #e00; color: white; border-radius: 3px; font-size: 16px; padding: 2px 10px;">'''玛雅战争'''</span>]]


</noinclude>
</noinclude>