Template:Ping: Difference between revisions

Jump to navigation Jump to search
en.wikipedia.org>Technical 13
make the @ be a parameter called {prefix}
en.wikipedia.org>Ahecht
Switch to Module:Reply to to support more than 7 names. Feel free to revert if bugs or regressions are discovered in the Lua module.
Line 1: Line 1:
{{SAFESUBST:<noinclude />#if:{{{1|<noinclude>$</noinclude>}}}
{{#invoke:Reply_to/sandbox|replyto|<noinclude>example=Example</noinclude>|max=50}}<noinclude>
|<span class="template-ping">{{{prefix|@}}}[[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1|Example}}}}}|{{{label1|{{{label|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1|Example}}}}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{2|}}}
{{documentation}}
|{{SAFESUBST:<noinclude />#if:{{{3|}}}|,|{{SAFESUBST:<noinclude />#ifeq:{{{c}}}||,|&nbsp;{{{c|and}}}}}}} [[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{2}}}}}|{{{label2|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{2}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{3|}}}
|,{{SAFESUBST:<noinclude />#if:{{{4|}}}||&nbsp;{{{c|and}}}}} [[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{3}}}}}|{{{label3|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{3}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{4|}}}
|,{{SAFESUBST:<noinclude />#if:{{{5|}}}||&nbsp;{{{c|and}}}}} [[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{4}}}}}|{{{label4|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{4}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{5|}}}
|,{{SAFESUBST:<noinclude />#if:{{{6|}}}||&nbsp;{{{c|and}}}}} [[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{5}}}}}|{{{label5|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{5}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{6|}}}
|,{{SAFESUBST:<noinclude />#if:{{{7|}}}||&nbsp;{{{c|and}}}}} [[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{6}}}}}|{{{label6|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{6}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{7|}}}
|, {{{c|and}}} [[:User:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{7|Example}}}}}|{{{label7|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{7|Example}}}}}}}}]]
      }}
    }}
    }}
  }}
  }}
}}{{{p|:}}}</span>
|{{SAFESUBST:<noinclude />Error|Error in [[Template:Replyto]]: Username not given.}}
}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>