Template:B/doc

Revision as of 07:30, 9 July 2025 by Polavux (talk | contribs) (why does no one use these other templates to simplify links even more smh)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template for simplifying links in [b]rackets to articles with identifiers. This should only be used for links that can't be simplified with [[Template:BTD6]], [[Template:BCS]], etc. Note that in the source editor, you can use a feature of MediaWiki called the pipe trick to simplify links without this template — writing "[[Dart Monkey (BTD6)|]]" with a pipe and nothing after it automatically expands the text to "[[Dart Monkey (BTD6)|Dart Monkey]]" when the page is saved.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Base name1

The name of the article before any identifiers in parentheses.

Example
Double Shot
Stringrequired
First identifier2

The first identifier in parentheses.

Example
BTD6
Stringrequired
Second identifier3

The second identifier in parentheses, if one exists.

Example
Ninja Monkey
Stringoptional
Third identifier4

The third identifier in parentheses, if one exists.

Stringoptional

Example usage

Wikitext Output
{{B|Ninja Monkey|BTD6}}
Ninja Monkey
{{B|Double Shot|BTD6|Ninja Monkey}}
Double Shot

See also