Difference between revisions of "Template:Brackets"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tomruen
(add {{{2}}})
m (24 revisions imported)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[<nowiki/>{{{1}}}<nowiki/>]{{{2}}}]<noinclude>
+
[[<nowiki/>{{{1}}}<nowiki/>]{{#if:{{{2|}}}|{{{2}}}}}]<noinclude>
  
 
{{Documentation
 
{{Documentation
 
  | content =
 
  | 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:山本五十六}}
  
 
===See also===
 
===See also===
* {{tl|Braces}}
+
* {{tl|Braces}} — to wrap content in double [[curly brackets]]
* {{tl|Bracket}}
+
* {{tl|Bracket}} — to wrap content in single [[square brackets]]
  
[[Category:Wikipedia character-substitution templates]]
+
[[Category:Character-substitution templates]]
 
}}<!--(end Documentation)-->
 
}}<!--(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