Help:Templates: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{hatnote|This article is a technical guide to the use of templates on BG3Wiki. For a guide on how to use templates, see [[Help:Using templates]].}}
{{hatnote|This article is a technical guide to the use of templates on BG3Wiki. For a guide on how to use templates, see [[Help:Using templates]].}}
A '''Template''' is a special type of page designed to be transcluded within other pages. Templates allow editors to automatically insert frequently-used images, code, and formatting on a page. We use templates extensively on BG3Wiki, as they allow the use of easily accessible and consistent design, layout and formatting.
A '''Template''' is a special type of page designed to be transcluded within other pages. Templates allow editors to automatically insert frequently-used images, code, and formatting on a page. We use templates extensively on BG3Wiki, as they allow the use of easily accessible and consistent design, layout and formatting.
== Template creation ==
=== Template documentation ===
{{hatnote|See also: [[Help: Template documentation]]}}
Template creators are encouraged to document (on the template's page itself as well as via the TemplateData button on the same page) how to use that template, including usage examples and accepted values for any template parameters. If you're unfamiliar with a particular template, navigate to its page to learn how it works. If a template page does not show any usage instructions, it could still be a work in progress, and you may want to check with its creator before using it.
See [https://bg3.wiki/wiki/Special:AllPages?namespace=10 All Pages (Template namespace)] for a full list of available templates on bg3.wiki.


== See also ==
== See also ==