ml ml ml en ml ml ml el en en en en en ml en en en en en en ta en en hi ca en en en zh en en en en en ml ml en en en ml en en en ml en en en en en en ml en en en en en en en en en en ml en ml en en ml en ml en ml en ml en ml ml en en en en en en en en en en en en en en ml en en en en en en ml en en en en en en en en en en en en en en en en en en en en ml en en fr ml en en en en en en en en en en en en vi en en en en en en en en ko fr ml en en en en en ko en en en en en en en en en en ml en gu en ml en en en en en en en en en pt vi cs en it kn uk en en en hi kn en ta en en en en en en en en en en en en en kn en en en en en ar en en en en en en en en en en ne en en en en en en en en en bn hi en en en da en en en en en en en en en en en nb en ru en vi en en en en en en da as en ml en en en en kn kn en en en en hy ru cs ru ru ru en en en en en ca en en ru fi en en en en en en en en en en ru en en es en en en en lv en en it en en en en en nl en ru en en en en en en en en en en en en fr en en ru en en en en en en mt en lv en en en ta en en en th en kn da en en en en en en en en en en en ca hbs_lat en en en hi en en en en en en en fr kn hbs_lat en es ru en en en en en hbs_lat en en en en en lv en en en cs en it en en en en en en en en en en en en en en es en en en en en en en en sv ca en en en en en en en en en en en en en en en en en en fr en en en en en en en en en en en en en en en en en en en en en as en en en en en en en en en en en en en en en fr en en en en en en en en en en en en en en en en en en en en en fa en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en ca en en en en en en en ru ca en en kn en en en en en en en en en en en en en en en en en en es en en en en en en hbs_lat en en en en en en en en en ta kn ml lv en en eo hbs_lat en en kn ml ml ml ml en en en ml en ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml en ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ml ar ku new bn dv en fa fi gu hi id en mr my or pt ro ru sd hbs_lat de si en sl hbs_lat sv fy vi ml ml ml ml ml ml ml ml ml ml
Jump to navigation Jump to search
a technical description of substitution functions, ദയവായി Help:Substitution കാണുക.
ഈ താൾ വിക്കിപീഡിയയുടെ editing guideline സംബന്ധിച്ച മാർഗ്ഗരേഖയായി കണക്കാക്കുന്നു. ഇത് സംശോധകർ പൊതുവായി അംഗീകരിച്ചതും ഉപയോക്താക്കൾ പിന്തുടരേണ്ടതുമാണ്. എന്നിരുന്നാലും ഇവിടുത്തെ പ്രതിപാദ്യങ്ങൾ സാമാന്യബോധത്തിനും സന്ദർഭാനുസരണവും ഉപയോഗിക്കേണ്ടതാണ്. ഈ താൾ തിരുത്തുവാൻ താങ്കൾ ഉദ്ദേശിക്കുന്നുവെങ്കിൽ, ആ പ്രവൃത്തി അഭിപ്രായ ഐക്യത്തോട് കൂടിയാണെന്ന് ഉറപ്പുവരുത്തുക. എന്തെങ്കിലും സംശയം തോന്നിയാൽ സംവാദത്താളിൽ ചർച്ച ചെയ്യാവുന്നതാണ്.
ഈ താളിന്റെ രത്നച്ചുരുക്കം: Substitution is the one-time, permanent copying of any content on Wikipedia. It differs from transclusion, which continually updates as the linked-to content changes.
Substitution is a different way of handling templates than normally done on Wikipedia. Usually, templates are transcluded, which means that if the template changes, every page that uses it will update to comply with the change-in-question. This is the procedure used for most templates. However, some templates are instead substituted. This means that if the template changes, the page that uses it will not, and will continue to show the old version of the template. Some templates should always be substituted, while most should always be transcluded.
To substitute, add subst: after the opening braces, as in {{subst:page name}}. For example: substitution {{subst:Medicine}} in contrast to transclusion {{Medicine}}. The contents of Template:Medicine will be expanded (for any templates) and stored at each point where "{{subst:Medicine}}" is placed in a page. Note that ref-tags refuse to run "subst:" unless temporarily renamed as " " or similar.
This page also lists templates that should either always or never be substituted except in the Wikipedia namespace. Automated tools (a.k.a. bots) that do such replacements will never be used on the original template. If you are going to use a bot to substitute templates, please read through the talk page first, as many are under dispute or change status over time, and substitution is permanent.
2 Templates that should always be substituted
3 Templates that must be substituted
4 Templates that should not be substituted
The subst: keyword (short for "substitution") is used inside template code, placed as a prefix before the name of the template but within the curly braces ({{}}). It changes the way the software expands the template.
Ordinarily, a template will be expanded "on the fly"; that is, the template code on a page calls a separate page every time it is rendered. Although most page views are served from the cache, pages need to be rendered for previews, and rendered again when the page changes. When someone is editing a page with a normal template call, they see the template call.
Placing "subst:" inside the curly braces tells the software to permanently replace the template with the text of the template (i.e., the text that is on the template's article page when the template is added to the page). Therefore, {{template}} becomes {{subst:template}}, until you save the page. The next editor sees not the template call, but instead the text of the template when you saved; it does not change even if the original template is edited.
You can substitute a template tag by adding "subst:" to it. For example, use {{subst:test5}} instead of {{test5}}.
When this is a major component of an edit, it is strongly suggested that the template be mentioned in the edit summary (for instance, put "{{subst:test}}", "subst:test" or "test1 applied" in your edit summary) so other editors can easily see what you have done.
Additionally, when creating or editing templates that are commonly substituted, adding a hidden comment to the template page helps article editors to see how templates are being used (e.g.  ).
Templates are often modified or deleted. If a template is boilerplate text, consider whether you want it to vary as the template is modified. If your answer is "no", substitution is warranted. An example of this is the {{subst:welcome}} template. The archives of a user's talk page should show the actual welcome message they received, not the current welcome message.
If there is a template you would like to modify for a single occasion, but you do not want to modify the template for all the pages that use it, and you do not want to make a new template, you can substitute the template and then with a second edit, make the modifications. For example: a template might be used with all the states of the United States and with the District of Columbia. The template might be worded correctly for the states, but not for DC. To fix the wording, you can substitute the template and then fix the wording.
Substituting frequently used, but unprotected templates (of which there are few, such as {{help me}}) limits the damage that can be caused by editing them. See high-risk templates.
Using certain templates hides wikitext from newcomers, which prevents them from learning how to use it. (Of course, there is a "how to edit" link at the bottom of each edit page.)
Substituting en masse may ultimately speed up the site, but this is not a reason to prefer substitution over transclusion. Don't worry about performance of Wikipedia's servers.
Substitution allows for recursive evaluation through macro templates.
Once a template is substituted, the result is no longer linked to the template, making it hard to find all pages displaying that text (though categories can sometimes relieve this). The problem can easily be worked around by including a link to the template in the template's code or assigning it a z number, specifically for the purpose of tracking its usage.
A substituted template will not be updated when the master template is updated.
If the template is used to standardize the appearance of something, you probably do not want to do a substitution. An example of this is a table of contents or navigation box.
Substituting en masse—editing thousands of articles with bots—temporarily slows down the site and wastes server resources unnecessarily.
Substitution increases the size of articles in the database and database dumps.
A substituted template can add a lot of wiki-code or HTML to the article, harming accessibility for the less technically inclined.
Substituting templates prevents newcomers from learning to use templates, and prevents users from finding their documentation.
If the template is just being used temporarily, it is usually better not to substitute. Substituted templates are much harder to remove or modify.
When a vandalised template is substituted, it is more difficult to repair than regular vandalism because of the lack of links between the template and its incarnations and the lack of updatability.
Some meta-templates, such as {{!}} and {{((}}, do not work if they are substituted.
Templates that should always be substituted[തിരുത്തുക]
This is a list of templates that should always be substituted, organized by namespace. Each list is ordered alphabetically with grouped series. This is not a comprehensive list, other less-used templates may also need to be substituted, see the template's documentation for details.
{{No more links}}—substituting this inserts a commentary only visible in edit mode, with a short explanation to discourage spamming links
{{sub}}, {{sup}} – but suggest these not subst:ed if used many times on one page, otherwise code is likely to become cluttered.
All of the templates listed in Category:User warning templates and Category:Welcome templates should be substituted. This does not apply to templates on the user page.
User signature templates, if transcluded, cause undue server strain as changes to a minor user template must then be widely propagated. If used, user signature templates should be substituted. (It should be noted, however, that user signature templates are discouraged.)
Templates that must be substituted[തിരുത്തുക]
These templates have a purpose and/or syntax that require them to be substituted.
{{afd}}—or else the link to "this article's entry" does not work.
{{cfd}}, {{cfr}}, {{cfm}}, which insert comments which serve as queues for Cydebot, which is used to rename or merge categories.
{{copyvio}}—For articles to be listed at copyright problems, will result in an error message if transcluded.
{{nld}}—For images with no info on copyright status, adds {{no license}} with today's date automatically filled in.
{{nrd}}—For images with no fair use rationale, adds {{no rationale}} with today's date automatically filled in.
{{nsd}}—For images with no source info, adds {{no source}} with today's date automatically filled in.
{{orfud}}—For "generic" orphaned fair use images, adds {{di-orphaned fair use}} with today's date automatically filled in.
{{or-fu-re}}—For fair use images that have been orphaned in favour of another image, adds {{di-orphaned fair use}} with today's date automatically filled in (takes the name of the replacement image as parameter).
{{proposed deletion}}—Proposed deletion, adds {{proposed deletion/dated}} with today's date automatically filled in.
{{rfu}}—For fair use images that it should be possible to replace with a free licensed image, adds {{replaceable fair use}}, with today's date automatically filled in.
{{refu-c}}—Used in captions of images flagged as replaceable fair use, adds {{rfu-c}} with the "due date" (today + 7 days) automatically calculated and filled in.
{{OnProd}}—which inserts today's-date-dependent name of the category page to which the article was added when nominated for deletion.
Templates that should not be substituted[തിരുത്തുക]
Technically, templates should not be substituted that
contain calls to ParserFunctions (#if, #switch, etc.), unless, where possible, these are substituted too (see mw:Manual:Substitution#Multilevel substitution), or
leave some parameters to their defaults by not specifying them, unless the alternative default mechanism is used, or
contain external links as the formatting of the URL to perform queries or look-ups may change.
This is because these constructs are not replaced in the generated wiki-code (single level substituting of case (A) leaves the #if or #switch constructs verbatim at the subst location and (B) leaves constructs like {{{1|default value}}}).
If specific consensus is to eliminate a particular call of such a template, Special:ExpandTemplates can be used to expand that call to plain wiki-syntax.
This is a list of templates that should not be substituted. This is because they contain formatting standard code, contain complex code, or contain code that breaks if substituted.
{{!}}—escapes a vertical bar for Wiki table syntax from the default parameter and ParserFunctions mechanisms.
{{citation needed}}—contains complex code.
Various citation/reference templates—which contain very complex conditional code (see: WP:CITET).
{{cleanup}}, {{merge}}, {{trivia}} and other cleanup templates—bots rely on them, substitution makes a mess of the article text and breaks the cleanup by month date categorization.
{{dmoz}}—URL queries external web directories.
Infobox templates—various ones for the sake of bot-identification and consistency.
{{Javadoc:EE}}, {{Javadoc:SE}}, {{Javadoc:SE-guide}}—conditional templates whose purpose is to update the links when the master template is updated.
{{ISP}}, {{Openproxy}}, {{repeat vandal}}, {{SharedIP}}, {{SharedIPEDU}}, {{s/wnote}}—not messages to the users (so it is no problem if they change from their original form), so no reason to subst, but the standard reasons not to subst apply.
{{switch}}—also conditional templates; substituting breaks usage.
{{See also}}—standard formatting for see also list.
{{selfref}}—does not work when substed, as it is meant to contain different code in mirrors.
{{Signpost-subscription}}—must be updated weekly.
{{stub}} templates—various ones for simplified usage and removal.
{{tl}}, {{tlp}}, {{ttl}}, {{ti}}, {{tic}}, {{tls}}, {{cl}}, {{ccl}}—Many very widely used ({{tl}} with over 600,000 transclusions at last count). Quicker to type than their substitutions, and non-substing them allows new Wikipedians to learn about them and be able to use them.
{{Number of portals}}—Requires extremely frequent updating.
{{sockpuppet}} and similar templates intended to be placed on the top level page in user space. (Note: warnings and notices in the user talk space should be substituted)
These templates—used in the main-space—add a comment about why an article is misnamed. They may be removed as the MediaWiki titling facilities improve, and the wording/layout may change.
See Category:Chemical element symbol templates. These are used to simplify the entry of chemical formulae.
{{Actinium}}, {{Aluminium}}, {{Americium}}, {{Antimony}}, {{Argon}}, {{Arsenic}}, {{Astatine}}
{{Barium}}, {{Berkelium}}, {{Beryllium}}, {{Bismuth}}, {{Bohrium}}, {{Boron}}, {{Bromine}}
{{Cadmium}}, {{Caesium}}, {{Calcium}}, {{Californium}}, {{Carbon}}, {{Cerium}}, {{Chlorine}}, {{Chromium}}, {{Cobalt}}, {{Copernicium}}, {{Copper}}, {{Curium}}
{{Fermium}}, {{Flerovium}}, {{Fluorine}}, {{Francium}}
{{Gadolinium}}, {{Gallium}}, {{Germanium}}, {{Gold}}
{{Hafnium}}, {{Hassium}}, {{Helium}}, {{Holmium}}, {{Hydrogen}}
{{Indium}}, {{Iodine}}, {{Iridium}}, {{Iron}}
{{Lanthanum}}, {{Lawrencium}}, {{Lead}}, {{Lithium}}, {{Livermorium}}, {{Lutetium}}
{{Magnesium}}, {{Manganese}}, {{Meitnerium}}, {{Mendelevium}}, {{Mercury}}, {{Molybdenum}}, {{Moscovium}}
{{Neodymium}}, {{Neon}}, {{Neptunium}}, {{Nickel}}, {{Nihonium}}, {{Niobium}}, {{Nitrogen}}, {{Nobelium}}
{{Palladium}}, {{Phosphorus}}, {{Platinum}}, {{Plutonium}}, {{Polonium}}, {{Potassium}}, {{Praseodymium}}, {{Promethium}}, {{Protactinium}}
{{Radium}}, {{Radon}}, {{Rhenium}}, {{Rhodium}}, {{Roentgenium}}, {{Rubidium}}, {{Ruthenium}}, {{Rutherfordium}}
{{Samarium}}, {{Scandium}}, {{Seaborgium}}, {{Selenium}}, {{Silicon}}, {{Silver}}, {{Sodium}}, {{Strontium}}, {{Sulfur}}
{{Tantalum}}, {{Technetium}}, {{Tellurium}}, {{Tennessine}}, {{Terbium}}, {{Thallium}}, {{Thorium}}, {{Thulium}}, {{Tin}}, {{Titanium}}, {{Tungsten}}
Most templates related to renaming or deleting pages are used temporarily, and thus do not need to be substituted (it just makes more work to delete them).
{{ifd}} {{ifd2}} {{idw}} {{idw-uo}} {{idw-cp}}
and all in Category:Speedy deletion templates
{{editprotected}} not deletion related, but also temporary
Exceptions: The following templates must be substituted in order to work correctly:
{{cfd}} {{cfm}} {{cfr}} {{cfr-speedy}}
In addition, those templates which document a finished deletion process ({{afd top}}, etc.) should be substituted.
{{col-begin}} {{col-2}} {{col-3}} {{col-4}} {{col-end}}—alleged by some to simplify usage.
{{ed}} {{ed2}} {{ed right}} {{edit}}—simplify addition of edit link to templates
This page is referenced from the Wikipedia:Glossary.
meta:Help:Substitution, a longer and more technical help page at Meta
Special:ExpandTemplates (put the template with the brackets {{ }} in the "input text" box).
User:Pathoschild/Projects/Template substitution (bot-parseable lists, last updated 12 September 2006)
{{Subst only}} (placed on the {{documentation subpage}}, not the template pages, of templates that need to be substituted rather than transcluded)
{{Uw-subst}} (talkpage template that reminds users to subst)
Birth, death and age
Visit the Teahouse or the Help desk for an interactive Q & A forum.
What Wikipedia is not
Help for readers (?)
Advice for young editors
Simplified Manual of Style
"The rules are principles"
Tip of the day
Your first article (article wizard)
Why create an account?
IRC (live chat) tutorial
Dos and don'ts (?)
References and page numbers
Ask for help on your talk page (?)
For a listing of current collaborations, tasks, and news, see the Community portal.
For a listing of ongoing discussions and current requests, see the Dashboard.
Culture and the arts
Science, technology and engineering
Wikipedia assistance and tasks
Version 1.0 Editorial Team
A nice cup of tea and a sit down
Requests for adminship and bureaucratship
Biographies of living persons
Neutral point of view
Requests for comment (meta)
Voting is not evil
"https://ml.wikipedia.org/w/index.php?title=വിക്കിപീഡിയ:Substitution&oldid=3020341" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്
Wikipedia guidelines for templates
Wikipedia pages with incorrect protection templates
PDF ആയി ഡൗൺലോഡ് ചെയ്യുക
ഈ താൾ അവസാനം തിരുത്തപ്പെട്ടത്: 19:16, 18 ജനുവരി 2019.
വിവരങ്ങൾ ക്രിയേറ്റീവ് കോമൺസ് ആട്രിബ്യൂഷൻ-ഷെയർഎലൈക്ക് അനുമതിപത്ര പ്രകാരം ലഭ്യമാണ്; മേൽ നിബന്ധനകൾ ഉണ്ടായേക്കാം. കൂടുതൽ വിവരങ്ങൾക്ക് ഉപയോഗനിബന്ധനകൾ കാണുക.