What is transclusion?

Q: What is transclusion?


A: Transclusion is a way to use content from one electronic document in another document without having to copy the content. The two documents are connected by hypertext, and when double braces {{ }} are placed around a page name, the software will read it and add the content of that page at that point before continuing with converting the source code of the original page.

Q: How does transclusion work on Wikipedia?


A: On Wikipedia, transclusion is usually used for putting content from a special article called a template into other articles, but it also works for other kinds of articles. When double braces {{ }} are placed around a page name, the software will read it and add the content of that page at that point before continuing with converting the source code of the original page.

Q: What happens if changes are made to an original document?


A: If changes are made to an original document, they will automatically show in any article using transcluded content from that document.

Q: Is there a limit to how many levels of transclusion can be done?


A: Yes, there is a limit to how many levels of transclusion can be done in order to prevent accidental or intentional infinite loops which would cause problems with translating programs.

Q: What do you call referencing when using transclusion?


A: Referencing when using transclusion means naming pages in braces {{ }}, so that their contents can be added at certain points within another document.

Q: Is it possible to exclude parts of a trancluded page?


A: Yes, it is possible to exclude parts of a trancluded page as well as just include part of one like just one section.

Q: Can a trancluded page include other tranclusions? A:Yes, this is called nesting and can be done up until reaching the limit set by preventing accidental or intentional infinite loops which could cause issues with translating programs.

AlegsaOnline.com - 2020 / 2023 - License CC3