Template documentation (for the above template, sometimes hidden or invisible)
This returns the article name of a disambiguated page's name. E.g.
{{Get name|M1 Abrams}}
returns "Iron Curtain "
Useful with {{PAGENAME}}.
You may also use "A" (for "Article") instead of "Get name"
{{A|M1 Abrams}}
returns "M1 Abrams "
Implementation: it removes everything after the LAST open bracket character ("(") including the character itself. It then removes trailing spaces off the remaining string.
{{A|Iron Curtain (Red Alert 1) (Red Alert 2)}}
returns "Iron Curtain (Red Alert 1) "
See Also
- Template:Get disambiguation
Debugging Info
{{A|Iron Curtain}}
returns "Iron Curtain "
Visit Template:Get name/doc to edit this text! (How does this work?)