Difference between revisions of "Template:Tfd links"

From MINR.ORG WIKI
(moved category to /doc page)
(Update from sandbox/testcases (primarily to replace ambiguous pipe characters; also reduced conditional use and removed deprecated <tt>))
Line 1: Line 1:
<span class="plainlinks nourlexpansion lx"><div id="{{#ifeq:{{{catfd|}}}||Template:|Category:}}{{ucfirst:{{{1|Example}}}}}"/>[[:{{#ifeq:{{{catfd|}}}||Template:|Category:}}{{ucfirst:{{{1|Example}}}}}]] <!--
+
{{#ifeq:{{{catfd|}}}|
 
+
<!----catf not set, so primary namespace is Template:---->
-->{{#if:{{{2|}}}|([[Wikipedia:Templates for discussion/Log/{{{2}}}#Template:{{{1|Example}}}|{{date|{{{2}}}|dmy}}]])&#32;}}<!--
+
| <div id="Template:{{ucfirst:{{{1|Example}}}}}"/>
 
+
  {{hlist |class=plainlinks nourlexpansion lx |item_style=font-size:95%;
--><tt>(</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!--
+
    | <span style{{=}}"font-size:105%;">[[:Template:{{ucfirst:{{{1|Example}}}}}]]&nbsp;{{#if:{{{2|}}} |([[Wikipedia:Templates for discussion/Log/{{{2}}}#Template:{{{1|Example}}}|{{date|{{{2}}}|dmy}}]])&nbsp;}}</span><!--main parenthesis starts:-->([{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]
 
+
    | [[Template talk:{{ucfirst:{{{1|Example}}}}}|talk]]
--><tt>&#124;</tt>[[{{#ifeq:{{{catfd|}}}||Template|Category}} talk:{{ucfirst:{{{1|Example}}}}}|talk]]<!--
+
    | [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]
 
+
    | [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]
--><tt>&#124;</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
+
    | [{{fullurl:Special:Log|page={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}}} logs]
 
+
    | [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=delete&wpReason={{urlencode:[[{{#if:{{{2|}}} |Wikipedia:Templates for discussion/Log/{{{2}}} |{{FULLPAGENAME}}}}#Template:{{{1|Example}}}]]}}}} delete])<!--(main parenthesis ends)-->
-->{{#ifeq:{{{catfd|}}}||<tt>&#124;</tt>[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]}}<!--
+
  }}
 
+
<!----catfd set, so primary namespace is Category:---->
--><tt>&#124;</tt>[{{fullurl:Special:Log|page={{urlencode:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}}}}} logs]<!--
+
| {{#if:{{{2|}}}    |{{{{BASEPAGENAME}}/catfd|{{{1}}}|{{{2}}}}}
 
+
    | {{#if:{{{1|}}} |{{{{BASEPAGENAME}}/catfd|{{{1}}}}}
--><tt>&#124;</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}|action=delete&wpReason={{urlencode:[[{{#if:{{{2|}}}|Wikipedia:Templates for discussion/Log/{{{2}}}|{{FULLPAGENAME}}}}#Template:{{{1|Example}}}]]}}}} delete]<!--
+
      | {{{{BASEPAGENAME}}/catfd}}
 
+
}} }} }}<noinclude>
--><tt>)</tt></span><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 22:33, 20 October 2014

  Template:Hlist
Template documentation[create]