<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fa" lang="fa" dir="rtl">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    		<meta name="keywords" content="الگو:Evd,Tc,Evaldemo,Evdn,T,T2,Hh,Evdn,Colon function" />
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="ویکی‌پدیا (فارسی)" />
		<link rel="copyright" href="../../../COPYING.html" />
    <title>الگو:Evd - ویکی‌پدیا</title>
    <style type="text/css">/*<![CDATA[*/ @import "../../../skins/htmldump/main.css"; /*]]>*/</style>
    <link rel="stylesheet" type="text/css" media="print" href="../../../skins/common/commonPrint.css" />
    <!--[if lt IE 5.5000]><style type="text/css">@import "../../../skins/monobook/IE50Fixes.css";</style><![endif]-->
    <!--[if IE 5.5000]><style type="text/css">@import "../../../skins/monobook/IE55Fixes.css";</style><![endif]-->
    <!--[if IE 6]><style type="text/css">@import "../../../skins/monobook/IE60Fixes.css";</style><![endif]-->
    <!--[if IE]><script type="text/javascript" src="../../../skins/common/IEFixes.js"></script>
    <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
    <script type="text/javascript" src="../../../skins/common/wikibits.js"></script>
    <script type="text/javascript" src="../../../skins/htmldump/md5.js"></script>
    <script type="text/javascript" src="../../../skins/htmldump/utf8.js"></script>
    <script type="text/javascript" src="../../../skins/htmldump/lookup.js"></script>
    <script type="text/javascript" src="../../../raw/gen.js"></script>        <style type="text/css">/*<![CDATA[*/
@import "../../../skins/monobook/rtl.css?99";
@import "../../../raw/%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C%7ECommon.css";
@import "../../../raw/%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C%7EMonobook.css";
@import "../../../raw/gen.css";
/*]]>*/</style>          </head>
  <body
    class="ns-10">
    <div id="globalWrapper">
      <div id="column-content">
	<div id="content">
	  <a name="top" id="contentTop"></a>
	        <h1 class="firstHeading">الگو:Evd</h1>
	  <div id="bodyContent">
	    <h3 id="siteSub">از ویکی‌پدیا، دانشنامهٔ آزاد.</h3>
	    <div id="contentSub"></div>
	    	    	    <!-- start content -->
	    <p>الگو:Hh This template <a href="http://meta.wikimedia.org/wiki/Template:evd" class="extiw" title="m:Template:evd">m:Template:evd</a> (<a href="http://meta.wikimedia.org/wiki/Template_talk:evd" class="extiw" title="m:Template_talk:evd">talk</a>, <a href="http://meta.wikimedia.org/wiki/Special:Whatlinkshere/Template:evd" class="extiw" title="m:Special:Whatlinkshere/Template:evd">backlinks</a>, <a href="http://meta.wikimedia.org/wiki/Template:evd?action=edit" class="external text" title="http://meta.wikimedia.org/wiki/Template:evd?action=edit" rel="nofollow">edit</a>) shows the call of a template or predefined template and its result, for documentation.<b>|</b></p>
<dl>
<dt>Usage:</dt>
<dd>{{<strong class="selflink">Evd</strong><tt>|</tt>left side<tt>|</tt>up to 3 additional parameters}}</dd>
<dd>{{<strong class="selflink">Evd</strong><tt>|</tt>left side<tt>|</tt>up to 3 additional parameters<tt>|</tt>s=separator}}</dd>
</dl>
<dl>
<dd>The default separator is "<b>gives</b>", use <tt>s==</tt> or similar to get "<b>=</b>" etc. Please note that for colon functions the first parameter belongs to the left side before the "<b>|</b>" vertical bar aka <i>pipe</i>.</dd>
</dl>
<p>Examples without additional parameters:</p>
<p>Examples:</p>
<ol>
<li>{{<strong class="selflink">Evd</strong><tt>|</tt>CURRENTDAY<tt>|</tt>s=is}} displays
<dl>
<dd>{{<small>&#160;</small><code>CURRENTDAY</code>}} is "۲۰"</dd>
</dl>
</li>
<li>{{<strong class="selflink">Evd</strong><tt>|</tt>#expr:2*3}} displays
<dl>
<dd>{{<small>&#160;</small><code>#expr:2*3</code>}} gives "6"</dd>
</dl>
</li>
<li>{{<strong class="selflink">Evd</strong><tt>|</tt>1=#expr:2+2=5}} displays
<dl>
<dd>{{<small>&#160;</small><code>#expr:2+2=5</code>}} gives "0"</dd>
</dl>
</li>
<li>{{<strong class="selflink">Evd</strong><tt>|</tt>1=#expr:(2+2=4)<tt>|</tt>s==}} displays
<dl>
<dd>{{<small>&#160;</small><code>#expr:(2+2=4)</code>}} = "1"</dd>
</dl>
</li>
<li>{{<strong class="selflink">Evd</strong><tt>|</tt>urlencode:!<tt>|</tt>s=&amp;#61;}} displays
<dl>
<dd>{{<small>&#160;</small><code>urlencode:!</code>}} = "%21"</dd>
</dl>
</li>
<li>{{Evd|uc:abc} gives
<dl>
<dd>{{<small>&#160;</small><code>uc:abc</code>}} gives "ABC"</dd>
</dl>
</li>
<li>{{subst:Evd|uc:Upper Case|subst=subst:}} substitutes
<dl>
<dd>{{<small>&#160;</small><code>subst:uc:Upper Case</code>}} gives UPPER CASE</dd>
<dd>See <a href="http://meta.wikimedia.org/wiki/Help:Substitution" class="extiw" title="m:Help:Substitution">Help:Substitution</a> for several caveats wrt <tt>subst=subst:</tt>.</dd>
</dl>
</li>
</ol>
<p>As always the expression (first parameter) cannot directly contain "<b>|</b>", "<b>=</b>", plus other special cases related to square brackets / curly braces. In the case of this template "not directly" means "never" except from "<b>=</b>" as shown above.</p>
<p>This template and <span class="plainlinksneverexpand">Template:Evdn&#160;<tt>(</tt><small><a href="http://fa.wikipedia.org../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvdn_fdd3.html" class="external text" title="http://fa.wikipedia.org../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvdn_fdd3.html" rel="nofollow">edit</a>&#160;talk&#160;<a href="http://fa.wikipedia.org../../../w/h/a/%D9%88%DB%8C%DA%98%D9%87%7EWhatlinkshere_Template%7Eevdn_571a.html" class="external text" title="http://fa.wikipedia.org../../../w/h/a/%D9%88%DB%8C%DA%98%D9%87%7EWhatlinkshere_Template%7Eevdn_571a.html" rel="nofollow">links</a>&#160;<a href="http://fa.wikipedia.org../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvdn_fdd3.html" class="external text" title="http://fa.wikipedia.org../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvdn_fdd3.html" rel="nofollow">history</a></small><tt>)</tt></span> can be used if the case of an expression in double braces which itself includes a pair of double braces (simple <b>nested</b> expressions). For the former, use named parameters 1n (<b>N</b>ested part of first parameter) and optionally 1a (part <b>A</b>fter that). For the latter, use "|" for the inner "{{" and, if there is code after it, also for "}}".</p>
<ol>
<li>{{<strong class="selflink">evd</strong><tt>|</tt>#expr:24*<tt>|</tt>1n=CURRENTDAY}} gives {{<small>&#160;</small><code>#expr:24*</code>{{<code>CURRENTDAY</code>}}}} gives "Expression error: Unrecognised punctuation character "�""</li>
<li>{{evdn<tt>|</tt>#expr:24*<tt>|</tt>CURRENTDAY}} gives الگو:Evdn</li>
<li>{{<strong class="selflink">evd</strong><tt>|</tt>#expr:24*<tt>|</tt>1n=CURRENTDAY<tt>|</tt>1a=-24}} gives {{<small>&#160;</small><code>#expr:24*</code>{{<code>CURRENTDAY</code>}}<code>-24</code>}} gives "Expression error: Unrecognised punctuation character "�""</li>
<li>{{evdn<tt>|</tt>#expr:24*<tt>|</tt>CURRENTDAY<tt>|</tt>-24}} gives الگو:Evdn</li>
<li>{{evdn<tt>|</tt>#expr:4*<tt>|</tt>#expr:not 0<tt>|</tt> &gt;3 | yields}} displays
<dl>
<dd>الگو:Evdn</dd>
</dl>
</li>
<li>{{evdn<tt>|</tt>urlencode:<tt>|</tt>DIRMARK}} displays
<dl>
<dd>الگو:Evdn</dd>
</dl>
</li>
</ol>
<p>Examples with additional parameters (no nesting possible):</p>
<dl>
<dt>Example:</dt>
<dd>{{<strong class="selflink">Evd</strong><tt>|</tt>#ifeq: 1.00<tt>|</tt>+1<tt>|</tt>okay}} gives:</dd>
<dd>{{<small>&#160;</small><code>#ifeq: 1.00<b>|</b>+1<b>|</b>okay</code>}} gives "okay"</dd>
<dt>Example:</dt>
<dd>{{<strong class="selflink">Evd</strong><tt>|</tt>#ifeq: this<tt>|</tt>that<tt>||</tt>false<tt>|</tt>is}} gives:</dd>
<dd>{{<small>&#160;</small><code>#ifeq: this<b>|</b>that<b>|</b><b>|</b>false</code>}} gives "false"</dd>
<dt>Example:</dt>
<dd>{{<strong class="selflink">Evd</strong><tt>|</tt>#expr: 3*4}} gives:</dd>
<dd>{{<small>&#160;</small><code>#expr: 3*4</code>}} gives "12"</dd>
<dt>Example:</dt>
<dd>{{evaldemo<tt>|</tt>#expr: 3*4}} gives:</dd>
<dd>الگو:Evaldemo</dd>
</dl>
<dl>
<dd>{{<small>&#160;</small><code>tc</code>}} gives "الگو:Tc"</dd>
<dd>{{<small>&#160;</small><code>t<b>|</b>b</code>}} gives "الگو:T"</dd>
<dd>{{<small>&#160;</small><code>t<b>|</b>b<b>|</b>c</code>}} yields "الگو:T"</dd>
<dd>{{<small>&#160;</small><code>t2<b>|</b>b<b>|</b>c</code>}} gives "الگو:T2"</dd>
<dd>{{<small>&#160;</small><code>t2<b>|</b>b<b>|</b>c<b>|</b>d</code>}} gives "الگو:T2"</dd>
<dd>{{<small>&#160;</small><code>t2<b>|</b>b<b>|</b>c<b>|</b>d</code>}} yields "الگو:T2"</dd>
</dl>
<p>Optional substitution with <tt>subst=subst:</tt> is <b>not</b> supported. It's anyway against the spirit of this demo template showing what another template actually <b>does</b>, and not what it <b>did</b> some time ago.</p>

<!-- 
Pre-expand include size: 94432 bytes
Post-expand include size: 7761 bytes
Template argument size: 2908 bytes
Maximum: 2048000 bytes
-->
<div class="printfooter">
برگرفته از «<a href="http://fa.wikipedia.org../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvd_de75.html">http://fa.wikipedia.org../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvd_de75.html</a>»</div>
	    <div id="catlinks"><p class='catlinks'><a href="../../../c/a/t/%D9%88%DB%8C%DA%98%D9%87%7ECategories_70f0.html" title="ویژه:Categories">رده‌های صفحه</a>: <span dir='rtl'><a href="../../../h/a/n/%D8%B1%D8%AF%D9%87%7EHandbook_templates_9645.html" title="رده:Handbook templates">Handbook templates</a></span></p></div>	    <!-- end content -->
	    <div class="visualClear"></div>
	  </div>
	</div>
      </div>
      <div id="column-one">
	<div id="p-cactions" class="portlet">
	  <h5>Views</h5>
	  <ul>
	    <li id="ca-nstab-template"
	       class="selected"	       ><a href="../../../e/v/d/%D8%A7%D9%84%DA%AF%D9%88%7EEvd_de75.html">الگو</a></li><li id="ca-talk"
	       class="new"	       ><a href="../../../e/v/d/%D8%A8%D8%AD%D8%AB_%D8%A7%D9%84%DA%AF%D9%88%7EEvd_3e84.html">بحث</a></li><li id="ca-current"
	       	       ><a href="http://fa.wikipedia.org/wiki/%D8%A7%D9%84%DA%AF%D9%88:Evd">نسخهٔ فعلی</a></li>	  </ul>
	</div>
	<div class="portlet" id="p-logo">
	  <a style="background-image: url(../../../upload/b/bc/Wiki.png);"
	    href="../../../index.html"
	    title="صفحهٔ اصلی"></a>
	</div>
	<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
		<div class='portlet' id='p-navigation'>
	  <h5>گشتن</h5>
	  <div class='pBody'>
	    <ul>
	    	      <li id="n-mainpage"><a href="../../../index.html">صفحهٔ اصلی</a></li>
	     	      <li id="n-portal"><a href="../../../%D8%AF/%D8%B1/%DA%AF/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7%7E%D8%AF%D8%B1%DA%AF%D8%A7%D9%87_%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%D8%A7%D9%86.html">درگاه کاربران</a></li>
	     	      <li id="n-currentevents"><a href="../../../%D9%88/%D9%82/%D8%A7/%D8%AF%D8%B1%DA%AF%D8%A7%D9%87%7E%D9%88%D9%82%D8%A7%DB%8C%D8%B9_%DA%A9%D9%86%D9%88%D9%86%DB%8C.html">وقایع کنونی</a></li>
	     	      <li id="n-help"><a href="../../../%D8%B1/%D8%A7/%D9%87/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7%7E%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7.html">راهنما</a></li>
	     	      <li id="n-sitesupport"><a href="http://wikimediafoundation.org/wiki/Fundraising">کمک مالی</a></li>
	     	    </ul>
	  </div>
	</div>
		<div id="p-search" class="portlet">
	  <h5><label for="searchInput">جستجو</label></h5>
	  <div id="searchBody" class="pBody">
	    <form action="javascript:goToStatic(3)" id="searchform"><div>
	      <input id="searchInput" name="search" type="text"
	        accesskey="f" value="" />
	      <input type='submit' name="go" class="searchButton" id="searchGoButton"
	        value="برود" />
	    </div></form>
	  </div>
	</div>
	      </div><!-- end of the left (by default at least) column -->
      <div class="visualClear"></div>
      <div id="footer">
    <div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="../../../skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" /></a></div>	<div id="f-copyrightico"><a href="http://wikimediafoundation.org/"><img src="../../../images/wikimedia-button.png" border="0" alt="Wikimedia Foundation"/></a></div>	<ul id="f-list">
	  	  	  <li id="f-credits">این صفحه آخرین بار در ۱۹:۲۱، ۲۳ اوت ۲۰۰۷ به دست <a href="../../../m/r/o/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%7EMrostam_4c45.html" title="کاربر:Mrostam">Mrostam</a>، کاربر ویکی‌پدیا تغییر یافته‌است. </li>	  <li id="f-copyright">محتویات تحت اجازه‌نامهٔ <a href="../../../COPYING.html" class="external " title="../../../COPYING.html" rel="nofollow">GNU Free Documentation License</a> در دسترس است.</li>	  <li id="f-about"><a href="../../../%D8%AF/%D8%B1/%D8%A8/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7%7E%D8%AF%D8%B1%D8%A8%D8%A7%D8%B1%D9%87.html" title="ویکی‌پدیا:درباره">دربارهٔ ویکی‌پدیا</a></li>	  <li id="f-disclaimer"><a href="../../../%D8%AA/%DA%A9/%D8%B0/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7%7E%D8%AA%DA%A9%D8%B0%DB%8C%D8%A8%E2%80%8C%D9%86%D8%A7%D9%85%D9%87%D9%94_%D8%B9%D9%85%D9%88%D9%85%DB%8C.html" title="ویکی‌پدیا:تکذیب‌نامهٔ عمومی">تکذیب‌نامه‌ها</a></li>	  	</ul>
      </div>
    </div>
  </body>
</html>
