Jump to content

Help:Templates: Difference between revisions

m
Text replacement - "Saintapedia" to "USApedia"
m (Text replacement - "Saintapedia" to "USApedia")
 
Line 1: Line 1:
{{Nutshell|A wiki page in which contents can be displayed in other locations around the wiki. This allow an editor to make a change once and have the changes appear numerous places throughout the wiki.}}{{Banner|See the [[Help:Template directory|list of templates on Saintapedia]] or [[mediawikiwiki:Help:Templates|Help:Templates on MediaWiki]] for full documentation on templates.}}
{{Nutshell|A wiki page in which contents can be displayed in other locations around the wiki. This allow an editor to make a change once and have the changes appear numerous places throughout the wiki.}}{{Banner|See the [[Help:Template directory|list of templates on USApedia]] or [[mediawikiwiki:Help:Templates|Help:Templates on MediaWiki]] for full documentation on templates.}}
{{#ev:YouTube|https://www.youtube.com/watch?v=IJ4BM5MFXmc|400|right|Introduction to templates}}
{{#ev:YouTube|https://www.youtube.com/watch?v=IJ4BM5MFXmc|400|right|Introduction to templates}}
{{#ev:YouTube|https://www.youtube.com/watch?v=SsLahlGX0Ls|400|right|Basic formatting of templates}}
{{#ev:YouTube|https://www.youtube.com/watch?v=SsLahlGX0Ls|400|right|Basic formatting of templates}}
{{#ev:YouTube|https://www.youtube.com/watch?v=X0QD5HT2qgc|400|right|Introduction to template variables}}{{Help Box}}
{{#ev:YouTube|https://www.youtube.com/watch?v=X0QD5HT2qgc|400|right|Introduction to template variables}}{{Help Box}}
A '''template''' is a Saintapedia page created to be included in other pages. Templates usually contain repetitive material that might need to show up on any number of articles or pages. They are commonly used for Boilerplate messages, standard warnings or notices, [[Template:Infobox|infoboxes]], [[Template:Navbox|navigational boxes]] and similar purposes.
A '''template''' is a USApedia page created to be included in other pages. Templates usually contain repetitive material that might need to show up on any number of articles or pages. They are commonly used for Boilerplate messages, standard warnings or notices, [[Template:Infobox|infoboxes]], [[Template:Navbox|navigational boxes]] and similar purposes.


The most common method of inclusion is called [[Wikipedia:Transclusion|transclusion]], where the wikitext of the target page contains a reference to the template, using the <code><nowiki>{{Template name}}</nowiki></code> syntax.   
The most common method of inclusion is called [[Wikipedia:Transclusion|transclusion]], where the wikitext of the target page contains a reference to the template, using the <code><nowiki>{{Template name}}</nowiki></code> syntax.   
Line 40: Line 40:


== Gardening ==
== Gardening ==
See [[Saintapedia:Maintenance]] for a list of gardening templates.
See [[USApedia:Maintenance]] for a list of gardening templates.


==Template Sandbox==
==Template Sandbox==
The [[:Template:Test|Test Template]] was specifically created for [[Saintapedians]] to to test out ideas and functionality.
The [[:Template:Test|Test Template]] was specifically created for [[USApedians]] to to test out ideas and functionality.


==Noinclude, includeonly, and onlyinclude==
==Noinclude, includeonly, and onlyinclude==
Line 108: Line 108:
Other icons can be found in the [[:category:icons | icons]] category.
Other icons can be found in the [[:category:icons | icons]] category.


{{Saintapedia}}
{{USApedia}}


== References ==
== References ==