Template:prefAnch

  • Revision slug: Template:prefAnch
  • Revision title: Template:prefAnch
  • Revision id: 109252
  • Created:
  • Creator: Sevenspade
  • Is current revision? No
  • Comment separate usage with optional third argument from its complement; one or more formatting changes

Revision Content

web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))

Usage:

 {{template.prefAnch("a-", "value")}}
 {{template.prefAnch("a-", "value", "the value attribute")}}

or,

 {{template.prefAnch("p-", "accessibleType")}}
 {{template.prefAnch("p-", "accessibleType", "the accessibleType property")}}
web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))

Uso:

 {{template.prefAnch("a-", "value")}}

o,

 {{template.prefAnch("p-", "accessibleType")}}
web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))

Usage:

 {{template.prefAnch("a-", "value")}}

or,

 {{template.prefAnch("p-", "accessibleType")}}
web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))

Benutzung:

 {{template.prefAnch("a-", "value")}}

oder,

 {{template.prefAnch("p-", "accessibleType")}}
web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))

Utilisation :

 {{template.prefAnch("a-", "value")}}

ou,

 {{template.prefAnch("p-", "accessibleType")}}
web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1))) web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1))) web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1))) web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))

Usage:

 {{template.prefAnch("a-", "value")}}

or,

 {{template.prefAnch("p-", "accessibleType")}}

Revision Source

<p><span lang="en" class="lang lang-en"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span>
<div class="noinclude">
<p>Usage:</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value")}}</span>
</pre>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value", "the value attribute")}}</span>
</pre>
<p>or,</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType")}}</span>
</pre>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType", "the accessibleType property")}}</span>
</pre>
</div>
</span> <span lang="es" class="lang lang-es"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span>
<div class="noinclude">
<p>Uso:</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value")}}</span>
</pre>
<p>o,</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType")}}</span>
</pre>
</div>
</span> <span lang="*" class="lang lang-*"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span>
<div class="noinclude">
<p>Usage:</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value")}}</span>
</pre>
<p>or,</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType")}}</span>
</pre>
</div>
</span><span lang="de" class="lang lang-de"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span>
<div class="noinclude">
<p>Benutzung:</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value")}}</span>
</pre>
<p>oder,</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType")}}</span>
</pre>
</div>
</span><span lang="fr" class="lang lang-fr"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span>
<div class="noinclude">
<p>Utilisation :</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value")}}</span>
</pre>
<p>ou,</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType")}}</span>
</pre>
</div>
</span><span lang="ja" class="lang lang-ja"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span> </span><span lang="ko" class="lang lang-ko"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span> </span><span lang="pl" class="lang lang-pl"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span> </span><span lang="zh-cn" class="lang lang-zh-cn"><span class="script">web.link('#' + $0 + $1, (string.trim(($2 || '')) !== '' ? web.html($2) : web.html($1)))</span>
<div class="noinclude">
<p>Usage:</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("a-", "value")}}</span>
</pre>
<p>or,</p>
<pre class="eval">
 <span class="nowiki">{{template.prefAnch("p-", "accessibleType")}}</span>
</pre>
</div>
</span></p>
Revert to this revision