Difference between revisions of "Template:Doc"

From ChoralWiki
Jump to navigation Jump to search
(text= equivalent with 1=)
 
Line 1: Line 1:
{{DisplayBox|title=Documentation|text={{{1|<noinclude>
+
{{DisplayBox|title=Documentation|text={{{1|{{{text|<noinclude>
 
Displays a box with green background and a centralized title written "Documentation". Useful for documenting other templates.
 
Displays a box with green background and a centralized title written "Documentation". Useful for documenting other templates.
  
Line 9: Line 9:
 
}}
 
}}
 
</pre>
 
</pre>
</noinclude>}}} }}<noinclude>
+
 
 +
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>
 
[[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}}.