Template:Documentation/doc: Difference between revisions

m
12 revisions imported: Import from https://sims.wikia.com
sims>K6ka
(Created page with " ==Description== This template is used to insert descriptions on template pages. ==Syntax== Add <code><nowiki><noinclude></nowiki>{{t|documentation}}<nowiki></noinclude></now...")
m (12 revisions imported: Import from https://sims.wikia.com)
 
(4 intermediate revisions by 2 users not shown)
Line 13:
<pre>
TEMPLATE CODE<includeonly>Any categories to be inserted into articles by the template</includeonly><noinclude>
{{documentation}}</noinclude>
Any categories for the template itself</noinclude>
</pre>
 
Line 24 ⟶ 25:
 
<pre>
 
==Description==
This template is used to do something.
Line 37 ⟶ 39:
{{templatename|input}}
 
<includeonly>Any categories for the template itself</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
</pre>
 
Line 43 ⟶ 45:
 
Note that the above example also uses the [[Template:T]] and [[Template:T/piece]] templates.
 
{{Important note|When beginning a /doc page with a heading, remember to add a line break between the start of the page and the first heading. Failing to do otherwise may break the heading, resulting in the raw wikitext of the heading being displayed.}}
 
==Credits==
This template's code was taken from [[wikia:w:c:k6ka:Template:Documentation|Template:Documentation]] on K6ka's Wiki on Wikia.
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>