Template:BTD6/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Base name", "description": "The name of the article before any identifiers in parentheses.", "example": "Double Shot", "type": "string", "required": true }, "2": { "label": "Second identifier", "description": "The second identifier in parentheses, if one exists.", "example": "Monkey Buccaneer", "type": "string", "required": true }, "3": { "label": "Third identifier", "description..."
 
mNo edit summary
Line 15: Line 15:
"type": "string",
"type": "string",
"required": true
"required": true
},
"3": {
"label": "Third identifier",
"description": "The third identifier in parentheses, if one exists.",
"type": "string"
}
}
},
},

Revision as of 20:29, 29 January 2025

A template for simplifying links in articles with the "(BTD6)" 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 (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
Second identifier2

The second identifier in parentheses, if one exists.

Example
Monkey Buccaneer
Stringrequired

Example usage

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