Vocaloid Wiki
m (1 revision: http://utaulyrics.wikia.com - Template:External)
(update)
Tag: sourceedit
Line 1: Line 1:
  +
<!--
{{#ifexpr:{{#rpos:{{{1}}}|{{{2}}}}} > -1 |{{{3|{{{then|}}}}}} |{{{4|{{{else|}}}}}} }}<noinclude>{{documentation}}</noinclude>
 
  +
-->{{#ifexpr:{{#len:{{{1}}}}} > 1000<!--
  +
-->|<!--
  +
--><!--do nothing, as the string will be too long for processing--><!--
  +
-->|<!--
  +
-->{{#ifexpr:{{#rpos:{{{1}}}|{{{2}}}}} > -1<!--
  +
-->|<!--
  +
-->{{{3|{{{then|}}}}}}<!--
  +
-->|<!--
  +
-->{{{4|{{{else|}}}}}}<!--
  +
-->}}<!--
  +
-->}}<noinclude>{{documentation}}</noinclude>

Revision as of 23:09, 7 October 2016

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Ifcontains/doc to edit this documentation. (How does this work?)

Description

This template is used within the template {{External}} to provide function to {{V}} and {{L}}.

Sample

If 1= contains 2=, then do 3=; otherwise, do 4=.

Parameters

1=
Text that will be analyzed.
2=
Text that will be looked for.
3=, then=
What to do if 1= contains 2=.
4=, else=
What to do if 1= doesn't contain 2=.