No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
-->{{#ifeq:{{{ignore|}}}|()||{{#vardefine: str |{{Trim_suffix|{{#var:str}}}}}}}}<!-- Parentheses handling | -->{{#ifeq:{{{ignore|}}}|()||{{#vardefine: str |{{Trim_suffix|{{#var:str}}}}}}}}<!-- Parentheses handling | ||
-->{{#ifeq:{{{ignore|}}}|:||{{#vardefine: str |{{Trim_prefix|{{#var:str}}}}}}}}<!-- Colon handling | -->{{#ifeq:{{{ignore|}}}|:||{{#vardefine: str |{{Trim_prefix|{{#var:str}}}}}}}}<!-- Colon handling | ||
-->-{{T| | -->-{{T|en:{{#var:str}}-;}-<!-- Title replacement | ||
-->{{SafeCate|nsidExclude=2,3|Formatted page}}{{ac|{{#ifeq:{{#var:str}}|{{PAGENAME}}|Wrongly formatted page}}}}<noinclude>{{doc}}[[Category:Formatting templates]]</noinclude> | -->{{SafeCate|nsidExclude=2,3|Formatted page}}{{ac|{{#ifeq:{{#var:str}}|{{PAGENAME}}|Wrongly formatted page}}}}<noinclude>{{doc}}[[Category:Formatting templates]]</noinclude> |
-{{T|en:Title format-;}-
This template is used to format the titles of some pages or subpages with disambiguation annotations.
There are mainly the following situations:
Not all ambiguous articles need to be formatted, please select according to actual needs.
{{Title format}}
The effect is already produced on this page. (Originally titled "Template:Title format")
Use the parameter ignore to ignore a formatting rule: