Template:SeeAlso: Difference between revisions
Jump to navigation
Jump to search
Add Category:Basic Templates |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
<noinclude> | <noinclude> | ||
Adds a "See Also" section for referencing similar functions (takes up to 16 parameters). Do '''not''' include the parentheses. | Adds a "See Also" section for referencing similar functions (takes up to 16 parameters). Do '''not''' include the parentheses. | ||
Note: Don't use this directly inside a function page. Instead, create or edit a [[:Category:SeeAlso Templates|SeeAlso Template]] page, and embed it inside a function page. | |||
When creating a SeeAlso Template page, use the following code as the starting point: | |||
<pre> | |||
<onlyinclude>{{SeeAlso|}}</onlyinclude>[[Category:SeeAlso Templates]] | |||
</pre> | |||
==Example== | ==Example== | ||
Line 33: | Line 40: | ||
| {{SeeAlso|my_name|my_id}} | | {{SeeAlso|my_name|my_id}} | ||
|} | |} | ||
[[Category:Basic Templates]] | [[Category:Basic Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:06, 23 December 2020
Adds a "See Also" section for referencing similar functions (takes up to 16 parameters). Do not include the parentheses.
Note: Don't use this directly inside a function page. Instead, create or edit a SeeAlso Template page, and embed it inside a function page.
When creating a SeeAlso Template page, use the following code as the starting point:
<onlyinclude>{{SeeAlso|}}</onlyinclude>[[Category:SeeAlso Templates]]
Example
Code | Result |
---|---|
{{SeeAlso|visit_url}} |
See Also |
{{SeeAlso|my_name|my_id}} |
See Also |