Template:SeeAlso: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<div style="border: dashed 1px green; margin: 0.2em; padding: 1em; background-color: #fff8dc; text-align: center;"> | <div style="border: dashed 1px green; margin: 0.2em; padding: 1em; background-color: #fff8dc; text-align: center;"> | ||
{{#if: {{{1|}}}|[[{{{1}}}|<kbd>{{{1}}}()</kbd>]]}}{{ | {{#if: {{{1|}}}|[[{{{1}}}|<kbd>{{{1}}}()</kbd>]]}}{{ | ||
#if: {{{2| | #if: {{{2|}}}| <nowiki>|</nowiki> [[{{{2}}}|<kbd>{{{2}}}()</kbd>]]}}{{ | ||
#if: {{{3| | #if: {{{3|}}}| <nowiki>|</nowiki> [[{{{3}}}|<kbd>{{{3}}}()</kbd>]]}}{{ | ||
#if: {{{4| | #if: {{{4|}}}| <nowiki>|</nowiki> [[{{{4}}}|<kbd>{{{4}}}()</kbd>]]}}{{ | ||
#if: {{{5| | #if: {{{5|}}}| <nowiki>|</nowiki> [[{{{5}}}|<kbd>{{{5}}}()</kbd>]]}}{{ | ||
#if: {{{6| | #if: {{{6|}}}| <nowiki>|</nowiki> [[{{{6}}}|<kbd>{{{6}}}()</kbd>]]}}{{ | ||
#if: {{{7| | #if: {{{7|}}}| <nowiki>|</nowiki> [[{{{7}}}|<kbd>{{{7}}}()</kbd>]]}}{{ | ||
#if: {{{8| | #if: {{{8|}}}| <nowiki>|</nowiki> [[{{{8}}}|<kbd>{{{8}}}()</kbd>]]}}{{ | ||
#if: {{{9| | #if: {{{9|}}}| <nowiki>|</nowiki> [[{{{9}}}|<kbd>{{{9}}}()</kbd>]]}}{{ | ||
#if: {{{10| | #if: {{{10|}}}| <nowiki>|</nowiki> [[{{{10}}}|<kbd>{{{10}}}()</kbd>]]}}{{ | ||
#if: {{{11| | #if: {{{11|}}}| <nowiki>|</nowiki> [[{{{11}}}|<kbd>{{{11}}}()</kbd>]]}}{{ | ||
#if: {{{12| | #if: {{{12|}}}| <nowiki>|</nowiki> [[{{{12}}}|<kbd>{{{12}}}()</kbd>]]}}{{ | ||
#if: {{{13| | #if: {{{13|}}}| <nowiki>|</nowiki> [[{{{13}}}|<kbd>{{{13}}}()</kbd>]]}}{{ | ||
#if: {{{14| | #if: {{{14|}}}| <nowiki>|</nowiki> [[{{{14}}}|<kbd>{{{14}}}()</kbd>]]}}{{ | ||
#if: {{{15| | #if: {{{15|}}}| <nowiki>|</nowiki> [[{{{15}}}|<kbd>{{{15}}}()</kbd>]]}}{{ | ||
#if: {{{16| | #if: {{{16|}}}| <nowiki>|</nowiki> [[{{{16}}}|<kbd>{{{16}}}()</kbd>]]}} | ||
</div></includeonly><noinclude> | </div></includeonly> | ||
<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 32: | Line 40: | ||
| {{SeeAlso|my_name|my_id}} | | {{SeeAlso|my_name|my_id}} | ||
|} | |} | ||
[[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 |