Template:BATTD
Jump to navigation
Jump to search
A template for simplifying links in articles with the "(BATTD)" identifier. 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 (BATTD)|]]" with a pipe and nothing after it automatically expands the text to "[[Dart Monkey (BATTD)|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 |
| Second identifier | 2 | The second identifier in parentheses, if one exists.
| String | optional |
Example usage
| Wikitext | Output |
|---|---|
{{BATTD|Fireball}}
|
Fireball |
{{BATTD|Fireball|Monkey Apprentice}}
|
Fireball |