Difference between revisions of "Template:DocParam/Documentation"

From Dream Cancel Wiki
Jump to navigation Jump to search
Line 1: Line 1:
Creates a formatted definition for parameters in Documentation.
Creates a formatted definition for parameters in Documentation.
;Source
;Source
<pre>{{DocParam| left | yes}}</pre>
<pre>{{DocParam| cancel | no}}</pre>
<pre>{{DocParam| image || Image to use for this template. }}</pre>
<pre>{{DocParam| image || Image to use for this template. }}</pre>
<pre>{{DocParam| left | yes | Whether to align the text to the left instead of centered.}}</pre>
;Result
;Result
{{DocParam| left | yes}}
{{DocParam| cancel | no}}
{{DocParam| image || Image to use for this template. }}
{{DocParam| image || Image to use for this template. }}
{{DocParam| left | yes | Whether to align the text to the left instead of centered.}}


<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>

Revision as of 21:06, 16 February 2022

Creates a formatted definition for parameters in Documentation.

Source
{{DocParam| cancel | no}}
{{DocParam| image || Image to use for this template. }}
{{DocParam| left | yes | Whether to align the text to the left instead of centered.}}
Result

| cancel = no | image =

Image to use for this template.

| left = yes

Whether to align the text to the left instead of centered.