„Sablon:See also-text” változatai közötti eltérés
a 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… |
(Nincs különbség)
|
A lap 2021. október 23., 17:41-kori változata
{{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]]|text about 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> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||