Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:39, 10 November 2025 by ReisuDesign (talk | contribs) (Created page with "{{Documentation/Header}} {{Lua|Formatting}} This template allows to display formatting methods without them being actually applied to the text for examples and guides. * For direct template call format use: {{T|T}} * For direct link format use: {{T|L}} ==Examples== ;Default {{T|F|Xiao|_Y_=1}} ;Link with label and bolding {{T|F|p1=Xiao|p2=Alatus|p3=l=1|p4=b=1|_Y_=1}} ;External Link with italic, underline, in ref tags and variable link label {{T|F|https://youtu.be/mpD8b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for F.
It contains usage information, categories, and other content not part of the original template page.
This template uses Module:Formatting (edit | hist), a script written in Lua.

This template allows to display formatting methods without them being actually applied to the text for examples and guides.

  • For direct template call format use: {{T}}
  • For direct link format use: {{L}}

Examples edit

Default

{{F|Xiao}} yields: Xiao

Link with label and bolding

{{F|Xiao|Alatus|l = 1|b = 1}} yields: <b>[[Xiao|Alatus]]</b>

External Link with italic, underline, in ref tags and variable link label

{{F|https://youtu.be/mpD8bIM1FLU|element|el = 1|i = 1|u = 1|r = 1|vl = 1}} yields: <ref><i><u>[https://youtu.be/mpD8bIM1FLU element]</u></i></ref>

Link with variable Input indication and bolding

{{F|Xiao|Alatus|l = 1|b = 1|v = 1}} yields: <b>[[Xiao|Alatus]]</b>

Template formatting with direct input and variable input with named and unnamed params

{{F|Icon|p1 = alatus=blue|v2 = element=blue|p3 = azure|v4 = potato|t = 1}} yields: {{Icon|alatus = blue|element = blue|azure|potato}}

Template Data edit

Template for displaying formatting methods as they would show in source editor mode.

Template parameters

ParameterDescriptionTypeStatus
Texttext 1

Main input to display, represents the page to link in link format and the url to link to in external link format.

Stringrequired
Linklink l

Option for internal link formatting.

Stringoptional
External Linkexternal-link el

Option for external link formatting.

Stringoptional
Labellabel 2

Functional only with link or external link formatting active, text to add as label.

Stringoptional
Variable Inputvariable v

Display text as variable input (i.e. expected to be replaced by appropiate text).

Stringoptional
Variable Inputvariable-label vl

Functional only with link or external link formatting active, display the link lable as variable input (i.e. expected to be replaced by appropiate text).

Stringoptional
Variable Inputv#

Functional only with template call formatting active, parameter to display as variable input (i.e. expected to be replaced by appropiate text).

Stringoptional
Templatetemplate t

Option for template call formatting.

Stringoptional
Fixed Inputp#

Functional only with template call formatting active, parameter to display as fixed input (i.e. expected to be used as-is).

Stringoptional
Boldbold b

Option for bold formatting.

Booleanoptional
Italicitalic i

Option for italic formatting.

Booleanoptional
Underlineunderline u

Option for underline formatting.

Booleanoptional
Ref Tagref r

Option for adding <ref></ref> tags.

Booleanoptional
NoWikinowiki nw

Option for adding <nowiki></nowiki> tags.

Booleanoptional