0
edits
Changes
Added build-in section transclusion instructions
==Description = Navigation templates =<section begin=Description />Available templates for using in IGEP Community articles.<section end=Description />
== 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 many pages**[[Template:Links]]: Standard URL and links to external pages<section end=Site Map />
== Using templates ==
Templates is a great MediaWiki feature that allows to use different pages to create the content of a final page.
=== How to use an existing template ===
=== How to create a new template ===
#Visit the main Templates page at [[:Category:Templates]].#Check of any '''existing related templates''' to make sure if there actually exists a template that could be used in your case.#If not, start a new template following this steps:##Decide which of '''category fits better''' with your template: Message, Navigation, Table, Content.##Start the new template using '''Templates:CATEGORY/ as the prefix of your Template title''' (for example: Templates:Message/<Name of your template>). This will make it easier to locate existing templates for other users when listing the existing templates by name.##Complete the title of your Template with the name. Use capitalized letters for the first letter of each word. (for example: Templates:Message/Setup Warning).##Create your article. If you wish to use parameters, you can create by using <nowiki>{{{Your_Parameter}}}</nowiki>.##When you finish your work in progress, return to the corresponding summary page (for example at Templates:Message, if you picked the Message category) and add a new entry so that users can find your template and use it. Coming soon!)
Copy paste the following code to the summary page and fill it with the right content, so that other users can easily use your template in the future:
=== TITLE ===
'''Description''':
Copy the following text line in your article:
<nowiki>{{#lst:PAGEName Of The Page|SECTIONParameter1=PARAMETER1_CONTENT|Parameter2=PARAMETER2_CONTENT}}</nowiki>
where:
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]]