Template:For2: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
m (Ah, {{Documentation}} needs to be on its own line)
mNo edit summary
Line 1: Line 1:
:''For {{{1}}}, see {{{2}}}{{#if:{{{4|}}}|.  For {{{3}}}, see {{{4}}}{{#if:{{{6|}}}|.  For {{{5}}}, see {{{6}}}.|.}}{{#if:{{{8|}}}|&nbsp;For {{{7}}}, see {{{8}}}.}}{{#if: {{{9|}}}|&nbsp;For {{{9}}}, see {{{10}}}.}}|{{#if:{{{3|}}}|&nbsp;and {{{3}}}.|.}}}}''<noinclude>
<includeonly>:''For {{{1}}}, see {{{2}}}{{#if:{{{4|}}}|.  For {{{3}}}, see {{{4}}}{{#if:{{{6|}}}|.  For {{{5}}}, see {{{6}}}.|.}}{{#if:{{{8|}}}|&nbsp;For {{{7}}}, see {{{8}}}.}}{{#if: {{{9|}}}|&nbsp;For {{{9}}}, see {{{10}}}.}}|{{#if:{{{3|}}}|&nbsp;and {{{3}}}.|.}}}}''</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 02:41, 1 April 2020

[edit] [purge] Template documentation

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.

Note: you must supply any formatting manually (=unlike {{For}}, parameters aren't automatically bluelinked)

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]].

Used By