Progress Continues
We've already had 21453 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: August, September, and October 2023 Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
Template:For2/doc: Difference between revisions
(Import from Wikipedia (using Special:ExpandTemplates)) |
(Too much expansion, also I guess the level 2 header causes issues?) |
||
Line 1: | Line 1: | ||
Modelled after {{[[wikipedia:Template:For|For]]}}, '''{{[[wikipedia:Template:For2|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. | Modelled after {{[[wikipedia:Template:For|For]]}}, '''{{[[wikipedia:Template:For2|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. | ||
Line 5: | Line 4: | ||
===With one topic=== | ===With one topic=== | ||
* <code><nowiki>{{</nowiki>[[Template:For2|For2]]|TOPIC|CUSTOM TEXT<nowiki>}}</nowiki></code> → | * <code><nowiki>{{</nowiki>[[Template:For2|For2]]|TOPIC|CUSTOM TEXT<nowiki>}}</nowiki></code> → {{For2|TOPIC|CUSTOM TEXT}} | ||
===With more than one topic=== | ===With more than one topic=== | ||
This template also supports up to five topics and their suggested articles: | This template also supports up to five topics and their suggested articles: | ||
* <code><nowiki>{{</nowiki>[[Template:For2|For2]]|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2<nowiki>}}</nowiki></code> → | * <code><nowiki>{{</nowiki>[[Template:For2|For2]]|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2<nowiki>}}</nowiki></code> → {{For2|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2}} | ||
* <code><nowiki>{{</nowiki>[[Template:For2|For2]]|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2|TOPIC 3|CUSTOM TEXT 3|TOPIC 4|CUSTOM TEXT 4|TOPIC 5|CUSTOM TEXT 5<nowiki>}}</nowiki></code> → | * <code><nowiki>{{</nowiki>[[Template:For2|For2]]|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2|TOPIC 3|CUSTOM TEXT 3|TOPIC 4|CUSTOM TEXT 4|TOPIC 5|CUSTOM TEXT 5<nowiki>}}</nowiki></code> → {{For2|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2|TOPIC 3|CUSTOM TEXT 3|TOPIC 4|CUSTOM TEXT 4|TOPIC 5|CUSTOM TEXT 5}} | ||
===Wikilinks and capitalization=== | ===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: <nowiki>[[Xyz]]</nowiki>. The same applies to subheadings: <nowiki>[[Xyz#PDQ|Xyz § PDQ]]</nowiki>. | '''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: <nowiki>[[Xyz]]</nowiki>. The same applies to subheadings: <nowiki>[[Xyz#PDQ|Xyz § PDQ]]</nowiki>. |
Revision as of 20:35, 31 March 2020
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]].