Jump to content

User:Lanyon

From Wikipedia, the free encyclopedia

Created 5th June 2005


Today is Saturday, October 5, 2024, 06:29 (UTC/GMT).
There are 6,891,401 articles on the English Wikipedia.
Tip of the moment...
Displaying one page within another = Transclusion

Including the contents of a template page on a different page (by surrounding the page name with double braces, i.e. "{{}}" and leaving out the "Template:" prefix) is called transclusion.

This allows the other page to be automatically updated whenever the template page is updated.

Besides templates, pages in the following namespaces can be transcluded:

  • Category:
  • Help:
  • Portal:
  • User:
  • Wikipedia:

The only difference between transcluding these and templates is that you must include the prefix (followed by a colon) with the page's name inside the double braces.

Images also can be transcluded, but this is done using double square brackets instead of braces.

Here are some examples of transclusion:

{{Pic of the day}} · {{Help:Contents}} · [[Image:Wikipedia-logo.png]]

To add this auto-randomizing template to your user page, use {{totd-random}}
This user loves deadlines. They love the whooshing sound they make as they go by.
This user has never left the Eastern Hemisphere.
This user supports preferential voting as opposed to first-past-the-post.
This user believes it is every citizen's duty to vote.