Difference between revisions of "Help:Templates"
From LFS Manual
Jump to navigationJump to search (Created page with "== Creating a template == To create a new template, create a new page under the [https://en.lfsmanual.net/wiki/Special:AllPages?from=&to=&namespace=10 Template namespace], e....") |
m |
||
Line 12: | Line 12: | ||
Check the [[LFS Manual:Template index|template index]] for a list of all useable templates for LFS Manual. | Check the [[LFS Manual:Template index|template index]] for a list of all useable templates for LFS Manual. | ||
+ | |||
+ | [[Category:Help]] |
Latest revision as of 13:16, 25 January 2024
Creating a template
To create a new template, create a new page under the Template namespace, e.g. Template:Welcome.
Paste the following wikitext into the template content. This will automatically include a /doc subpage in a special documentation box. Then you can edit the template content inside the <includeonly>
tags.
<includeonly>Welcome!</includeonly><noinclude>{{documentation}}</noinclude>
Using templates
https://www.mediawiki.org/wiki/Help:Templates
Check the template index for a list of all useable templates for LFS Manual.