Template:Replace: Difference between revisions
Jump to navigation
Jump to search
imported>Fire ページの作成:「{{{{{|safesubst:}}}#invoke:String|replace|source={{{1}}}|{{{2}}}|{{{3}}}|count={{{count|}}}}}<noinclude> {{documentation}} </noinclude>」 |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | <includeonly>{{safesubst:#invoke:String|replace|source={{{1}}}|{{{2}}}|{{{3}}}|plain={{safesubst:#if:{{{plain|}}}|{{{plain}}}|true}}|count={{{count|}}}}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 09:44, 3 June 2025
![]() | この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Replaceを素材として二次利用しています。 WB item: |
![]() | LuaModuleを使用しています: |
構文
{{replace |string |target |replacement [|count=n]}}
使用例
{{replace |One two two three two four twotwo five |two |NINE}}
→ One NINE NINE three NINE four NINENINE five{{replace |One two two three two four twotwo five |two |NINE |count=2}}
→ One NINE NINE three two four twotwo five