Difference between revisions of "Templates - What are templates?"
From Sun Myung Moon Archive
(Created page with "{{Concise}} You can copy templates from other wikis, or also easily make them yourself.<br> For example, suppose you want to start each page with: ''Welcome to Eagle Rock Wik...") |
|||
Line 2: | Line 2: | ||
You can copy templates from other wikis, or also easily make them yourself.<br> | You can copy templates from other wikis, or also easily make them yourself.<br> | ||
− | For example, suppose you want to start each page with: ''Welcome to | + | For example, suppose you want to start each page with:<br> ''Welcome to the Sun Myung Moon archive. Here you find (almost) everything that you want to know about Sun Myung Moon''<br> |
+ | |||
Make a template page on this website with the title: Template:Welcome.<br> | Make a template page on this website with the title: Template:Welcome.<br> | ||
In the text of this page you write the entire welcoming lines. | In the text of this page you write the entire welcoming lines. | ||
+ | |||
In each new page where you want to insert the welcoming text, you write | In each new page where you want to insert the welcoming text, you write | ||
Latest revision as of 06:39, 29 June 2015
You can copy templates from other wikis, or also easily make them yourself.
For example, suppose you want to start each page with:
Welcome to the Sun Myung Moon archive. Here you find (almost) everything that you want to know about Sun Myung Moon
Make a template page on this website with the title: Template:Welcome.
In the text of this page you write the entire welcoming lines.
In each new page where you want to insert the welcoming text, you write
{{Welcome}}
and the template generates the longer welcoming lines.
In the same way you can add code to the template page.
More info: Mediawiki help for templates