Difference between revisions of "Template:Trim suffix"

From Moegirlpedia
Jump to: navigation, search
(Created page with "<noinclude>Category:辅助模板</noinclude>{{safesubst<noinclude/>:#invoke:String|replace|source={{{1|}}}|pattern=^(%s*)(.*)(%(.*%))(%s*)$|replace=%2|plain=false}}")
 
 
Line 1: Line 1:
<noinclude>[[Category:辅助模板]]</noinclude>{{safesubst<noinclude/>:#invoke:String|replace|source={{{1|}}}|pattern=^(%s*)(.*)(%(.*%))(%s*)$|replace=%2|plain=false}}
+
<noinclude>{{Documentation}}[[Category:Auxiliary templates]]</noinclude>{{safesubst<noinclude/>:#invoke:String|replace|source={{{1|}}}|pattern=^(%s*)(.*)(%(.*%))(%s*)$|replace=%2|plain=false}}

Latest revision as of 15:26, 27 September 2021

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

This template is used to cut off the parentheses and content at the end of the input parameters.

Related templates: {{Trim prefix}}

Example

{{Trim_suffix|Hatsune (disambiguation)}}

Hatsune

{{Trim_suffix|Shogakusei (moe point)}}

Shogakusei

{{Trim_suffix|Moegirlpe-tan}}

Moegirlpe-tan

{{Trim_suffix|Full-width brackets (example) }}

Full-width brackers

{{Trim_suffix|Text (example) text}}

Text (example) text

{{Trim_suffix|Space (example)}}

Space