Template:Ping: Difference between revisions

From Meta Wiki
Jump to navigation Jump to search
en.wikipedia.org>Technical 13
m Reverted good faith edits by Magog the Ogre: Per Wikipedia:Village pump (technical)#templates stop working past a certain point this change (albeit only 274 characters) may be the culprit in causing the issues (it was the only one with a...
en.wikipedia.org>Technical 13
Use safesubst AND shorten template at least a little to achieve same result.
Line 1: Line 1:
{{#if:{{{1|<noinclude>$</noinclude>}}}
{{{{{|safesubst:}}}#if:{{{1|<noinclude>$</noinclude>}}}
  |@[[:{{#ifeq:{{NAMESPACE:{{{1}}} }}|User||User:}}{{{1|Example}}}|{{PAGENAME:{{{1|Example}}}}}]]{{#if:{{{2|}}}
  |@[[:User:{{{{{|safesubst:}}}SUBPAGENAME:{{{1|Example}}}}}|{{{{{|safesubst:}}}SUBPAGENAME:{{{1|Example}}}}}]]{{{{{|safesubst:}}}#if:{{{2|}}}
  |, [[:{{#ifeq:{{NAMESPACE:{{{2}}} }}|User||User:}}{{{2}}}|{{PAGENAME:{{{2}}}}}]]{{#if:{{{3|}}}
  |, [[:User:{{{{{|safesubst:}}}SUBPAGENAME:{{{2|Example}}}}}|{{{{{|safesubst:}}}SUBPAGENAME:{{{2|Example}}}}}]]{{{{{|safesubst:}}}#if:{{{3|}}}
  |, [[:{{#ifeq:{{NAMESPACE:{{{3}}} }}|User||User:}}{{{3}}}|{{PAGENAME:{{{3}}}}}]]{{#if:{{{4|}}}
  |, [[:User:{{{{{|safesubst:}}}SUBPAGENAME:{{{3|Example}}}}}|{{{{{|safesubst:}}}SUBPAGENAME:{{{3|Example}}}}}]]{{{{{|safesubst:}}}#if:{{{4|}}}
  |, [[:{{#ifeq:{{NAMESPACE:{{{4}}} }}|User||User:}}{{{4}}}|{{PAGENAME:{{{4}}}}}]]{{#if:{{{5|}}}
  |, [[:User:{{{{{|safesubst:}}}SUBPAGENAME:{{{4|Example}}}}}|{{{{{|safesubst:}}}SUBPAGENAME:{{{4|Example}}}}}]]{{{{{|safesubst:}}}#if:{{{5|}}}
  |, [[:{{#ifeq:{{NAMESPACE:{{{5}}} }}|User||User:}}{{{5}}}|{{PAGENAME:{{{5}}}}}]]
  |, [[:User:{{{{{|safesubst:}}}SUBPAGENAME:{{{5|Example}}}}}|{{{{{|safesubst:}}}SUBPAGENAME:{{{5|Example}}}}}]]
     }}
     }}
   }}
   }}
   }}
   }}
  }}{{{p|:}}}
  }}{{{p|:}}}
  |{{error|Error in replyto template: Username not given. See [[Template:Replyto]] for usage.}}
  |{{{{{|safesubst:}}}error|Error in [[Template:Replyto]]: Username not given.}}
}}<noinclude>
}}<noinclude>


{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 03:22, 23 November 2013

@Example: