Template:Sup: Difference between revisions

From the Logical Languages Wiki
Jump to navigation Jump to search
(Created page with "<noinclude><div style="border: 1px solid black; background-color: #fafafa; padding: 1em;"> '''Superscript''' This template has a couple special behaviors: # automatically ad...")
 
m (Maiku moved page Portal/Template:Sup to Template:Sup without leaving a redirect)
 
(No difference)

Latest revision as of 14:27, 11 April 2020

Superscript

This template has a couple special behaviors:

  1. automatically adds [...] around the supplied text to be superscripted
  2. if a second parameter is given, automatically creates a link without the need for [[...]]

If you need a different sort of superscript behavior, simply use html <sup>...</sup>

Parameters:

1
if parameter2 is not given, then text to be superscripted in brackets, otherwise a wiki page name to be linked
2
if given, anchor text to be superscripted in brackets

base_text[]