1,071
edits
Changes
m
→Sample output: Added overflow:auto;
[[Category:Template documentation|{{PAGENAME}}]]
<<noinclude/>/noinclude></includeonly>
<dl>== <dt>Description </dt> ==:<dd>This template is used to do something.</dd>== <dt>Dependencies </dt> ==<!-- delete if N/A -->:<dd>* Uses (some CSS, JS, file, or other template).<!-- delete if N/A -->*Uses for this documentation:**{{t|SPW}} = Wikia specific to link back to original.**{{t|t}} = To show clickable template mentions.**{{t|para}} = To show parameter usage.**{{t|-}} and {{t|Lorem ipsum}} = To format the output of the samples.</dd>
== <dt>Syntax </dt> ==:<dd>Type {{t|{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|param1<!-- delete if N/A -->|namedparam=<!-- delete if N/A -->|style=code}} somewhere.</dd>== =<dt>Parameters</dt>===<dd>*<i>Recommended | Required | Optional</i>: {{para|namedparameter}}*:Your explanation here.*:Default: {{para|namedparameter|<var>value</var>}}</dd>== <dt>Sample output </dt> ==<!-- Use one or the other layout versions below --><!-- /start: For a tabular sample output --><dd>
{| class="wikitable"
|+ Sample output
! Code !! Output
|-
| style="background-color:silver; overflow:auto;" | <code>
<nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki>
</code>
:gives...
| style="background-color:silver; overflow:auto;" |
{{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
|}
</dd>
<!-- /end: For a tabular sample output -->
<!-- /start: For a vertical sample output --><dd><dl>===Sample:1===<dt style="font-family:monospace,Courier; font-weight:normal; border:2px solid teal; border-radius:1em; overflow:auto;"><nowiki>{{</nowiki>{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}<nowiki>|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></dt><dd>gives...</dd><dd style="border:2px solid teal; border-radius:1em; overflow:auto;">{{{{<includeonly>subst:</includeonly>#titleparts:{{<includeonly>subst:</includeonly>PAGENAME}}|1}}|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</dd> </dl></dd><!-- /end: For a vertical sample output --> == <dt>See also </dt> ==<!-- delete if N/A -->:<dd>* [[Template:{{t|<!-- Some other template 's name -->]]}}<!-- delete if N/A -->:* [[<!-- Some other related page -->]]<!-- delete if N/A --></dd> </dl>