Difference between revisions of "Template:Tfd links"

From MINR.ORG WIKI
(Update from sandbox/testcases (primarily to replace ambiguous pipe characters; also reduced conditional use and removed deprecated <tt>))
(Something went wrong, discuss on talk page before altering again)
Line 1: Line 1:
{{#ifeq:{{{catfd|}}}|
+
<span class="plainlinks nourlexpansion lx"><div id="{{#ifeq:{{{catfd|}}}||Template:|Category:}}{{ucfirst:{{{1|Example}}}}}"/>[[:{{#ifeq:{{{catfd|}}}||Template:|Category:}}{{ucfirst:{{{1|Example}}}}}]] <!--
<!----catf not set, so primary namespace is Template:---->
+
 
| <div id="Template:{{ucfirst:{{{1|Example}}}}}"/>
+
-->{{#if:{{{2|}}}|([[Wikipedia:Templates for discussion/Log/{{{2}}}#Template:{{{1|Example}}}|{{date|{{{2}}}|dmy}}]])&#32;}}<!--
  {{hlist |class=plainlinks nourlexpansion lx |item_style=font-size:95%;
+
 
    | <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]
+
--><tt>(</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!--
    | [[Template talk:{{ucfirst:{{{1|Example}}}}}|talk]]
+
 
    | [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]
+
--><tt>&#124;</tt>[[{{#ifeq:{{{catfd|}}}||Template|Category}} talk:{{ucfirst:{{{1|Example}}}}}|talk]]<!--
    | [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]
+
 
    | [{{fullurl:Special:Log|page={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}}} logs]
+
--><tt>&#124;</tt>[{{fullurl:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
    | [{{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:---->
+
 
| {{#if:{{{2|}}}    |{{{{BASEPAGENAME}}/catfd|{{{1}}}|{{{2}}}}}
+
--><tt>&#124;</tt>[{{fullurl:Special:Log|page={{urlencode:{{#ifeq:{{{catfd|}}}||Template|Category}}:{{ucfirst:{{{1|Example}}}}}}}}} logs]<!--
    | {{#if:{{{1|}}} |{{{{BASEPAGENAME}}/catfd|{{{1}}}}}
+
 
      | {{{{BASEPAGENAME}}/catfd}}
+
--><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]<!--
}} }} }}<noinclude>
+
 
 +
--><tt>)</tt></span><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 +
[[Category:Templates for discussion templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 22:46, 20 October 2014

Template:Example (edit|talk|history|links|logs|delete)
Template documentation[create]