Difference between revisions of "Template:ComicLink"

From BIONICLEsector01
(Created page with "<includeonly>{{FormattedTitleText|{{{1}}}|type=_link|_color={{{color|}}}}}</includeonly><noinclude> ==Documentation== This template produces nicely formatted links to article...")
 
m (Fix documentation)
Line 12: Line 12:
 
|Text representing the piece of media being cited. It can either be the full article name of the piece of media (such as <code>BIONICLE Legends 1: Island of Doom</code>) or a shortcut indicated on that article with Template:Shortcut (such as <code>BL1</code>).
 
|Text representing the piece of media being cited. It can either be the full article name of the piece of media (such as <code>BIONICLE Legends 1: Island of Doom</code>) or a shortcut indicated on that article with Template:Shortcut (such as <code>BL1</code>).
 
|-
 
|-
|<code>type</code> '''(optional)'''
+
|<code>color</code> '''(optional)'''
 
|The link color.
 
|The link color.
  

Revision as of 23:20, 4 May 2021


Documentation

This template produces nicely formatted links to articles about BIONICLE media by rendering the link text in italics or quotation marks as convention dictates.

Parameters

Parameter Function
(first parameter) Text representing the piece of media being cited. It can either be the full article name of the piece of media (such as BIONICLE Legends 1: Island of Doom) or a shortcut indicated on that article with Template:Shortcut (such as BL1).
color (optional) The link color.

Default: nothing (link has default color)

Examples

  • Passing in an article shortcut: {{FormattedTitleLink|C1}} produces: "The Coming of the Toa"
  • Passing in an article's full name: {{FormattedTitleLink|BIONICLE Glatorian 2: The Fall of Atero}} produces: "The Fall of Atero"
  • Link with custom color: {{FormattedTitleLink|BIONICLE 2: Deep into Darkness|color=#00ff00}} produces: "Deep into Darkness"