Jump to content

User:Jks313

From Wikipedia, the free encyclopedia

This is a TEST Page

[edit]

The (whole) contents of one page can be placed onto another page via a process called transclusion (comparable to calling a subroutine facility). If a page is specially intended for this purpose it is called a template.

Expansion is at page view time [1] unless substitution is applied, in which case the expanded wikitext is saved. The wikitext for the parameter name is expanded, further see the parameter section.

This page and its extension Help:Advanced templates provide a reference manual on templates in MediaWiki. See also m:User:Happy-melon/Templates. For an introduction, see A quick guide to templates and mw:Help:Templates. For syntax often used within templates, see Help:Parser function, Help:ParserFunctions and other "Advanced functioning" help pages listed below.

Note: The master version of this page is the page m:Help:Template on Meta-Wiki; template demos work there, but may not work if you are viewing a copy of this page on another project.

General

[edit]

The template namespace is the namespace with prefix "Template:" (this prefix can be used in all languages, but the canonical prefixes in languages other than English include Vorlage, Modèle, Sjabloon, with colon; the site WikiFAQ calls it Snippet).

With Special:ExpandTemplates one can view the expanded wikitext a template call produces, as intermediate step toward rendering. The same is also produced with a URL like //en.wikipedia.org/w/index.php?title=User:Jks313&action=raw&templates=expand.

Talk pages

[edit]

Even if a template is intended for use on talk pages, the template page should not be put in a talk namespace, because there would be no page for discussing it. If it is for general use it is often put as usual in the template namespace, see e.g. Wikipedia:Talk page templates and Wikipedia:Template messages/User talk namespace. An auxiliary template for personal use for a user talk page can best be put in a subpage of the user page, not one of the user talk page, for example "User:Abc/Talk intro" rather than "User talk:Abc/Intro"; this allows discussion of the template at "User talk:Abc/Talk intro".

Talk pages

[edit]

Even if a template is intended for use on talk pages, the template page should not be put in a talk namespace, because there would be no page for discussing it. If it is for general use it is often put as usual in the template namespace, see e.g. Wikipedia:Talk page templates and Wikipedia:Template messages/User talk namespace. An auxiliary template for personal use for a user talk page can best be put in a subpage of the user page, not one of the user talk page, for example "User:Abc/Talk intro" rather than "User talk:Abc/Intro"; this allows discussion of the template at "User talk:Abc/Talk intro".

Talk pages

[edit]

Even if a template is intended for use on talk pages, the template page should not be put in a talk namespace, because there would be no page for discussing it. If it is for general use it is often put as usual in the template namespace, see e.g. Wikipedia:Talk page templates and Wikipedia:Template messages/User talk namespace. An auxiliary template for personal use for a user talk page can best be put in a subpage of the user page, not one of the user talk page, for example "User:Abc/Talk intro" rather than "User talk:Abc/Intro"; this allows discussion of the template at "User talk:Abc/Talk intro".

Talk pages

[edit]

Even if a template is intended for use on talk pages, the template page should not be put in a talk namespace, because there would be no page for discussing it. If it is for general use it is often put as usual in the template namespace, see e.g. Wikipedia:Talk page templates and Wikipedia:Template messages/User talk namespace. An auxiliary template for personal use for a user talk page can best be put in a subpage of the user page, not one of the user talk page, for example "User:Abc/Talk intro" rather than "User talk:Abc/Intro"; this allows discussion of the template at "User talk:Abc/Talk intro".

ORBI ORBD ORAA ORXX
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
row 3, cell 1 row 3, cell 2 row 3, cell 3 row 3, cell 4
row 4, cell 1 row 4, cell 2 row 4, cell 3 row 4, cell 4
row 5, cell 1 row 5, cell 2 row 5, cell 3 row 5, cell 4
  1. ^ Actually, for efficiency the result of the expansion may be cached and reused. The point is that when viewing the page after a change of the template, we see the new version of the page.