Template:For2/doc

From TechInfoDepot
Jump to navigationJump to search

Usage

Modelled after {{For}}, {{For2}} was created to allow custom text, including such modifications as quotation marks or a link, as part of both a topic and its suggested article.

With one topic

  • {{For2|TOPIC|CUSTOM TEXT}}
    For TOPIC, see CUSTOM TEXT.

With more than one topic

This template also supports up to five topics and their suggested articles:

  • {{For2|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2}}
    For TOPIC, see CUSTOM TEXT. For TOPIC 2, see CUSTOM TEXT 2.
  • {{For2|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2|TOPIC 3|CUSTOM TEXT 3|TOPIC 4|CUSTOM TEXT 4|TOPIC 5|CUSTOM TEXT 5}}
    For TOPIC, see CUSTOM TEXT. For TOPIC 2, see CUSTOM TEXT 2. For TOPIC 3, see CUSTOM TEXT 3. For TOPIC 4, see CUSTOM TEXT 4. For TOPIC 5, see CUSTOM TEXT 5.

Wikilinks and capitalization

Style note: When the context around a wikilink discusses the destination article itself (e.g., For more information, see Xyz; Main article: Xyz; This is discussed in Xyz) rather than the topic of that article (e.g., Tailors often use xyz on their clients' pants), use the capitalization of the article's title in the wikilinked text: [[Xyz]]. The same applies to subheadings: [[Xyz#PDQ|Xyz § PDQ]].

TemplateData