Changes

Category:Templates

298 bytes added, 10:29, 3 September 2013
Added build-in section transclusion instructions
== IGEP Community Wiki Templates ==
 
Templates is a great MediaWiki feature that allows to use different pages to create the content of a final page.
 
In this page, there is the organization of the templates in the IGEP Community Wiki.
 
Feel free to use, edit and create templates!
 
{{Message/Information Message|message=If you are not familiar with templates, read the [[:Category:Templates#Using templates|introductory section below]].}}
 
 
__TOC__
== Description ==
<section begin=Description />
Available templates for using in IGEP Community articles.
<section end=Description />
List of available == Site Map ==<section begin=Site Map />*[[:Category:Templates]]: Information about how to use the IGEP Community templates **[[Template:Navigation]]: Navigation boxes and indications templates**[[Template:Table]]: Standard tables and contents**[[Template:Message]]: Standard notifications and messages**[[Template:Content]]: Generic and standard content for using in IGEP Community articlesmany pages**[[Template:Links]]:Standard URL and links to external pages<section end=Site Map />
=== Navigation templates ===
Navigation boxes and indications == Using templates:==Templates is a great MediaWiki feature that allows to use different pages to create the content of a final page.
*[[Template:Navigation]]It consists on the creation of a 'master' page, which can include customized parameters, and other pages that include that content in their page code.
In this page, there is the organization of the templates in the IGEP Community Wiki.
=== Table templates === Standard tables and contents: *[[Template:Table]] === Message templates === Standard notifications and messages: *[[Template:Message]]  === Content templates === Generic Feel free to use, edit and standard content for using in many articles: *[[Template:Content]]  === Links create templates === Standard URL and links to external pages: *[[Template:Links]]!
{{Message/Information Message|message=If you are not familiar with templates, visit http://www.mediawiki.org/wiki/Help:Templates .}}
 
 
= Using templates =
 
Templates is an easy way of controlling and duplicating content in many pages simultaneously.
 
It consists on the creation of a 'master' page, which can include customized parameters, and other pages that include that content in their page code.
 
{{Message/Information Message|title=|message=For more information on templates, visit http://www.mediawiki.org/wiki/Help:Templates .}}
=== How to use an existing template ===
<nowiki>{{Name Of The Page|Parameter1=PARAMETER1_CONTENT|Parameter2=PARAMETER2_CONTENT}}</nowiki>
<nowiki>
where:
* PARAMETER1_CONTENT: Description of the content that has to he inserted.
* PARAMETER2_CONTENT: Description of the content that has to he inserted.
</nowiki>
----
=== How to insert a sections from other articles ===
 
<nowiki>{{#lsth:pagename|sectionX}}</nowiki>
 
* For more information visit http://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion
 
=== How to create and insert custom sections from other articles ===
 
In the original article, you must insert these tags:
 
<nowiki>
< section begin=SECTION_NAME />
< section end=SECTION_NAME />
</nowiki>
 
In the article you want to insert the original content, add:
 
<nowiki>
{{#lst:ORIGINAL_ARTICLE_NAME|SECTION_NAME}}
</nowiki>
[[Category:Work in progress]]
[[Category:IGEP Community]]
0
edits