Template:Doc-inline
More actions
It is recommended in most cases to create documentation on a subpage and include it with the template {{documentation}}. The template {{doc-inline}} is intended mostly for short documentation.
This template displays the content of the first unnamed parameter in a green box like you are seeing here.
Usage
Just write {{doc-inline|Text of documentation}} (instead of Text of documentation write the text your want).
If your text contains the equal sign (=), write instead {{doc-inline|1=Text of documentation}} or replace each equal sign with {{=}}.
Do not forget to add categories below. If it is a template documentation, the template {{doc-inline}} and the categories must be inside <noinclude>.
Examples
<noinclude>{{doc-inline|To be? Or not to be? It is a question.
William Shakespeare. Hamlet}}
[[Category:William Shakespeare]]
</noinclude><noinclude>{{doc-inline|1=E=mc²}}
[[Category:Albert Einstein]]
</noinclude><noinclude>{{doc-inline|E{{=}}mc²}}
[[Category:Albert Einstein]]
</noinclude>
See also
{{Documentation}}