Template:Documentation: Difference between revisions

From MediaWiki-1.39
Jump to navigation Jump to search
(Created page with "<!--T:4--> The simplest use of templates is as follows: Create a page called <tvar name=1><code>Template:Welcome</code></tvar> with the content below: </translate> <translate><!--T:5--> Hello! Welcome to the wiki.</translate> <translate> <!--T:6--> You have created your first template! Now, insert the code below in a new page: </translate>")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--T:4-->
The simplest use of templates is as follows: Create a page called <tvar name=1><code>Template:Welcome</code></tvar> with the content below:
</translate>


<translate><!--T:5--> Hello! Welcome to the wiki.</translate>
<div style="padding: 10px; background: #f0f0f0; border: 1px solid #aaa; margin-bottom: 1em;">
'''This is a documentation subpage.''' It contains usage information, categories, and other content that is not part of the original template page.
</div>


<translate>
<p> include the docs with /docs </p>
<!--T:6-->
 
You have created your first template! Now, insert the code below in a new page:
<noinclude>
</translate>
[[Category:Templates]]
</noinclude>

Latest revision as of 15:55, 22 January 2026

This is a documentation subpage. It contains usage information, categories, and other content that is not part of the original template page.

include the docs with /docs