terraria>Westgrass |
en>Shirayuki |
Line 1: |
Line 1: |
| <includeonly><!--
| | {{((}}[[Template:{{{1}}}|{{{1}}}]]{{))}}<noinclude> |
| | | {{documentation}} |
| -->{{#if:{{bool|{{{code|}}}}}|<code>}}<!--
| | <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> |
| | |
| -->{{(}}<!--
| |
| -->{{#uesc:{{#rmatch:{{{1|}}}|^#(\s*(\w+?)\s*)(:(.*)${{!}}$)|<esc><!--
| |
| // parser functions
| |
| -->{{#vardefine:tl:parserf_link|}}<!--
| |
| -->{{#vardefine:tl:parserf_link|{{tl/parser function links|$2}}}}<!-- get link to doc page
| |
| --><nowiki/>#<!--
| |
| -->{{#if:{{bool|{{{nl|}}}}}{{#if:{{#var:tl:parserf_link}}||y}}|<!--
| |
| --><span title="#$1:">$1</span><!--
| |
| -->|<!--
| |
| --><span class=plainlinks>[{{tl/parser function links|$2}}##$2 $1]</span><!--
| |
| -->}}<!--
| |
| -->:$4<!--
| |
| --></esc>|<!--
| |
| // templates
| |
| -->{{#if:{{bool|{{{nl|}}}}}{{ifexists|Template:{{{1}}}|3=n}}|<!--
| |
| --><span title="{{ns:Template}}:{{ucfirst:{{{1}}}}}">{{{1}}}</span><!--
| |
| -->|<!--
| |
| -->[[Template:{{{1}}}|{{{1}}}]]<!--
| |
| -->}}<!--
| |
| -->}}}}<!--
| |
| -->{{#or:<!--
| |
| -->{{#dplreplace:{{{__paramslist|}}}|/₪/|{{!}}}}<!--
| |
| -->|<!--
| |
| -->{{#fornumargs:k|v|<!--
| |
| -->{{#ifexpr:{{#var:k}}!=1|<!-- skip first parameter
| |
| -->{{!}}{{#var:v}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->{{)}}<!--
| |
| | |
| -->{{#if:{{bool|{{{code|}}}}}|</code>}}<!--
| |
| | |
| --></includeonly><!--
| |
| | |
| --><noinclude>{{doc}} | |
| {{category|Formatting templates}}
| |
| {{language info|en=Template:Tl}}
| |
| </noinclude> | | </noinclude> |
Revision as of 04:13, 26 February 2022
{{[[Template:{{{1}}}|{{{1}}}]]}}
Used to create documentation for templates
Usage
There are two ways to use this template.
1. Add to the bottom of your template:
<noinclude>{{doc}}<noinclude>
Then click on the "Create" link to get started with your documentation.
2. Include the documentation directly in the template (not preferred method):
<noinclude>{{doc|text=
Documentation text
==Usage==
How to use the template, etc.
}}<noinclude>