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:Transclusion

From Bahaipedia
(Redirected from Bahaipedia:Transclusion)
Jump to:navigation, search

Transclusion is generally the inclusion of the content of a document into another document by reference. In the context of Bahaipedia, it means using the template functionality of MediaWiki to include the same content in multiple documents without having to edit those documents separately.

As an example, consider the page Template:DateToBahai. When the name of that page is placed between double curly braces (like so: {{DateToBahai}}) in the wikitext of a page, it will display the content of that page, like this: 3 Kamál, 182 BE. MediaWiki interprets the double curly braces ( {{ }} ) as syntax for transcluding a page. By using this syntax, you can include the contents of a page anywhere else on a wiki.

See also[edit]

  • Help:Editing
  • Wikipedia on transclusion
Retrieved from "https://bahaipedia.org/index.php?title=Help:Transclusion&oldid=127143"
This page was last edited on 15 November 2023, at 22:28.
Text is available under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Privacy policy
About Bahaipedia
Disclaimers
Powered by MediaWiki