Zeroclanzhang(讨论 | 贡献) (创建页面,内容为“<includeonly>{{Hatnote|{{{altphrase|See also}}}: {{#if:{{{1|}}} |<!--then:-->{{{1}}}|<!--else:-->'''Error: Template must be given at least one article name'''<!-- -->{{yesno-yes|{{{category}}}|yes=Category:Hatnote templates with errors}} }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} {{{2}}} }}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} {{{3}}} }}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |, and }} {{{4}}} }}{{#if:{{{5|}}}|{{#if:{{{6|}}…”) |
(没有差异)
|
2024年1月21日 (日) 21:07的最新版本
{{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-text|<[[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 a monthly parameter usage report for Template:See also-text in articles based on its TemplateData.
TemplateData for See also-text 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> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||