Template:Doc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Created page with "{{DisplayBox|title=Documentation|text={{{1|}}} }}")
 
(text= equivalent with 1=)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DisplayBox|title=Documentation|text={{{1|}}} }}
{{DisplayBox|title=Documentation|text={{{1|{{{text|<noinclude>
Displays a box with green background and a centralized title written "Documentation". Useful for documenting other templates.
 
;Syntax
<pre>{{Doc|1=
...
...
...
}}
</pre>
 
Note that {{Para|text}} may be used instead of {{Para|1}}, making the syntax compatible with {{tl|DisplayBox}}.
</noinclude>}}}}}} }}<noinclude>
 
[[Category:Message box templates]]</noinclude>

Latest revision as of 18:45, 15 June 2017

Documentation

Displays a box with green background and a centralized title written "Documentation". Useful for documenting other templates.

Syntax
{{Doc|1=
...
...
...
}}

Note that |text= may be used instead of |1=, making the syntax compatible with {{DisplayBox}}.