Template:Inlineref

Template page
Revision as of 22:54, 26 January 2021 by Joe Beaudoin Jr. (talk | contribs) (Created page with "<includeonly><span id="{{{1}}}">{{#switch:{{{bold}}} | N={{{2|{{{1}}}}}} | Y='''{{{2|{{{1}}}}}}''' | #default='''{{{2|{{{1}}}}}}'''}}</span></includeonly><noinclude> = Documen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation

To be used for terms defined in such lists as List of terms or articles with sub-lists (e.g. Stargate), et al. Basically acts as an anchor, so that redirects can bring the user to the right term, instead of the section that term is in -- if applicable.

Usage

{{inlineref
|ID
|Term
|bold=
}}

Required parameters

  • 1: (ID) The short, unique id for the term so that it can be passed off as a link, which should not have spaces. If you need a space between two words, use the underscore character (_). For example, Encyclopedia Galactica has a term for "Cygnus", with the id of "Cygnus", which can be linked to in other article like so:
    [[Stargate#Stargate 4|Stargate 4]]
  • 2: (Term) The term you are defining. This can have spaces.

Optional parameters

  • bold: Turns on or off the option for the term to be bold faced. By default, the term is boldfaced.
    • To turn off the boldface, simply add N (uppercase "n") to the template