「テンプレート:W」の版間の差分

提供:脳科学辞典
ナビゲーションに移動 検索に移動
(1版)
 
(1版 をインポートしました)
 
(2人の利用者による、間の2版が非表示)
1行目: 1行目:
[[{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>
{{#switch:{{padleft:|1|{{{1|}}}}}|&#91;|&#123;=[[Category:Maintenance:Template W error]]{{color|red|'''Template W: parameter error'''}}<!--
;Template {{tl|w}} is widely used on sisterprojects to form the interwiki link: <nowiki>[[w:{{{1}}} | {{{2|{{{1}}}}}} ]]</nowiki>
-->|{{#switch:{{{link}}}|no|n|-={{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}<!-- option for only text without link
* Its use here allows images and other text snippets (descriptions for Commons category headings, for example) to be composed.  This template was previously a redirect to {{tl|Welcome}}, but this causes chaos when bots copy Commons images for temporary upload here; see [[:File:Template W for welcome.png]] as an example.
-->|[[:{{{3|w}}}:{{{1|}}}|{{<includeonly>safesubst:</includeonly>#if: {{{2|}}}|{{{2}}}<!--
** It is particularly useful in annotating images marked by a bot as being eligible for transfer before adding |user=Username to enable a bot move to take place.
 
-->|{{#if:{{NAMESPACE:{{{1|}}}}}|{{NAMESPACE:{{{1|}}}}}''''':'''''{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!-- &#58;
-->|{{#ifeq:{{padleft:|1|{{{1|W}}}}}|{{lc:{{padleft:|1|{{PAGENAME:{{{1|W}}}}}}}}}<!--"ℓ"
-->|{{lcfirst:{{PAGENAME:{{{1|{{Projectname|w}}}}}}}}}<!-- first character lower case
-->|{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!--
-->}}}}}}]]}}}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>

2020年7月13日 (月) 10:10時点における最新版

Q52

[create] Documentation icon Template documentation