"साचा:Wikivar" च्या विविध आवृत्यांमधील फरक

विकिपीडिया, मुक्‍त ज्ञानकोशातून
Content deleted Content added
छो r2.7.1) (Robot: Adding ast:Plantía:Wikivar
imported>SMcCandlish
→‎See also: simpler code
ओळ २२: ओळ २२:


==See also==
==See also==
{{Var/seealso}}
* {{tl|Para}} – for displaying wiki template parameters ({{para|title}}) or parameters and values ({{para|year|2008}})
* {{tl|Tlx}} and related – for displaying entire templates (with or without parameters and values) as code
* {{tl|Var}} – for displaying variables more generally, in mathematics, source code, etc.; same as {{tl|varserif}}, below, but without forced serif font; use for all variables other than I (upper-case i) and l (lower-case L)
* {{tl|Varserif}} – same as {{tl|var}}, above, but uses a serif font, especially for distinguishing between I (upper-case i) and l (lower-case L) as variables


[[Category:Wikipedia formatting and function templates|Wikivar]]
[[Category:Wikipedia formatting and function templates|Wikivar]]

२२:०९, ३१ जानेवारी २०१२ ची आवृत्ती

{{{{{1}}}}}

Usage

This template is to help facilitate the displaying of Wikipedia variables and built-in "magicword" (pseudo-template) names, and optionally their :parameters as well. The variable/magicword names are automatically put into all-upper-case.

Examples
{{wikivar|PAGENAME}}

and

{{wikivar|pagename}}

displays as:

{{PAGENAME}}

A second parameter can be added; this is the part followed by a colon in some usages:

{{wikivar|DEFAULTSORT|Kusanagi, Motoko}}

displays as:

{{DEFAULTSORT:Kusanagi, Motoko}}

See also

साचा:Var/seealso