Difference between revisions of "Template:SeeAlso"

From Kolmafia
Jump to navigation Jump to search
 
(3 intermediate revisions 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>
 +
&lt;onlyinclude&gt;{{SeeAlso|}}&lt;/onlyinclude&gt;[[Category:SeeAlso Templates]]
 +
</pre>
  
 
==Example==
 
==Example==
Line 34: Line 41:
 
|}
 
|}
  
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.
+
[[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