Difference between revisions of "Template:Template-linking templates"

From Wikidot - Australian Business Wiki
Jump to navigation Jump to search
Template:Mlx>Primefac
 
m (1 revision imported)
 
(No difference)

Latest revision as of 04:45, 27 March 2021

General-purpose formatting

Comparison of template-linking templates according to the styles of generated text and link produced
Text style ↓ Lua error: Internal error: The interpreter exited with status 127. options[note 1]
to achieve text style
Link style
Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Lua error: Internal error: The interpreter exited with status 127. options[note 1]
to achieve link style
N/A DEFAULT nolink=yes subst=yes braceinside=yes alttext=Foo
2=Foo
normal DEFAULT Lua error: Internal error: The interpreter exited with status 127.[note 1]
{{tl}}
Lua error: Internal error: The interpreter exited with status 127.[note 2]
{{Template:tlu}}[note 3]
Lua error: Internal error: The interpreter exited with status 127.[note 2]
<template link>
Lua error: Internal error: The interpreter exited with status 127.
{{subst:Template:tlsu}}[note 3]
Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.
code code=yes {{tl2}}
Lua error: Internal error: The interpreter exited with status 127.
{{Template:tlxu}}3[note 3]
Lua error: Internal error: The interpreter exited with status 127.[note 2]
<template link>
Lua error: Internal error: The interpreter exited with status 127.<template link>
Lua error: Internal error: The interpreter exited with status 127. N/A
monospace plaincode=yes[note 4] N/A {{subst:tltss}}[note 5]
kbd kbd=yes[note 5]
bold bold=yes Lua error: Internal error: The interpreter exited with status 127. N/A
bold+code bold=yes|code=yes Lua error: Internal error: The interpreter exited with status 127.
italic+code italic=yes|code=yes Lua error: Internal error: The interpreter exited with status 127.
  1. 1.0 1.1 1.2 Lua error: Internal error: The interpreter exited with status 127. is the most general template, allowing any combination of text style and/or link style options.
  2. 2.0 2.1 2.2 Prevents wrapping of text by placing it inside <span class="nowrap">...</span> tags.
  3. 3.0 3.1 3.2 Allows links to templates in any namespace.
  4. Lua error: Internal error: The interpreter exited with status 127. uses <code style="border:none; background-color:transparent;">...</code>.
  5. 5.0 5.1 Displays monospaced font using <span style="font-family:monospace;">...</span>.

Lua error: Internal error: The interpreter exited with status 127.

Other formatting templates

Templates producing specialised formatting effects for given templates, modules or parameters
Code example Effect Notes
Lua error: Internal error: The interpreter exited with status 127. {{hatnote}} Supports linking to sister projects (e.g., fr:Hatnote)
Lua error: Internal error: The interpreter exited with status 127. {{User:Ahunt/SSHFS}} Supports linking to any namespace
Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Shows code and example
Lua error: Internal error: The interpreter exited with status 127. "{{hatnote|Some hatnote text}}" gives "Script error: No such module "Hatnote"." [1] Shows code, example and a link to expand the template code
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote Produces a normal link to the template
Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127.
[[Template:Hatnote]]
[[Template:Hatnote|Hatnote]]
Formats wikilink, with optional piped link text and blended suffix
Lua error: Internal error: The interpreter exited with status 127. {{#invoke:Lua error: Internal error: The interpreter exited with status 127.}} Counterpart to {{tl}} for linking to Lua modules
Lua error: Internal error: The interpreter exited with status 127. {{#invoke:Lua error: Internal error: The interpreter exited with status 127.}} Counterpart to {{tlx}} for linking to Lua modules
Lua error: Internal error: The interpreter exited with status 127. |title=book title Formats template parameters for display, with or without values
Lua error: Internal error: The interpreter exited with status 127. [[[[Expression error: Unexpected < operator.LASTING]]]] Takes a shortcut suffix in project namespace and displays it with brackets and the WP: alias in a <code>...</code> tag.
Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127.
<ref>...</ref>
<templatedata>
Formats [X]HTML tags; can add content, choose opening, closing, or self-closing
Lua error: Internal error: The interpreter exited with status 127. {{d:Ping project}} Wikidata counterpart to {{tl}}
Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127.
{{#if}}
{{#if:{{{1}}}|true|false}}
Parser function equivalent to {{tl}}

With utility links

Templates producing utility links for a given template (Hatnote used here as example)
Code example Effect
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote (edit | talk | history | links | watch | logs)
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote(edit talk links history)
Lua error: Internal error: The interpreter exited with status 127. Template:T links/sandbox links
Lua error: Internal error: The interpreter exited with status 127. Script error: No such module "Tfd links".
Lua error: Internal error: The interpreter exited with status 127. {{Hatnote}}
links talk edit
Lua error: Internal error: The interpreter exited with status 127. {{subst:Hatnote}}
 links talk edit
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote (talk⧼dot-separator⧽links⧼dot-separator⧽edit)
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote (talk links edit)
Lua error: Internal error: The interpreter exited with status 127. m:Template:Hatnote (backlinks edit)
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote (backlinks edit)
Lua error: Internal error: The interpreter exited with status 127. {{Hatnote}} (talk)
Lua error: Internal error: The interpreter exited with status 127. {{Hatnote}} (t/l)
Lua error: Internal error: The interpreter exited with status 127. Template:Hatnote (links, talk)

Lua error: Internal error: The interpreter exited with status 127.