Template:prefAnch

  • Revision slug: Template:prefAnch
  • Revision title: Template:prefAnch
  • Revision id: 109254
  • Created:
  • Creator: Sevenspade
  • Is current revision? No
  • Comment add headings for other languages; 8 words added

Revision Content

English

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")}}

Español

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

Uso:

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

o,

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

Fallback

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

Usage:

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

or,

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

Deutsch

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

Benutzung:

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

oder,

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

Français

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)))

Polski

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">
<div class="noinclude">
<h2>English</h2>
</div>
<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">
<div class="noinclude">
<h2>Español</h2>
</div>
<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-*">
<div class="noinclude">
<h2>Fallback</h2>
</div>
<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">
<div class="noinclude">
<h2>Deutsch</h2>
</div>
<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">
<div class="noinclude">
<h2>Français</h2>
</div>
<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">
<div class="noinclude">
<h2>日本語</h2>
</div>
<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">
<div class="noinclude">
<h2>한국어</h2>
</div>
<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">
<div class="noinclude">
<h2>Polski</h2>
</div>
<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">
<div class="noinclude">
<h2>中文</h2>
</div>
<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