Glorious Wiki readers. We are adding the Midnight Magic video and livestream to the wiki. We appreciate your patience as we process the new and updated information!

Changes

Jump to navigation Jump to search
476 bytes added ,  15:54, 24 October 2017
Add more exemplary text
Line 14: Line 14:     
in any other page, when that page is viewed the text {{box|Hello! Welcome to the wiki.}} will appear instead of <code><nowiki>{{Welcome}}</nowiki></code>. The template content is "embedded" into the other page.
 
in any other page, when that page is viewed the text {{box|Hello! Welcome to the wiki.}} will appear instead of <code><nowiki>{{Welcome}}</nowiki></code>. The template content is "embedded" into the other page.
 +
 +
Suppose it is used in 100 pages. If you then change the template contents to:
 +
<pre>Hi there! Welcome to this wonderful wiki.</pre>
 +
and revisit any of the 100 pages where the template was used, you'll see the new text instead of the original one. In this way, you have changed the content of 100 pages without editing them, because the template is embedded into these pages.
 +
 +
This is the basic mechanism. There are several additional features that make templates very useful.
    
== Parameters ==
 
== Parameters ==
Administrator, Bots, Bureaucrats, curator, Interface administrators, System
62,207

edits

Navigation menu