About templates: Difference between revisions
From ISSS Wiki
More actions
Created page |
m Infos about available templates |
||
| Line 1: | Line 1: | ||
===What are templates=== | ===What are templates=== | ||
MediaWiki templates are essentially pre-formatted pieces of text that can be included in other | MediaWiki templates are essentially pre-formatted pieces of text that can be included in other pages. They are designed to be transcluded (embedded) inside other pages. | ||
* Creation: You create a page in the “Template” namespace. For example, you might create a page called “Template:Welcome” with the contents: "Hello! Welcome to the wiki." | * '''Creation''': You create a page in the “Template” namespace. For example, you might create a page called “Template:Welcome” with the contents: "Hello! Welcome to the wiki.". | ||
* Usage: You can then insert this template into any other page using the code { {Welcome}} (without the spaces). When that page is viewed, the text “Hello! Welcome to the wiki.” will appear instead of { {Welcome}}. This is called "transclusion" | * '''Usage'''<nowiki>: You can then insert this template into any other page using the code { {Welcome}} (without the spaces). When that page is viewed, the text “Hello! Welcome to the wiki.” will appear instead of { {Welcome}}. This is called "transclusion".</nowiki> | ||
* Modification: If you change the content of the template, it will automatically update on all the pages where the template is used. For example, if you change “Template:Welcome” to say “Hi there! Welcome to this wonderful wiki.”, all pages using { {Welcome}} will now display the new | * '''Modification'''<nowiki>: If you change the content of the template, it will automatically update on all the pages where the template is used. For example, if you change “Template:Welcome” to say “Hi there! Welcome to this wonderful wiki.”, all pages using { {Welcome}} will now display the new message.</nowiki> | ||
=== Templates that can be used === | |||
Click on the different templates to view them and see the available variables. | |||
* [[ISSS President]] | |||
* [[Template:ISSS Member|ISSS_Member]] | |||
* [[Template:ISSS BoardMember|ISSS_BoardMember]] | |||
Those templates can be used to present different types of '''ISSS Wiki''' users. Depending of the user, use the corresponding template. | |||
* [[Template:ISSS Conference|ISSS_Conference]] | |||
Describes conferences or events about ISSS. | |||
* [[Template:Systems Book|Systems_Book]] | |||
* [[Template:Systems BookChapter|Systems_BookChapter]] | |||
With those templates, you can create pages about books and their chapters. | |||
* [[Template:Systems JournalArticle|Systems_JournalArticle]] | |||
Describes an article, can be used to describes any kind of papers, reviews, news... | |||
* [[Template:Systems Software|Systems_Software]] | |||
Describes a software. | |||