Yardım:Sihirli kelimeler: Revizyonlar arasındaki fark

[kontrol edilmemiş revizyon][kontrol edilmemiş revizyon]
İçerik silindi İçerik eklendi
MerlIwBot (mesaj | katkılar)
k Bot: Kaldırılıyor: su:Pitulung:Variabél (strong connection between (2) tr:Vikipedi:Değişkenler and su:Pitulung:Variabel)
Değişiklik özeti yok
1. satır:
{{çalışma}}
'''Uyarı:''' Bu liste güncel olmayabilir. Vikipedi'nin güncel değişkenler her zaman meta'da bulunur, bakınız: '''[[meta:Help:Variable]]'''
{{çeviri}}
== Vikipedi:namespace ==
 
{{Kısayol|VP:SK}}
{| border="1" cellspacing="0" cellpadding="3"
! style="background-color:#FFDEAD;" | Değişken
! style="background-color:#FFDEAD;" | Değer
|-
| <nowiki>{{ns:-2}}</nowiki> ya da <nowiki>{{ns:Media}}</nowiki>
| {{ns:-2}}
|-
| <nowiki>{{ns:-1}}</nowiki> ya da <nowiki>{{ns:Special}}</nowiki>
| {{ns:-1}}
|-
| <nowiki>{{ns:1}}</nowiki> ya da <nowiki>{{ns:Talk}}</nowiki>
| {{ns:1}}
|-
| <nowiki>{{ns:2}}</nowiki> ya da <nowiki>{{ns:User}}</nowiki>
| {{ns:2}}
|-
| <nowiki>{{ns:3}}</nowiki> ya da <nowiki>{{ns:User_talk}}</nowiki>
| {{ns:3}}
|-
| <nowiki>{{ns:4}}</nowiki> ya da <nowiki>{{ns:Project}}</nowiki>
| {{ns:4}}
|-
| <nowiki>{{ns:5}}</nowiki> ya da <nowiki>{{ns:Project_talk}}</nowiki>
| {{ns:5}}
|-
| <nowiki>{{ns:6}}</nowiki> ya da <nowiki>{{ns:Image}}</nowiki>
| {{ns:6}}
|-
| <nowiki>{{ns:7}}</nowiki> ya da <nowiki>{{ns:Image_talk}}</nowiki>
| {{ns:7}}
|-
| <nowiki>{{ns:8}}</nowiki> ya da <nowiki>{{ns:MediaWiki}}</nowiki>
| {{ns:8}}
|-
| <nowiki>{{ns:9}}</nowiki> ya da <nowiki>{{ns:MediaWiki_talk}}</nowiki>
| {{ns:9}}
|-
| <nowiki>{{ns:10}}</nowiki> ya da <nowiki>{{ns:Template}}</nowiki>
| {{ns:10}}
|-
| <nowiki>{{ns:11}}</nowiki> ya da <nowiki>{{ns:Template_talk}}</nowiki>
| {{ns:11}}
|-
| <nowiki>{{ns:12}}</nowiki> ya da <nowiki>{{ns:Help}}</nowiki>
| {{ns:12}}
|-
| <nowiki>{{ns:13}}</nowiki> ya da <nowiki>{{ns:Help_talk}}</nowiki>
| {{ns:13}}
|-
| <nowiki>{{ns:14}}</nowiki> ya da <nowiki>{{ns:Category}}</nowiki>
| {{ns:14}}
|-
| <nowiki>{{ns:15}}</nowiki> ya da <nowiki>{{ns:Category_talk}}</nowiki>
| {{ns:15}}
|}
 
'''Sihirli kelimeler''' ('''ayrıştırıcı işlevler''', '''değişkenler''' ve '''davranış anahtarları''' içeren) [[MediaWiki]] [[yazılım]]ında kullanılabilecek çeşitli talimatları etkinleştirmeye yarayan [[en:WP:wikitext|wikitext]] özelliklerdir. Örneğin bir maddedeki içindekiler tablosunu bastırmak ya da konumlandırmak için kullanılabilirler. Ayrıca [[en:WP:Templates|Şablon]] benzeri çeşitli çıkışların üretilmesini sağlamak amacı taşırlar.
==Genel sabit değişken==
 
Sihirli kelimeler için kaynakları bu sayfada bulabilirsiniz. Daha eksiksiz ve güncel belgeler için, MediaWiki sitesinden aşağıdaki sayfalara bakın:
{| border="1" cellspacing="0" cellpadding="3"
*'''[[mw:Help:Magic words]]''' tüm standart sihirli kelimeler ''(standart ayrıştırıcılar da dahil olmak üzere)''
! style="background-color:#FFDEAD;" | Değişken
*'''[[mw:Help:Extension:ParserFunctions]]''' bazı ek ayrıştırıcı işlevler için ''(koşullu ifadeler de dahil olmak üzere)''
! style="background-color:#FFDEAD;" | Değer
|-
| <nowiki>{{SITENAME}}</nowiki>
| {{SITENAME}}
|-
| <nowiki>{{SERVER}}</nowiki>
| {{SERVER}}
|-
| <nowiki>{{SERVERNAME}}</nowiki>
| {{SERVERNAME}}
|-
| <code><nowiki>{{localurl:maddeninadı}}</nowiki></code>
| {{localurl:maddeninadı}}
|-
| <code><nowiki>{{localurl:madde|query=x}}</nowiki></code>
| {{localurl:madde|query=x}}
|-
| <code><nowiki>{{localurl:a&b!}}</nowiki><br /><nowiki>{{localurle:a&b!}}</nowiki></code>
| {{localurl:a&b!}}<br />{{localurle:a&b!}}
|-
| <code><nowiki>{{urlencode:a&b!}}</nowiki>
| {{urlencode:a&b!}}
|-
| <code><nowiki>{{fullurl:maddeninadı}}</nowiki></code>
| <small>{{fullurl:maddeninadı}}</small>
|-
| <code><nowiki>{{fullurl:a&b!|u=v}}</nowiki> &#160;</code>
| <small>{{fullurl:a&b!|u=v}}</small>
|-
| <code><nowiki>{{fullurle:a&b!|u=v}}</nowiki>&#160;</code>
| <small>{{fullurle:a&b!|u=v}}</small>
|}
 
==Genel bilgilendirme==
== Sayfa konulu değişkenler ==
Sihirli kelimelerin üç tipi bulunmaktadır:
*'''Hareket anahtarları:''' büyük harflerle yazılmış kelimeler çift alt çizgiler ile çevrilmiştir. Örneğin; <tt><nowiki>__NOTOC__</nowiki></tt>
*'''Değişkenler:''' büyük harflerle yazılmış kelimeler çift kaşlı ayraçlar ile çevrilmiştir. Örneğin; <tt><nowiki>{{PAGENAME}}</nowiki></tt>
*'''Çözümleyici işlevler:''' anahtar kelimelerin (bazıları # işaretiyle başlar) devamında yer alan iki nokta üst üste ve diğer parametreler sonunda çift kaşlı ayraçlar ile çevrilmiştir. Örneğin; <tt><nowiki>{{#expr:2+2}}</nowiki></tt>
 
Bazı sihirli kelimeler büyük harf-küçük harf değişimine duyarsızdır, ancak hepsi böyle değildir. Beyaz boşluklar çoğu kez kaşlı ayraçlar ile diğer parametreler arasında ise sihirli kelimeyi bozmaz, ancak sihirli kelimelerin veya diğer parametrelerin içinde beyaz boşluk yer alırsa çoğu kez kullanımın işlevselliğini bozar.
{| border="1" cellspacing="0" cellpadding="3"
! style="background-color:#FFDEAD;" | Değişken adı
! style="background-color:#FFDEAD;" | Fonksiyon
! style="background-color:#FFDEAD;" | Değişken adı
! style="background-color:#FFDEAD;" | Fonksiyon
|-
|<code><nowiki>{{PAGENAME}}</nowiki> </code>||{{PAGENAME}}||<code><nowiki>{{PAGENAMEE}}</nowiki> </code>||{{PAGENAMEE}}
|-
|<code><nowiki>{{NAMESPACE}}</nowiki> </code>||{{NAMESPACE}}||<code><nowiki>{{NAMESPACEE}}</nowiki> </code>||{{NAMESPACEE}}
|-
|<code><nowiki>{{FULLPAGENAME}}</nowiki> </code>||{{FULLPAGENAME}}||<code><nowiki>{{FULLPAGENAMEE}}</nowiki> </code>||{{FULLPAGENAMEE}}
|-
|&#160;||&#160;<!-- intentionally empty -->
|<code><nowiki>{{REVISIONID}}</nowiki> </code>||{{REVISIONID}}
|-
|<code><nowiki>{{TALKSPACE}}</nowiki> </code>||{{TALKSPACE}}||<code><nowiki>{{SUBJECTSPACE}}</nowiki> </code>||{{SUBJECTSPACE}}
|-
|<code><nowiki>{{TALKSPACEE}}</nowiki> </code>||{{TALKSPACEE}}||<code><nowiki>{{SUBJECTSPACEE}}</nowiki> </code>||{{SUBJECTSPACEE}}
|-
|<code><nowiki>{{TALKPAGENAME}}</nowiki></code>||{{TALKPAGENAME}}||<code><nowiki>{{SUBJECTPAGENAME}}</nowiki> </code>||{{SUBJECTPAGENAME}}
|-
|<code><nowiki>{{TALKPAGENAMEE}}</nowiki></code>||{{TALKPAGENAMEE}}||<code><nowiki>{{SUBJECTPAGENAMEE}}</nowiki> </code>||{{SUBJECTPAGENAMEE}}
|-
|<code><nowiki>{{ARTICLESPACE}}</nowiki> </code>||{{ARTICLESPACE}}||<code><nowiki>{{ARTICLEPAGENAME}}</nowiki></code>||{{ARTICLEPAGENAME}}
|-
|<code><nowiki>{{ARTICLESPACEE}}</nowiki> </code>||{{ARTICLESPACEE}}||<code><nowiki>{{ARTICLEPAGENAMEE}}</nowiki></code>||{{ARTICLEPAGENAMEE}}
|-
|<code><nowiki>{{BASEPAGENAME}}</nowiki> </code>||{{BASEPAGENAME}}||<code><nowiki>{{SUBPAGENAME}}</nowiki> </code>||{{SUBPAGENAME}}
|-
|<code><nowiki>{{BASEPAGENAMEE}}</nowiki> </code>||{{BASEPAGENAMEE}}||<code><nowiki>{{SUBPAGENAMEE}}</nowiki> </code>||{{SUBPAGENAMEE}}
|}
 
==Behavior switches==
== Zaman ve Tarih ilgili değişkenler ve Makale sayacı ==
''For documentation, refer to the [[mw:Help:Magic words#Behavior switches|Behavior Switches]] section of the MediaWiki page.''
*<tt><nowiki>__NOTOC__</nowiki></tt> (can appear anywhere in the wikitext; suppresses the table of contents)
*<tt><nowiki>__FORCETOC__</nowiki></tt> (can appear anywhere in the wikitext; makes a table of contents appear in its normal position above the first header)
*<tt><nowiki>__TOC__</nowiki></tt> (places a table of contents at the word's position)
 
*<tt><nowiki>__NOEDITSECTION__</nowiki></tt> (hides the section "edit" links beside all headings on the page) (use <nowiki><h2></nowiki> tags to hide the edit link for one header only)
{| border="1" cellspacing="0" cellpadding="3"
*<tt><nowiki>__NEWSECTIONLINK__</nowiki></tt> (adds a "+" link for adding a new section on a non-"Talk" page)
! style="background-color:#FFDEAD;" | Değişken
*<tt><nowiki>__NONEWSECTIONLINK__</nowiki></tt> (removes the "+" link on "Talk" pages)
! style="background-color:#FFDEAD;" | Şu anda ki değer
| &#160;
! style="background-color:#FFDEAD;" | Değişken
! style="background-color:#FFDEAD;" | Şu anda ki değer
|-
|<code><nowiki>{{CURRENTYEAR}}</nowiki> </code>
|{{CURRENTYEAR}}
| &#160;
|<code><nowiki>{{CURRENTMONTH}}</nowiki> </code>
|{{CURRENTMONTH}}
|-
|<code><nowiki>{{CURRENTMONTHNAME}}</nowiki> </code>
|{{CURRENTMONTHNAME}}
| &#160;
|<code><nowiki>{{CURRENTMONTHABBREV}}</nowiki> </code>
|{{CURRENTMONTHABBREV}}
|-
|<code><nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki> </code>
|{{CURRENTMONTHNAMEGEN}}
| &#160;
|<code><nowiki>{{CURRENTWEEK}}</nowiki> </code>
|{{CURRENTWEEK}}
|-
|<code><nowiki>{{CURRENTDAY}}</nowiki> </code>
|{{CURRENTDAY}}
| &#160;
|<code><nowiki>{{CURRENTDAY2}}</nowiki> </code>
|{{CURRENTDAY2}}
|-
|<code><nowiki>{{CURRENTDAYNAME}}</nowiki> </code>
|{{CURRENTDAYNAME}}
| &#160;
|<code><nowiki>{{CURRENTDOW}}</nowiki> </code>
|{{CURRENTDOW}}
|-
|<code><nowiki>{{CURRENTTIME}}</nowiki> </code>
|{{CURRENTTIME}}
| &#160;
|<code><nowiki>{{CURRENTVERSION}}</nowiki> </code>
|{{CURRENTVERSION}}
|-
|<code><nowiki>{{CURRENTTIMESTAMP}}</nowiki> </code>
|colspan="3"|{{CURRENTTIMESTAMP}}
|-
|<code><nowiki>{{NUMBEROFADMINS}}</nowiki> </code>
|{{NUMBEROFADMINS}}
| &#160;
|<code><nowiki>{{NUMBEROFADMINS:R}}</nowiki> </code>
|{{NUMBEROFADMINS:R}}
|-
|<code><nowiki>{{NUMBEROFARTICLES}}</nowiki> </code>
|{{NUMBEROFARTICLES}}
| &#160;
|<code><nowiki>{{NUMBEROFARTICLES:R}}</nowiki> </code>
|{{NUMBEROFARTICLES:R}}
|-
|<code><nowiki>{{NUMBEROFFILES}}</nowiki> </code>
|{{NUMBEROFFILES}}
| &#160;
|<code><nowiki>{{NUMBEROFFILES:R}}</nowiki> </code>
|{{NUMBEROFFILES:R}}
|-
|<code><nowiki>{{NUMBEROFPAGES}}</nowiki> </code>
|{{NUMBEROFPAGES}}
| &#160;
|<code><nowiki>{{NUMBEROFPAGES:R}}</nowiki> </code>
|{{NUMBEROFPAGES:R}}
|-
|<code><nowiki>{{NUMBEROFUSERS}}</nowiki> </code>
|{{NUMBEROFUSERS}}
| &#160;
|<code><nowiki>{{NUMBEROFUSERS:R}}</nowiki> </code>
|{{NUMBEROFUSERS:R}}
|}
 
*<tt><nowiki>__NOGALLERY__</nowiki></tt> (on a category page, replaces thumbnails with normal links)
==Dış bağlantılar==
*<tt><nowiki>__HIDDENCAT__</nowiki></tt> (on a category page, makes it a [[WP:HIDDENCAT|hidden category]])
* '''[[meta:Help:Variable]]'''
*<tt><nowiki>__INDEX__</nowiki></tt> (tells search engines to index the page)
* '''[[meta:Magic_words]]'''
*<tt><nowiki>__NOINDEX__</nowiki></tt> (tells search engines not to index the page)
 
*<tt><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></tt> (changes the [[WP:DISPLAYTITLE|displayed form]] of the page title)
[[Kategori:Vikipedi Yardım|*]]
*<tt><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></tt> (sets a default category [[WP:SORTKEY|sort key]])
 
==Variables==
[[en:Help:Variable]]
''For documentation, refer to the [[mw:Help:Magic words#Variables|Variables]] section of the MediaWiki page.''
[[hr:Wikipedija:Varijable]]
*<tt><nowiki>{{FULLPAGENAME}}</nowiki></tt> ([[Help:Page name|page title]] including [[help:namespace|namespace]])
[[id:Bantuan:Variabel]]
*<tt><nowiki>{{PAGENAME}}</nowiki></tt> (page title excluding namespace)
*<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt> (page title excluding ''current'' [[Help:Subpages|subpage]] and namespace - effectively the parent page without the namespace.)
*<tt><nowiki>{{SUBPAGENAME}}</nowiki></tt> (subpage part of title)
*<tt><nowiki>{{SUBJECTPAGENAME}}</nowiki></tt> (associated non-talk page)
*<tt><nowiki>{{TALKPAGENAME}}</nowiki></tt> (associated talk page)
*<tt><nowiki>{{NAMESPACE}}</nowiki></tt> (namespace of current page)
*<tt><nowiki>{{SUBJECTSPACE}}, {{ARTICLESPACE}}</nowiki></tt> (associated non-talk namespace)
*<tt><nowiki>{{TALKSPACE}}</nowiki></tt> (associated talk namespace)
* <tt><nowiki>{{FULLPAGENAMEE}}, {{NAMESPACEE}}</nowiki></tt> etc. (equivalents encoded for use in MediaWiki URLs)
 
The above can all take a parameter, to operate on a page other than the current page.
 
*<tt><nowiki>{{SITENAME}}</nowiki></tt> ({{SITENAME}})
*<tt><nowiki>{{SERVER}}</nowiki></tt> ({{SERVER}})
*<tt><nowiki>{{SERVERNAME}}</nowiki></tt> ({{SERVERNAME}})
*<tt><nowiki>{{SCRIPTPATH}}</nowiki></tt> ({{SCRIPTPATH}})
*<tt><nowiki>{{CURRENTVERSION}}</nowiki></tt> (current MediaWiki version)
*<tt><nowiki>{{REVISIONID}}</nowiki></tt> (latest revision to current page)
*<tt><nowiki>{{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}}</nowiki></tt> (date, time, editor at last edit)
 
*<tt><nowiki>{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}}, {{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}}, {{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}}, {{CURRENTTIMESTAMP}}</nowiki></tt> (current date/time variables)
*<tt><nowiki>{{LOCALYEAR}}</nowiki></tt> etc. (as above, based on site's local time)
 
*<tt><nowiki>{{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}}, {{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}}, {{NUMBEROFACTIVEUSERS}}</nowiki></tt> (statistics on English Wikipedia; add <tt>:R</tt> to return numbers without commas)
 
==Parser functions==
{{Shortcut|WP:PF}}
''These are documented at the [[mw:Help:Magic words|main documentation page]] unless otherwise stated.''
===Metadata===
*<tt><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></tt> (size of page in bytes)
*<tt><nowiki>{{PROTECTIONLEVEL:</nowiki>''action''<nowiki>}}</nowiki></tt> (protection level for given action on the current page)
*<tt><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>}}</nowiki></tt> (number of pages in the given [[Help:Categories|category]])
*<tt><nowiki>{{NUMBERINGROUP:</nowiki>''groupname''<nowiki>}}</nowiki></tt> (number of users in a specific [[Help:User rights|group]])
 
Add <tt>|R</tt> to return numbers without commas.
 
===Formatting===
*<tt><nowiki>{{lc:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert to lower case)
*<tt><nowiki>{{lcfirst:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert first character to lower case)
*<tt><nowiki>{{uc:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert to upper case)
*<tt><nowiki>{{ucfirst:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert first character to upper case)
*<tt><nowiki>{{formatnum:</nowiki>''unformatted&nbsp;num''<nowiki>}}</nowiki></tt> (format a number with comma separators; add <tt><nowiki>|</nowiki>R</tt> to unformat a number)
*<tt><nowiki>{{#formatdate:</nowiki>''date''|''format''<nowiki>}}</nowiki></tt> (formats a date according to user preferences; a default can be given as an optional case-sensitive second parameter for users without date preference; can convert a date from an existing format to any of <tt>dmy</tt>, <tt>mdy</tt>, <tt>ymd</tt> or <tt>ISO 8601</tt> formats, with the user's preference overriding the specified format)
*<tt><nowiki>{{padleft:xyz|</nowiki>''stringlength''<nowiki>}}</nowiki></tt>, <tt><nowiki>{{padright:xyz|</nowiki>''stringlength''<nowiki>}}</nowiki></tt> (pad with zeros to the right or left; an alternative padding string can be given as a third parameter; the alternative padding string may be truncated if its length does not evenly divide the required number of characters)
*<tt><nowiki>{{plural:</nowiki>''n''|''is''<nowiki>|</nowiki>''are''<nowiki>}}</nowiki></tt> (produces alternative text according to whether ''n'' is greater than 1)
*<tt><nowiki>{{#time:</nowiki>''format string''|''date/time object''<nowiki>}}</nowiki></tt> (for date/time formatting; also <tt>#timel</tt> for local time. Covered at the [[mw:Help:Extension:ParserFunctions##time|extension documentation page]].)
*<tt><nowiki>{{gender:</nowiki>''username''|''masculine''|''female''|''neutral''}}</tt> (produces alternative text according to the gender specified by the given user in his/her preferences)
*<tt><nowiki>{{#tag:</nowiki>''tagname''|''content''|''parameter1''=''value1''|''parameter2''=''value2''}}</tt> (equivalent to an HTML tag or pair of tags; can be used for [[WP:REFNEST|nesting references]])
 
===Paths===
*<tt><nowiki>{{localurl:</nowiki>''page name''<nowiki>}}</nowiki></tt>, <tt><nowiki>{{localurl:</nowiki>''page name''<nowiki>|</nowiki>''query string''<nowiki>}}</nowiki></tt> (relative path to the title)
*<tt><nowiki>{{fullurl:</nowiki>''page name''<nowiki>}}</nowiki></tt>, <tt><nowiki>{{fullurl:</nowiki>''page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></tt> (absolute path to the title)
*<tt><nowiki>{{filepath:</nowiki>''file name''<nowiki>}}</nowiki></tt> (absolute URL to a media file)
*<tt><nowiki>{{urlencode:</nowiki>''string''<nowiki>}}</nowiki></tt> (input encoded for use in URLs)
*<tt><nowiki>{{anchorencode:</nowiki>''string''<nowiki>}}</nowiki></tt> (input encoded for use in URL section anchors)
*<tt><nowiki>{{ns:</nowiki>''n''<nowiki>}}</nowiki></tt> (name for the [[Help:Namespace|namespace]] with index ''n''; use <tt><nowiki>{{nse:}}</nowiki></tt> for the equivalent encoded for MediaWiki URLs)
*<tt><nowiki>{{#rel2abs:</nowiki> ''path'' <nowiki>}}</nowiki></tt> (converts a relative file path to absolute; see the [[mw:Help:Extension:ParserFunctions|extension documentation]])
*<tt><nowiki>{{#titleparts:</nowiki> ''pagename'' | ''number of segments to return'' | ''first segment to return'' <nowiki>}}</nowiki></tt> (splits title into parts; see the [[mw:Help:Extension:ParserFunctions|extension documentation]])
 
===Conditional expressions===
These are covered at the [[mw:Help:Extension:ParserFunctions|extension documentation page]]. Some parameters are optional.
*<tt><nowiki>{{#expr:</nowiki> ''expression'' <nowiki>}}</nowiki></tt> (evaluates the given expression; see [[Help:Calculation]])
*<tt><nowiki>{{#if:</nowiki> ''test string'' | ''value if non-empty'' | ''value if empty'' <nowiki>}}</nowiki></tt> (selects one of two values based on whether the test string is empty)
*<tt><nowiki>{{#ifeq:</nowiki> ''string 1'' <nowiki>|</nowiki> ''string 2'' <nowiki>|</nowiki> ''value if equal'' <nowiki>|</nowiki> ''value if unequal'' <nowiki>}}</nowiki></tt> (selects one of two values based on whether the test strings are equal – numerically if applicable)
*<tt><nowiki>{{#iferror:</nowiki> ''test string'' <nowiki>|</nowiki> ''value if error'' <nowiki>|</nowiki> ''value if correct'' <nowiki>}}</nowiki></tt> (selects value based on whether the test string generates a parser error)
*<tt><nowiki>{{#ifexpr:</nowiki> ''expression'' <nowiki>|</nowiki> ''value if true'' <nowiki>|</nowiki> ''value if false'' <nowiki>}}</nowiki></tt> (selects value based on evaluation of expression)
*<tt><nowiki>{{#ifexist:</nowiki> ''page title'' | ''value if exists'' | ''value if doesn't exist'' <nowiki>}}</nowiki></tt> (selects value depending on whether a page title exists)
*<tt><nowiki>{{#switch:</nowiki> ''test'' | ''case1'' = ''value for case 1'' | ... | ''default'' <nowiki>}}</nowiki></tt> (provides alternatives based on the value of the test string)
 
For the use of these functions in tables, see [[Wikipedia:Conditional tables|Conditional tables]].
 
==Ayrıca bakınız==
*[[mw:Internationalisation]]
*[[mw:Manual:Extending_wiki_markup|Adding parser functions]]
*[http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/parser/CoreParserFunctions.php?view=log CoreParserFunctions.php]
* [[User:Cacycle/wikEd|wikEd]], a MediaWiki editor with syntax highlighting for templates and parser functions
 
[[Kategori:Vikipedi Yardım]]
 
[[ar:مساعدة:كلمات سحرية]]
[[ca:Ajuda:Variable]]
[[cy:Wicipedia:Geiriau hud]]
[[de:Hilfe:Variablen]]
[[en:Help:Magic words]]
[[eo:Helpo:Variabloj]]
[[hi:सहायता:जादूई शब्द ]]
[[es:Ayuda:Palabras mágicas]]
[[fa:راهنما:کلمات جادویی]]
[[he:עזרה:משתנים]]
[[hr:Wikipedija:Magične riječi]]
[[hsb:Pomoc:Wariable]]
[[it:Aiuto:Variabili]]
[[ja:Help:マジックワード]]
[[ka:დახმარება:ჯადოსნური სიტყვები]]
[[ko:위키백과:기본 틀]]
[[nl:Help:Parserfuncties]]
[[pl:Pomoc:Magiczne słowa]]
[[pt:Ajuda:Palavras mágicas]]
[[ru:Википедия:Переменные]]
[[simple:Help:Magic words]]
[[zh:Help:魔術字]]