Template:About-canon/doc: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(update modules, remove templatedata)
(typo oooopsie)
 
Line 8: Line 8:


Example usage:
Example usage:
*{{Tlx|About-canon|o}} → {{About-canon|p}}
*{{Tlx|About-canon|p}} → {{About-canon|p}}
*{{Tlx|About-canon|p|n}} → {{About-canon|p|n}}
*{{Tlx|About-canon|p|n}} → {{About-canon|p|n}}
*{{Tlx|About-canon|custom1|custom2}} → {{About-canon|custom1|custom2}}
*{{Tlx|About-canon|custom1|custom2}} → {{About-canon|custom1|custom2}}

Latest revision as of 03:21, 4 January 2022

{{About-canon}} is a hatnote template that

and should be placed at the top of an article (but following {{Short description}}, if present), linking the reader to other articles with similar titles or concepts that they may have been seeking instead. It is similar to {{About}} but takes simplified parameters specific to TSP Encyclopedia.

Example usage:

  • {{About-canon|p}}
  • {{About-canon|p|n}}
  • {{About-canon|custom1|custom2}}

Currently supported shorthand (all case-insensitive): p for Pacifica pages, n or m for NationStates pages, and a for A1-0 pages.

This template automatically detects (from the text in parentheses at the end of the article, if any) whether the current page is about NationStates or which roleplay canon the page is about. One possibly unexpected behavior as a result is that pages not in the article namespace, that have no disambiguator at the end, will be classified as NationStates articles.

Some additional features of {{About}} are also supported. For example:

A |text= option adds text to the end; this should only be used when truly necessary, when the other hatnote templates listed below don't suffice. This template supports |selfref= (see {{self reference}} and MOS:SELFREF for details).

For reference, see wikipedia:Wikipedia:hatnote and documentation below.



Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value).