Template:SeeAlso: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
No edit summary
 
(19 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}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{2|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{2}}}|<kbd>{{{2}}}&#040;&#041;</kbd>]]}}{{
  #if: {{{3|}}}|&nbsp;<nowiki>|</nowiki>&nbsp;[[{{{3}}}|<kbd>{{{3}}}&#040;&#041;</kbd>]]}}{{
  #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>
Adds a "See Also" section for referencing similar functions (takes up to 12 parameters).
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==
 
{| 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>
<includeonly>
<h2>See Also</h2><div style="border: dashed 1px green; margin: 0.2em; padding: 1em; width=75%; background-color: #fff8dc;">
<center>
[[{{{1|}}}&#040;&#041;]]{{#if: {{{2|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{2}}}&#040;&#041;]]}}{{#if: {{{3|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{3}}}&#040;&#041;]]}}{{#if: {{{4|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{4}}}&#040;&#041;]]}}{{#if: {{{5|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{5}}}&#040;&#041;]]}}{{#if: {{{6|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{6}}}&#040;&#041;]]}}{{#if: {{{7|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{7}}}&#040;&#041;]]}}{{#if: {{{8|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{8}}}&#040;&#041;]]}}{{#if: {{{9|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{9}}}&#040;&#041;]]}}{{#if: {{{10|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{10}}}&#040;&#041;]]}}{{#if: {{{11|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{11}}}&#040;&#041;]]}}{{#if: {{{12|}}}|&nbsp;&nbsp;<nowiki>|</nowiki>&nbsp;&nbsp;[[{{{12}}}&#040;&#041;]]}}
</center></div>
</includeonly>

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