Jump to content

User:Ciphershort

From Wikipedia, the free encyclopedia
About Me

(Edit this)
Tip of the moment

Tip of the moment...
Transclusion vs. Substitution

There are two main ways to use templates on articles:

  1. Transclusion – also called "inclusion", and accomplished by using {{Template Name}}
  2. Substitution – notated like this {{subst:Template Name}}

Transclusion will include the content of Template Name on the fly whenever the article is loaded, while the latter will permanently insert the content of the template into the article. With substitution, even if the template content is modified at a later date, the article's content will not change.

Substitution is the preferred method for long-term, permanent notices because it is less confusing, and it even helps to lighten the load on the database. Substitution has the further advantage in that a template's content may be de-linked from any associated category or slightly modified to suit the circumstances, such as when the template is used on a talk page. Transclusion is preferred for displaying material that is normally updated, that way, all the places it appears are updated in a single operation.

To add this auto-randomizing template to your user page, use {{totd-random}}
Useful Wikipedia Links
My Sandbox
Templates
This user lives in the
United States
INFThis user is an informatician.
Signpost
Useful Websites