Ùsaid - Usage

deasaich

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.

Eisimpleirean - Examples

deasaich

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

Special character handling

deasaich

"=" (equality sign)

deasaich

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

{{Tnull|click|image=image name|width=width|height=height|link=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)

deasaich

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

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

That would yield the following displayed output:

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

Faic cuideachd - Also see

General-purpose formatting

deasaich
Comparison of template-linking templates according to their style
Link style → Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Text style ↓ {{Tlg}} options1 DEFAULT nolink=yes subst=yes braceinside=yes alttext=Foo
2=Foo
normal DEFAULT {{Tlg}}1
{{Tl}}
{{Tlp}}2
{{Tlu}}3
{{Tlf}}2 {{Tls}}
{{Tlsp}}
{{Tlsu}}3
{{Tn}} {{Tla}}
code code=yes {{Tl2}}
{{Tlx}}
{{Tlxu}}3
{{Tlc}}2
{{Tld}}2
{{Tnull}}
{{Tlxs}} N/A
monospace
kbd
plaincode=yes4
kbd=yes5
{{Tltt}}5
{{Tltt2}}5
N/A {{Tltss}}6
bold bold=yes {{Tlb}} N/A
bold+code code=yes {{Tlxb}}
italic+code code=yes {{Tlxi}}

Other formatting templates

deasaich
Code example Effect Notes
{{Tl2|Hatnote|lang=fr}} {{Hatnote}} Supports linking to sister projects (e.g., fr:Hatnote)
{{Tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} Supports linking to any namespace
{{Demo|<nowiki>{{Hatnote|lang=fr|Some text}}</nowiki>}}
{{Hatnote|lang=fr|Some text}}

Shows code and example
{{Xpd|Hatnote|Some Hatnote text}} "{{Hatnote|Some Hatnote text}}" gives "" [1] Shows code, example and a link to expand the template code
{{Tln|Hatnote}} Template:Hatnote Produces a normal link to the template
{{Elc|Template:Hatnote}}
{{Elc|Template:Hatnote|Hatnote}}
[[Template:Hatnote]]
[[Template:Hatnote|Hatnote]]
Formats wikilink, with optional piped link text and blended suffix
{{Ml|Example|hello}} {{#invoke:Example|hello}} Counterpart to {{Tl}} for linking to Lua modules
{{Mlx|Example|hello}} {{#invoke:Example|hello}} Counterpart to {{Tlx}} for linking to Lua modules
{{Para|title|<var>book title</var>}} title=book title Formats template parameters for display, with or without values
{{Sclx|LASTING}} [[w:en:WP:LASTING]] Takes a shortcut suffix in project namespace and displays it with brackets and the WP: alias in a <code>...</code> Tag.
{{Tag|ref}}
{{Xtag|templatedata}}
<ref>...</ref>
<templatedata>
Formats [X]HTML tags; can add content, choose opening, closing, or self-closing
{{Dtl|Ping project}} {{d:Ping project}} Wikidata counterpart to {{Tl}}
{{Pf|If}}
{{Pf|If|{{{1}}}|true|false}}
{{#If}}
{{#If:{{{1}}}|true|false}}
Parser function equivalent to {{Tl}}
deasaich
Code example Effect
{{Lt|Hatnote}} Teamplaid:Hatnote (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean)
{{Lts|Hatnote}} Teamplaid:Hatnote(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
{{T links|Hatnote}} Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{Tfd links|Hatnote}} Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete)
{{Tltt|Hatnote}} {{Hatnote}}
{{Tetl|Hatnote}} {{Hatnote}}
links talk view
{{Tsetl|Hatnote}} {{subst:Hatnote}}
 links talk view
{{Ti|Hatnote}} Teamplaid:Hatnote (deasbaireachd⧼dot-separator⧽ceanglaichean-lìn⧼dot-separator⧽deasaich)
{{Tic|Hatnote}} Template:Hatnote (talk links edit)
{{Tim|Hatnote}} m:Template:Hatnote (backlinks edit)
{{Tiw|Hatnote}} Teamplaid:Hatnote (ceanglaichean deasaich) 
{{Tlt|Hatnote}} {{Hatnote}} (talk)
{{Ttl|Hatnote}} {{Hatnote}} (t/l)
{{Twlh|Hatnote}} Template:Hatnote (links, talk)


TemplateData

deasaich
TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Tlnull

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

Paramadairean na teamplaide[Stiùirich an TemplateData]

Is fhearr leis an teamplaid seo fòrmatadh nam paramadairean am broinn na loidhne.

ParamadairTuairisgeulSeòrsaStaid
Template name1

Name of the template to link

Ball-eisimpleir
Tlx
Teamplaidriatanach
1st parameter2

gun tuairisgeul

Sreangroghainneil
2nd parameter3

gun tuairisgeul

Sreangroghainneil
3rd parameter4

gun tuairisgeul

Sreangroghainneil
4th parameter5

gun tuairisgeul

Sreangroghainneil
5th parameter6

gun tuairisgeul

Sreangroghainneil
6th parameter7

gun tuairisgeul

Sreangroghainneil
7th parameter8

gun tuairisgeul

Sreangroghainneil
8th parameter9

gun tuairisgeul

Sreangroghainneil
9th parameter10

gun tuairisgeul

Sreangroghainneil
10th parameter11

gun tuairisgeul

Sreangroghainneil