WikiIslam:Templates: Difference between revisions

no edit summary
(Created page with "In a wiki website, templates are great ways to save time by reusing content. They are just like regular pages except that their page name begins with the keyword "Template:". ...")
 
No edit summary
Line 49: Line 49:
* [[Template:Unsigned]] - for IP address users who did not sign their comment on a talk page.
* [[Template:Unsigned]] - for IP address users who did not sign their comment on a talk page.


==Programming in templates==
==Writing Templates==
Wikipedia has many templates that can be used here. Templates can be written using the page title format ''Template:My template''. This template can then be used on a page using this notation: ''<nowiki>{{</nowiki>My template}}''
 
'''Documentation''': As on Wikipedia, documentation for templates can be written on the page: Template:My template/doc, if the code ''<nowiki>{{</nowiki>Documentation}}'' has been included in the template.
 
===Programming in templates===
* [[Template:Qif|Qif]]: A template which allows you to make IF statements, similar to how they're used in programming languages.
* [[Template:Qif|Qif]]: A template which allows you to make IF statements, similar to how they're used in programming languages.
* [[Template:Loop]] - From [http://en.wikipedia.org/wiki/Template:Loop Wikipedia], "This template is used to produce a simple loop that can repeat up to 150 times. It is not a real loop; it works by conditionally repeating the string."
* [[Template:Loop]] - From [http://en.wikipedia.org/wiki/Template:Loop Wikipedia], "This template is used to produce a simple loop that can repeat up to 150 times. It is not a real loop; it works by conditionally repeating the string."
Autochecked users, Bureaucrats, Editors, oversight, recentchangescleanup, Reviewers, rollback, Administrators
19,746

edits