Template:See also-text: Difference between revisions
m (Nihiltres moved page Template:See also2 to Template:See also-text: Clearer name; see Wikipedia talk:Hatnote#Template renaming for clarity. Wasn't mentioned in that plan, but falls under the same rationale, so…) |
Richardpruen (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 18:32, 2 January 2022
{{See also-text}}, like {{See also}}, allows for a small set of see also information to be added to the head of an article or section. However, {{See also-text}}'s parameters are provided as wikitext, rather than being automatically treated as links as with {{see also}}, allowing for more flexibility where needed. To simply change the link text of a see-also link, you may want to use the labelN
option of {{see also}} instead of using this template, e.g. {{see also|link target|label1=link text}}.
Usage
{{See also-text|[[Article1|Link text1]]}}
{{See also-text|[[Article1|Link text1]]|[[Article2|Link text2]]}}
{{See also-text|[[Article1|Link text1]]|[[Article2|Link text2]]|[[Article3|Link text3]]}}
...
{{See also-text|[[Article1|Link text1]]|[[Article2|Link text2]]|[[Article3|Link text3]]|...|[[Article15|Link text15]]}}
Example
Code | Result |
---|---|
{{See also-text}} |
See also: Error: Template must be given at least one article nameyes
|
{{See also-text|[[Article]]}} |
See also: Article
|
{{See also-text|[[Article]]|[[Article]]}} | |
{{See also-text|[[Article]]|[[Article]]|[[Article]]}} |
And so on up to 15 parameters.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See also-text, like See also, allows for a small set of see also information to be added to the head of an article or section. However, See also-text's parameters are provided as wikitext, rather than being automatically treated as links as with See also, allowing for more flexibility where needed.
</templatedata> |