How to make custom setting type

See the core setting yaml file, it’s using the list type of setting with placeholder
https://github.com/discourse/discourse/blob/525a2174b338bf55c8fbd47128894fb278db1ab2/config/site_settings.yml#L404