This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template:DPLSearch: Difference between revisions
Jump to navigation
Jump to search
imported>MiamiVolts No edit summary |
imported>MiamiVolts (Update usage) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{result|}}} | {{#if: {{{search|}}} | {{ | {{#if:{{{result|}}} | {{#if:{{{search|}}} | {{DPLSearch/Replace|result={{{result}}}|search=[[{{{who}}}]]→{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{search}}}|→[[{{{who}}}]]→|→}}|→→|→}}|→→|→}}|→→|→}}|→→|→}}|→→|→}}|→→|→}}|→→|→}}|→→|→}}}} | {{{result}}} }} }} | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Multiple replace substitution call for DPL searches to nullify the inclusions of searchstring in resultstring (i.e. when <tt>include=</tt> and <tt>includematch</tt> are used for matching but you don't actually want any included text). | |||
<pre> | <pre> | ||
{{DPLSearch|result=<resultstring>|search=<searchstring>}} | {{DPLSearch | ||
|result=<resultstring> | |||
|search=<searchstring containing right arrows of entries to be eliminated> | |||
|who=<reference to be linkified and eliminated last> | |||
}} | |||
</pre> | </pre> | ||
{{Nousercat|DPL Templates}} | {{Nousercat|DPL Templates}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:11, 20 December 2007
Usage
Multiple replace substitution call for DPL searches to nullify the inclusions of searchstring in resultstring (i.e. when include= and includematch are used for matching but you don't actually want any included text).
{{DPLSearch |result=<resultstring> |search=<searchstring containing right arrows of entries to be eliminated> |who=<reference to be linkified and eliminated last> }}