FamilySearch Wiki:Template namespace: Difference between revisions

m
set {{Disambig}} category= <blank>
(Created page with '{{namespaces}} == Introduction to templates == Templates often look like text boxes with a different background color from that of normal text. They are in the [[FamilySearch WI…')
 
m (set {{Disambig}} category= <blank>)
Line 6: Line 6:
For example, consider the template <tt>'''[[Template:Disambig]]'''</tt> (follow the link to see the page where it can be edited). To insert the template's content into an article, type <code><nowiki>{{Disambig}}</nowiki></code> in the wiki page ("<nowiki>{{Disambig}}</nowiki>" is called a ''template tag''). Every article with that tag in it will display the following text:
For example, consider the template <tt>'''[[Template:Disambig]]'''</tt> (follow the link to see the page where it can be edited). To insert the template's content into an article, type <code><nowiki>{{Disambig}}</nowiki></code> in the wiki page ("<nowiki>{{Disambig}}</nowiki>" is called a ''template tag''). Every article with that tag in it will display the following text:


{{Disambig|nocat=true}}
{{Disambig|category=}}


This technique is commonly known as '''{{wpd|transclusion}}'''. Templates can also include calculated and substituted elements, as well as [[parameter]]s, allowing for complex usage. For a table of some useful templates, see [[FamilySearch WIki:Template messages]]. For detailed templating documentation see [[Help:Template]].
This technique is commonly known as '''{{wpd|transclusion}}'''. Templates can also include calculated and substituted elements, as well as [[parameter]]s, allowing for complex usage. For a table of some useful templates, see [[FamilySearch WIki:Template messages]]. For detailed templating documentation see [[Help:Template]].
90,866

edits