แม่แบบ:replace
หน้าตา
{{{1}}}
- The following documentation is located at แม่แบบ:replace/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template performs string replacement. It is a wrapper for function replace
from Module:string.
Parameters
[แก้ไข]|1=
- The string to search
|2=
- The string or pattern to find within source
|3=
- The replacement text
|count=
,|4=
- The number of occurrences to replace, defaults to all.
|plain=
,|5=
- Boolean flag indicating that pattern should be understood as plain text (if true) and not as a Lua style regular expression, defaults to true