Template:SeeAlso: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><h2>See Also</h2>
<h2>See Also</h2><div style="border: dashed 1px green; margin: 0.2em; padding: 1em; width=75%; background-color: #fff8dc;">
<div style="border: dashed 1px green; margin: 0.2em; padding: 1em; background-color: #fff8dc; text-align: center;">
<center>
{{#if: {{{1|}}}|[[{{{1}}}|<kbd>{{{1}}}&#040;&#041;</kbd>]]}}{{
{{#if: {{{1|}}}|[[{{{1}}}|{{{1}}}&#040;&#041;]]}}{{#if: {{{2|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{2}}}|{{{2}}}&#040;&#041;]]}}{{#if: {{{3|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{3}}}|{{{3}}}&#040;&#041;]]}}{{#if: {{{4|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{4}}}|{{{4}}}&#040;&#041;]]}}{{#if: {{{5|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{5}}}|{{{5}}}&#040;&#041;]]}}{{#if: {{{6|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{6}}}|{{{6}}}&#040;&#041;]]}}{{#if: {{{7|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{7}}}|{{{7}}}&#040;&#041;]]}}{{#if: {{{8|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{8}}}|{{{8}}}&#040;&#041;]]}}{{#if: {{{9|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{9}}}|{{{9}}}&#040;&#041;]]}}{{#if: {{{10|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{10}}}|{{{10}}}&#040;&#041;]]}}{{#if: {{{12|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{12}}}|{{{12}}}&#040;&#041;]]}}{{#if: {{{12|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{12}}}|{{{12}}}&#040;&#041;]]}}{{#if: {{{13|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{13}}}|{{{13}}}&#040;&#041;]]}}{{#if: {{{14|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{14}}}|{{{14}}}&#040;&#041;]]}}{{#if: {{{15|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{15}}}|{{{15}}}&#040;&#041;]]}}{{#if: {{{16|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{16}}}|{{{16}}}&#040;&#041;]]}}
  #if: {{{2|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{2}}}|<kbd>{{{2}}}&#040;&#041;</kbd>]]}}{{
</center></div>
  #if: {{{3|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{3}}}|<kbd>{{{3}}}&#040;&#041;</kbd>]]}}{{
</includeonly>
  #if: {{{4|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{4}}}|<kbd>{{{4}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{5|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{5}}}|<kbd>{{{5}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{6|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{6}}}|<kbd>{{{6}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{7|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{7}}}|<kbd>{{{7}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{8|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{8}}}|<kbd>{{{8}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{9|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{9}}}|<kbd>{{{9}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{10|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{10}}}|<kbd>{{{10}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{11|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{11}}}|<kbd>{{{11}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{12|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{12}}}|<kbd>{{{12}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{13|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{13}}}|<kbd>{{{13}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{14|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{14}}}|<kbd>{{{14}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{15|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{15}}}|<kbd>{{{15}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{16|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{16}}}|<kbd>{{{16}}}&#040;&#041;</kbd>]]}}
</div></includeonly>
<noinclude>
<noinclude>
<p>Adds a "See Also" section for referencing similar functions (takes up to 16 parameters). Do '''not''' include the parentheses.</p>
Adds a "See Also" section for referencing similar functions (takes up to 16 parameters). Do '''not''' include the parentheses.
<p>The following is example of how to call this template:</p>
 
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>
<pre>
{{SeeAlso|my_name|my_id}}
&lt;onlyinclude&gt;{{SeeAlso|}}&lt;/onlyinclude&gt;[[Category:SeeAlso Templates]]
</pre>
</pre>
<p>Which would produce:</p>
 
{{SeeAlso|my_name|my_id}}
==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