Template:Doc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
(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}}.