Template:Section/doc

From Pittsburgh Streets

The {{section}} template formats a newspaper section.

If the argument is a numeral, it will be put after "sec.". If it contains the substring section or part, then it will be shown as is. Otherwise, it is assumed to be an ordinal or an adjective phrase, and it will be put before the word "section".

Usage examples

  • {{section|3}} → sec. 3
  • {{section|part 6}} → part 6
  • {{section|anniversary section IV}} → anniversary section IV
  • {{section|second part}} → second part
  • {{section|fifth}} → fifth section
  • {{section|North Side}} → North Side section
  • {{section}}