WikiIslam:Templates: Difference between revisions

Jump to navigation Jump to search
m
(One intermediate revision by the same user not shown)
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]).
Line 48: Line 48:
==Links and Navigation==
==Links and Navigation==
* [[Template:Plainlink]] - this makes a plain link to a site without having an arrow graphic ([http://example.com/ &nbsp;])&nbsp; in the way.
* [[Template:Plainlink]] - this makes a plain link to a site without having an arrow graphic ([http://example.com/ &nbsp;])&nbsp; in the way.
* [[Template:Wikipedia]] - links to a named Wikipedia article
* [[Template:Pagetop]] - makes a link to the top of a page
* [[Template:Pagetop]] - makes a link to the top of a page


48,466

edits

Navigation menu