Template:List to categories/doc
Jump to navigation
Jump to search
- Multiple Category Assignment Template.
- Input: String containing target category names.
- Fixed delimiter: Comma.
- {{List to categories|Category1, Category2, ...}}
- Has optional options for leading & trailing category name-parts.
- When using the leading or trailing option there are the following caveats:
- The target category names in the list need to be properly capitalized.
- The raw-list needs to be processed first by a {{List normalize|<initial-raw-list>}} call.
- Additional category-name spacing should be specified in the leading/trailing part with a underscore character (instead of a normal/real space-character).
- {{List to categories|{{List normalize|Category1, Category2, ...}}|leading_part|trailing_text}}
- Initial source: salemthegame.wiki
- Code optimized for: Lowest expansion depth. [1]
- Doc page includes some raw, commented-out, lead/trail option debugging results & notes.