Difference between revisions of "Template:Tfd links"
From MINR.ORG WIKI
(add catfd parameter) |
(fix finally...) |
||
Line 1: | Line 1: | ||
− | <span class="plainlinks nourlexpansion lx"><div id="Template:{{ucfirst:{{{1|Main Page}}}}}"/>[[Template:{{ucfirst:{{{1|Main Page}}}}}]] <!-- | + | <span class="plainlinks nourlexpansion lx"><div id="{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Main Page}}}}}"/>[[{{#ifeq:{{{catfd|}}}||Template|:Category}}:{{ucfirst:{{{1|Main Page}}}}}]] <!-- |
-->{{#if:{{{2|}}}|([[Wikipedia:Templates for discussion/Log/{{{2}}}#Template:{{{1|Main Page}}}|{{date|{{{2}}}|dmy}}]]) }}<!-- | -->{{#if:{{{2|}}}|([[Wikipedia:Templates for discussion/Log/{{{2}}}#Template:{{{1|Main Page}}}|{{date|{{{2}}}|dmy}}]]) }}<!-- | ||
− | --><tt>(</tt>[{{fullurl:Template:{{ucfirst:{{{1|Main Page}}}}}|action=edit}} edit]<!-- | + | --><tt>(</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Main Page}}}}}|action=edit}} edit]<!-- |
− | --><tt>|</tt>[[Template talk:{{ucfirst:{{{1|Main Page}}}}}|talk]]<!-- | + | --><tt>|</tt>[[{{#ifeq:{{{catfd|}}}||Template|Category}} talk:{{ucfirst:{{{1|Main Page}}}}}|talk]]<!-- |
− | --><tt>|</tt>[{{fullurl:Template:{{ucfirst:{{{1|Main Page}}}}}|action=history}} history]<!-- | + | --><tt>|</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Main Page}}}}}|action=history}} history]<!-- |
-->{{#ifeq:{{{catfd|}}}||<tt>|</tt>[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Main Page}}}}}|limit=999}} links]}}<!-- | -->{{#ifeq:{{{catfd|}}}||<tt>|</tt>[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Main Page}}}}}|limit=999}} links]}}<!-- | ||
− | --><tt>|</tt>[{{fullurl:Template:{{ucfirst:{{{1|Main Page}}}}}|action=watch}} watch]<!-- | + | --><tt>|</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Main Page}}}}}|action=watch}} watch]<!-- |
− | --><tt>|</tt>[{{fullurl:Special:Log|page={{urlencode:Template:{{ucfirst:{{{1|Main Page}}}}}}}}} logs]<!-- | + | --><tt>|</tt>[{{fullurl:Special:Log|page={{urlencode:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Main Page}}}}}}}}} logs]<!-- |
− | --><tt>|</tt>[{{fullurl:Template:{{ucfirst:{{{1|Main Page}}}}}|action=delete&wpReason={{urlencode:[[{{#if:{{{2|}}}|Wikipedia:Templates for discussion/Log/{{{2}}}|{{FULLPAGENAME}}}}#Template:{{{1|Main Page}}}]]}}}} delete]<!-- | + | --><tt>|</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Main Page}}}}}|action=delete&wpReason={{urlencode:[[{{#if:{{{2|}}}|Wikipedia:Templates for discussion/Log/{{{2}}}|{{FULLPAGENAME}}}}#Template:{{{1|Main Page}}}]]}}}} delete]<!-- |
--><tt>)</tt></span><noinclude> | --><tt>)</tt></span><noinclude> |