Difference between revisions of "Template:Brackets"

From blackwiki
Jump to navigation Jump to search
blackwiki>Addbot
m (Bot: Migrating interwiki links, now provided by Wikidata on d:q14396321)
m (24 revisions imported)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[<nowiki/>{{{1}}}<nowiki/>]]<noinclude>
+
[[<nowiki/>{{{1}}}<nowiki/>]{{#if:{{{2|}}}|{{{2}}}}}]<noinclude>
{{documentation|content=
+
 
 +
{{Documentation
 +
| content =
 +
 
 +
This template provides way to wrap content in double [[square brackets]].
 +
 
 
Examples:
 
Examples:
 
*<nowiki>{{brackets|test}}</nowiki> produces: {{brackets|test}}
 
*<nowiki>{{brackets|test}}</nowiki> produces: {{brackets|test}}
 +
*<nowiki>{{brackets|test|more}}</nowiki> produces: {{brackets|test|more}}
 
*<nowiki>{{brackets|:ja:山本五十六}}</nowiki> produces: {{brackets|:ja:山本五十六}}
 
*<nowiki>{{brackets|:ja:山本五十六}}</nowiki> produces: {{brackets|:ja:山本五十六}}
}}
 
[[Category:Wikipedia formatting and function templates]]
 
  
 +
===See also===
 +
* {{tl|Braces}} — to wrap content in double [[curly brackets]]
 +
* {{tl|Bracket}} — to wrap content in single [[square brackets]]
 +
 +
[[Category:Character-substitution templates]]
 +
}}<!--(end Documentation)-->
 
</noinclude>
 
</noinclude>

Latest revision as of 09:06, 30 September 2020

[[{{{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:山本五十六]]

See also