Bahaipedia
Bahaipedia
Menu
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Help page
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Learn more
Core topics
Bahá’í Faith
Central Figures
Teachings
Practices
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Translations

Help:Template

From Bahaipedia
Jump to:navigation, search
Bahaipedia features
General
Overview
Accounts • Namespaces
Categorization
Editing
Editing articles
Edit summaries
Disambiguation
MediaWiki features
Categories • Media
Templates • VisualEditor
Referencing
Footnotes
Shortened footnotes
Citation style

A template is a way of automatically inserting some kind of content into a page. Inserting content in this way is called transclusion. For example, the {{DateToBahai}} template, located at the page Template:DateToBahai, will insert the current date according to the Bahá’í calendar. To transclude it in a page, you could add the following wikitext:

{{DateToBahai}}

Then, when the page is loaded, the server will replace the template's wikitext with its resulting output:

10 ‘Izzat, 182 BE

Although all templates are contained in the Template: namespace, transclusion works with many other types of pages, not just templates.

Citation templates[edit]

Main page: Bahaipedia:Citing sources

Along with the citation style templates that are common on Wikipedia ({{cite web}}, {{cite book}}, and the like), Bahaipedia also offers templates that easily produce citations from a number of commonly cited periodicals and publications. These include The Bahá’í World ({{citebw}}), Bahá’í News ({{citebn}}), Star of the West ({{citesw}}), Lights of Guidance ({{citelog}}), and more.

Citations to periodicals will automatically create a link to the source page (both text and pdf) on bahai.works, as well as display some information like publisher and publication date.

See also[edit]

  • Help:Templates at mediawiki.org
Retrieved from "https://bahaipedia.org/index.php?title=Help:Template&oldid=142157"
Categories:
  • Bahaipedia help
  • Bahaipedia templates
This page was last edited on 3 May 2025, at 02:10.
Text is available under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Privacy policy
About Bahaipedia
Disclaimers
Powered by MediaWiki