Template:Trim prefix/doc

From Moegirlpedia
< Template:Trim prefix
Revision as of 15:37, 27 September 2021 by LiaMinina (talk | contribs) (Created page with "This template is used to process series of entry strings separated by colons. By default, the entry name is taken after the colon. You can also set the second parameter to 1,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template is used to process series of entry strings separated by colons. By default, the entry name is taken after the colon. You can also set the second parameter to 1, and take the series name. There is no colon to return the original string.

Related templates: {{Trim_suffix}}

Example

{{Trim prefix|Water Margin:Zhang Qing}}

Water Margin:Zhang Qing

{{Trim prefix|Moegirlpedia:Everything can be moe|1|}}

Moegirlpedia:Everything can be moe

{{Trim prefix|Lin Chong}}

Lin Chong

Extended usage

  • The template can also be used to set other parameters

{{Trim prefix|Kantai Collection/Picture books}}

Kantai Collection/Picture books

{{Trim prefix|Kantai Collection:Kongo#Lines}}

Kantai Collection:Kongo#Lines