Template:Brackets: Difference between revisions
From Wings of Fire: The New World Wiki
m {{tlx}} |
m 1 revision imported: More templates required for infoboxes |
(No difference)
|
Latest revision as of 19:44, 8 July 2024
[[{{{1}}}]]
Template documentation
This template provides way to wrap content in double square brackets.
Examples:
- {{brackets|test}} produces: [[test]]
- {{brackets|test|more}} produces: [[test|more]]
- {{brackets|:ja:山本五十六}} produces: [[:ja:山本五十六]]
Function
Function
This template is a simple wrapper around the [[
and ]]
HTML entities that produce starting and ending double brackets, respectively.
Limitations
The template cannot output just the starting double bracket or just the ending double bracket. You will have to use either [[
or ]]
to achieve this.
See also
- {{Braces}} — to wrap content in double curly brackets
- {{Bracket}} — to wrap content in single square brackets