Actions

Template

Difference between revisions of "Rep"

From NEC Retro

(Created page with "{{let|reptxt={{{1|}}}}}{{#fornumargs:rr|rrr |{{#ifexpr:{{#var:rr}} mod 2 = 0 |{{let|reptxt={{#replace:{{#var:reptxt}}|{{#var:rrr}}|{{{{{#expr:{{#var:rr}}+1}}|}}}}}}} }} }}{{#i...")
 
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
 
Line 9: Line 9:
 
* <tt><nowiki>{{rep|text test|e||t|u}}</nowiki></tt> = {{rep|text test|e||t|u}}
 
* <tt><nowiki>{{rep|text test|e||t|u}}</nowiki></tt> = {{rep|text test|e||t|u}}
 
* <tt><nowiki>{{rep|text test|e||t|u|var=output}}{{#var:output}}</nowiki></tt> = {{rep|text test|e||t|u|var=output}}{{#var:output}}
 
* <tt><nowiki>{{rep|text test|e||t|u|var=output}}{{#var:output}}</nowiki></tt> = {{rep|text test|e||t|u|var=output}}{{#var:output}}
[[Category:NEC Retro templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:28, 1 January 2022

Shorthand for replace.

Usage

  • {{rep|text test|e||t|u}} = uxu usu
  • {{rep|text test|e||t|u|var=output}}{{#var:output}} = uxu usu