Changes

Category:Templates

241 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 />
==Site Map = Templates === 
<section begin=Site Map />
*[[:Category:Templates]]: Information about how to use the IGEP Community templates
<section end=Site Map />
= Using templates =
== Using templates ==Templates is an easy way a great MediaWiki feature that allows to use different pages to create the content of controlling and duplicating content in many pages simultaneouslya final page.
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. Feel free to use, edit and create templates! {{Message/Information Message|title=|message=For more information on If you are not familiar with 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