Teamplaid:Str rep
Coltas
{{{1}}}
Uses Lua: |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
This teamplaid is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this teamplaid's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this teamplaid. Please discuss any changes on the talk page before implementing them. |
Ùsaid - Usage
[deasaich]{{Str rep|<string>|<find>|<replacewith>}}
Returns <string> with the first occurrence of <find> replaced with <replacewith>.
Eisimpleir - Example
[deasaich]{{str rep|Dogs chase cats. Cats chase mice|chase|love}}
= Dogs love cats. Cats chase mice
Faic cuideachd - Also see
- {{Replace}} - to replace all occurrences (Lua based)
The above documentation is transcluded from Teamplaid:Str rep/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |