Template:Template journal/arg: Difference between revisions

Template page
m (1 revision imported)
(Trimming is done upstream now)
Line 1: Line 1:
<includeonly><br /> &#124; {{#switch:{{#invoke:String|find|source={{{1}}}|target=%s*:|plain=false}}|0=<span class="tj-ac">{{trim|{{{1}}}}}</span>|1=<span class="tj-ac">&#58;{{#invoke:String|sublength|s=//{{{1}}}|i={{#invoke:String|str_find|//{{{1}}}|:|plain=true}}}}</span>|#default=<span class="tj-an">{{#invoke:String|replace|source={{trim|{{{1}}}}}|pattern=%s*:%s*|replace=</span> &#61; <span class="tj-ac">|plain=false|count=1}}</span>}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly><br /> &#124; {{#switch:{{#invoke:String|find|source={{{1}}}|target=%s*:|plain=false}}|0=<span class="tj-ac">{{{1}}}</span>|1=<span class="tj-ac">&#58;{{#invoke:String|sublength|s=//{{{1}}}|i={{#invoke:String|str_find|//{{{1}}}|:|plain=true}}}}</span>|#default=<span class="tj-an">{{#invoke:String|replace|source={{{1}}}|pattern=%s*:%s*|replace=</span> &#61; <span class="tj-ac">|plain=false|count=1}}</span>}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 00:44, 15 July 2023

Template documentationcreate ยท purge ]