Template:SeeAlso: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle Created page with '<noinclude> Adds a "See Also" section for referencing similar functions (takes up to 12 parameters). Category:Basic Templates </noinclude> <includeonly> <h2>See Also</h2><div…' |
No edit summary |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><h2>See Also</h2> | |||
<div style="border: dashed 1px green; margin: 0.2em; padding: 1em; background-color: #fff8dc; text-align: center;"> | |||
{{#if: {{{1|}}}|[[{{{1}}}|<kbd>{{{1}}}()</kbd>]]}}{{ | |||
#if: {{{2|}}}| <nowiki>|</nowiki> [[{{{2}}}|<kbd>{{{2}}}()</kbd>]]}}{{ | |||
#if: {{{3|}}}| <nowiki>|</nowiki> [[{{{3}}}|<kbd>{{{3}}}()</kbd>]]}}{{ | |||
#if: {{{4|}}}| <nowiki>|</nowiki> [[{{{4}}}|<kbd>{{{4}}}()</kbd>]]}}{{ | |||
#if: {{{5|}}}| <nowiki>|</nowiki> [[{{{5}}}|<kbd>{{{5}}}()</kbd>]]}}{{ | |||
#if: {{{6|}}}| <nowiki>|</nowiki> [[{{{6}}}|<kbd>{{{6}}}()</kbd>]]}}{{ | |||
#if: {{{7|}}}| <nowiki>|</nowiki> [[{{{7}}}|<kbd>{{{7}}}()</kbd>]]}}{{ | |||
#if: {{{8|}}}| <nowiki>|</nowiki> [[{{{8}}}|<kbd>{{{8}}}()</kbd>]]}}{{ | |||
#if: {{{9|}}}| <nowiki>|</nowiki> [[{{{9}}}|<kbd>{{{9}}}()</kbd>]]}}{{ | |||
#if: {{{10|}}}| <nowiki>|</nowiki> [[{{{10}}}|<kbd>{{{10}}}()</kbd>]]}}{{ | |||
#if: {{{11|}}}| <nowiki>|</nowiki> [[{{{11}}}|<kbd>{{{11}}}()</kbd>]]}}{{ | |||
#if: {{{12|}}}| <nowiki>|</nowiki> [[{{{12}}}|<kbd>{{{12}}}()</kbd>]]}}{{ | |||
#if: {{{13|}}}| <nowiki>|</nowiki> [[{{{13}}}|<kbd>{{{13}}}()</kbd>]]}}{{ | |||
#if: {{{14|}}}| <nowiki>|</nowiki> [[{{{14}}}|<kbd>{{{14}}}()</kbd>]]}}{{ | |||
#if: {{{15|}}}| <nowiki>|</nowiki> [[{{{15}}}|<kbd>{{{15}}}()</kbd>]]}}{{ | |||
#if: {{{16|}}}| <nowiki>|</nowiki> [[{{{16}}}|<kbd>{{{16}}}()</kbd>]]}} | |||
</div></includeonly> | |||
<noinclude> | <noinclude> | ||
Adds a "See Also" section for referencing similar functions (takes up to | 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== | |||
{| class="wikitable" style="width: 100%" | |||
! style="width: 50%" | Code | |||
! Result | |||
|- | |||
| <pre>{{SeeAlso|visit_url}}</pre> | |||
| {{SeeAlso|visit_url}} | |||
|- | |||
| <pre>{{SeeAlso|my_name|my_id}}</pre> | |||
| {{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 |