Template:For-text/doc
This is a documentation subpage for Template:For-text. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]Modelled after {{for}}, {{for-text}} was created to allow custom text, including such modifications as quotation marks or a link, as part of both a topic and its suggested resource.
Note: you must supply any formatting manually (unlike {{For}}, parameters aren't automatically bluelinked)
With one topic
[edit source]- {{For-text|TOPIC|CUSTOM TEXT}} →
With more than one topic
[edit source]This template also supports up to five topics and their suggested resources:
- {{For-text|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2}} →
- {{For-text|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
[edit source]Style note: When the context around a wikilink discusses the destination resource itself (e.g., For more information, see Xyz; Main resource: Xyz; This is discussed in Xyz) rather than the topic of that resource (e.g., Tailors often use xyz on their clients' pants), use the capitalization of the resource's title in the wikilinked text: [[Xyz]]. The same applies to subheadings: [[Xyz#PDQ|Xyz § PDQ]].
TemplateData
[edit source]TemplateData for For-text
This template lists up to five resources on alternative meanings of a term. For further details and examples see the template documentation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First description | 1 | A phrase describing an alternative meaning
| String | required |
First link | 2 | A phrase including a wikilink to the first alternative meaning.
| String | required |
Second description | 3 | A phrase describing another meaning, if any
| String | optional |
Second link | 4 | A page to link to for another meaning, if any.
| String | optional |
Third description | 5 | A phrase describing another meaning, if any | String | optional |
Third link | 6 | A page to link to for another meaning, if any. | String | optional |
Fourth description | 7 | A phrase describing another meaning, if any | String | optional |
Fourth link | 8 | A page to link to for another meaning, if any. | String | optional |
Fifth description | 9 | A phrase describing another meaning, if any | String | optional |
Fifth link | 10 | A page to link to for another meaning, if any. | String | optional |