Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

About templates: Difference between revisions

From ISSS Wiki
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 pages1. They are designed to be transcluded (embedded) inside other pages2. Here’s a simple explanation:
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."2.
* '''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"2.
* '''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 message2.
* '''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.