Templat:Tnull: Perbedaan antara revisi

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian
dw>Primefac
(Primefac moved page Template:Tnull to Template:Template link null: more obvious template name to match family)
 
(Created page with "<includeonly><code>{{((}}<!-- -->{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}<!-- -->|{{lcfirst:{{{1|}}}}}<!-- -->|{{{1|}}}<!-- -->}}<!-- -->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!-- -->{{#if:{{{3|}}}|{{!}}{{{3}}}|}}<!-- -->{{#if:{{{4|}}}|{{!}}{{{4}}}|}}<!-- -->{{#if:{{{5|}}}|{{!}}{{{5}}}|}}<!-- -->{{#if:{{{6|}}}|{{!}}{{{6}}}|}}<!-- -->{{#if:{{{7|}}}|{{!}}{{{7}}}|}}<!-- -->{{#if:{{{8|}}}|{{!}}{{{8}}}|}}<!-- -->{{))}}</code></includeonly><noinclude>{{documentation}}</noinclude>")
Baris 1: Baris 1:
#REDIRECT [[Template:Template link null]]
<includeonly><code>{{((}}<!--
 
-->{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}<!--
{{Redirect category shell|
  -->|{{lcfirst:{{{1|}}}}}<!--
{{R from move}}
  -->|{{{1|}}}<!--
}}
-->}}<!--
-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!--
-->{{#if:{{{3|}}}|{{!}}{{{3}}}|}}<!--
-->{{#if:{{{4|}}}|{{!}}{{{4}}}|}}<!--
-->{{#if:{{{5|}}}|{{!}}{{{5}}}|}}<!--
-->{{#if:{{{6|}}}|{{!}}{{{6}}}|}}<!--
-->{{#if:{{{7|}}}|{{!}}{{{7}}}|}}<!--
-->{{#if:{{{8|}}}|{{!}}{{{8}}}|}}<!--
-->{{))}}</code></includeonly><noinclude>{{documentation}}</noinclude>

Revisi per 22 September 2023 13.39

[lihat] [sunting] [riwayat] [hapus singgahan] Ikon dokumentasi Dokumentasi templat

Usage

Tnull is used to nullify templates in the monospaced font. It is similar to {{tlx}} in the way that it has support for many parameters, but it does not link the template name. It is similar to {{tlc}}, but does not prevent text wrapping.

Example

Typing {{tnull|foo|bar|baz|boo}} in the edit window would yield {{foo|bar|baz|boo}} in the rendered page.

Special character handling

"=" (equality sign)

If there is a "=" character (equality/equals sign) in any parameter, it must be replaced with &#61; [or {{=}}?]:

{{tnull|click|image&#61;image name|width&#61;width|height&#61;height|link&#61;page name}}

Or you can use parameter-number=value as in:

{{tnull|click|2=image=image name|3=width=width|4=height=height|5=link=page name}}

Either method would yield the following output:

{{click|image=image name|width=width|height=height|link=page name}}

"|" (vertical bar, pipe)

If a second consecutive pipe (|) is used to denote that a parameter has been skipped, you must replace it with &#124; as in:

{{tnull|look from|Alan|&#124;all the Alans}}

That would yield the following displayed output:

{{look from|Alan||all the Alans}}

TemplateData

TemplateData documentation used by VisualEditor and other tools
Lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk Tnull

Show example template usage without expanding the template itself. Unlike {{tlx}}, does not link the template.

[Kelola data templat]

Parameter templat

Templat ini lebih menyukai format parameter dalam satu baris.

ParameterKeteranganJenisStatus
Template name1

Name of the template to link

Contoh
Tlx
Templatwajib diisi
1st parameter2

tidak ada keterangan

Kataopsional
2nd parameter3

tidak ada keterangan

Kataopsional
3rd parameter4

tidak ada keterangan

Kataopsional
4th parameter5

tidak ada keterangan

Kataopsional
5th parameter6

tidak ada keterangan

Kataopsional
6th parameter7

tidak ada keterangan

Kataopsional
7th parameter8

tidak ada keterangan

Kataopsional
8th parameter9

tidak ada keterangan

Kataopsional
9th parameter10

tidak ada keterangan

Kataopsional
10th parameter11

tidak ada keterangan

Kataopsional

See also

Comparison of template-linking templates according to the styles of generated text and link produced
Text style ↓ {{tlg}} options[note 1]
to achieve text style
Link style
Linked Unlinked Linked with subst
{{tlg}} options[note 1]
to achieve link style
N/A DEFAULT nolink=1 subst=1
normal DEFAULT
  • {{tlg}}[note 1]
  • {{tl}}
  • {{tlp|1|2|...}}[note 2]
code code=1
monospace mono=1[note 4]
N/A
plaincode plaincode=1[note 5]
kbd kbd=1[note 6]

Templat:NoteFoot [[Category:Internal template-link templates{{#translation:}}]] [[Category:Typing-aid templates{{#translation:}}]]


Kesalahan pengutipan: Ditemukan tag <ref> untuk kelompok bernama "note", tapi tidak ditemukan tag <references group="note"/> yang berkaitan