Template:B/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 54: | Line 54: | ||
*[[Template:BMC]] | *[[Template:BMC]] | ||
*[[Template:BATTD]] | *[[Template:BATTD]] | ||
*[[Template: | *[[Template:BSM1]] | ||
*[[Template:BSM2]] | *[[Template:BSM2]] | ||
*[[Template:BP]] | *[[Template:BP]] | ||
*[[Template:BCS]] | *[[Template:BCS]] | ||
*[[Template:Series]] | |||
<includeonly>[[Category:Link templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | <includeonly>[[Category:Link templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
Revision as of 20:44, 29 January 2025
A template for simplifying links in [b]rackets to articles with identifiers. 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Base name | 1 | The name of the article before any identifiers in parentheses.
| String | required |
| First identifier | 2 | The first identifier in parentheses.
| String | required |
| Second identifier | 3 | The second identifier in parentheses, if one exists.
| String | optional |
| Third identifier | 4 | The third identifier in parentheses, if one exists. | String | optional |
Example usage
| Wikitext | Output |
|---|---|
{{B|Ninja Monkey|BTD6}}
|
Ninja Monkey |
{{B|Double Shot|BTD6|Ninja Monkey}}
|
Double Shot |