ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:F/doc

From ModEnc
Jump to navigation Jump to search
This template should be used in favor of Template:tt when styling flags.

This template is used to format flag mentions on ModEnc pages. Depending on the arguments provided, it can format flags in the following ways:

Usage

{{f|FLAGNAME|VALUE?|link?}}
Where
Tag Description
FLAGNAME name of the flag to process
VALUE the value the flag to process should be displayed with
link constant trigger to trigger linking

Example

Code Result
Flag only
{{f|Damage}} Damage
  • This will only apply text formatting to the flag.
Flag only, linked
{{f|Damage|link}} Damage
{{f|Damage#IsLocomotor|link}} Damage
  • This will apply text formatting and link to the flag's page.
Flag with value
{{f|Damage|100}} Damage=100
  • This will apply text formatting and append the provided value.
Flag with value, linked
{{f|Damage|100|link}} Damage=100
{{f|Damage#IsLocomotor|100|link}} Damage=100
{{f|Damage||link}} Damage=
  • This will apply text formatting, append the provided value and link to the flag's page.

See Also