Template:GetSection/doc


 * Description
 * Use this template to check if a suffix is at the end of a string.
 * This is used to access the correct template on pages where the Template:Infobox card is used multiple times.
 * The template returns an empty string if the suffix isn't found.
 * The template returns the string without the suffix, if the suffix is found.


 * Syntax


 * Examples:
 * test(asdf1, 1):
 * test(asdf, 1):
 * test(asdf1asdf1, 1):
 * test(synopsis_overlord, _overlord):
 * test(synopsis_overlord, _hero):