WikiIslam:Templates: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 1: Line 1:
Templates are an effective way to save time by reusing/[[WikiIslam:Standardization|standardizing content]]. They are like regular wiki pages except that their page name begins with the keyword "Template:" (e.g. [[Template:Stub]])
Templates are an effective way of [[WikiIslam:Standardization|standardizing content]]. They are like regular wiki pages except that their page name begins with the keyword "Template:" (e.g. [[Template:Stub]])


A Stub template can be included on a stub page (a page that needs more content) by simply inserting <nowiki>{{</nowiki>stub}} on the page. Notice that the keyword (Template:) has been left out and the name of the template page has been surrounded with double curly brackets. Mediawiki calls this a transclusion ([http://www.mediawiki.org/wiki/Transclusion more info]).
A Stub template can be included on a stub page (a page that needs more content) by simply inserting <nowiki>{{</nowiki>stub}} on the page. Notice that the keyword (Template:) has been left out and the name of the template page has been surrounded with double curly brackets. Mediawiki calls this a transclusion ([http://www.mediawiki.org/wiki/Transclusion more info]).
48,466

edits

Navigation menu