Template:Fake link/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:Fake link.
It contains usage information, categories and other content or metadata that is not part of the original template.
This template uses TemplateStyles:


TemplateData

Simple template to create a fake link: text marked up to look like a wikilink without the functionality.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Link text1

The text to be displayed with wikilink markup.

Example
Fake page name
Stringrequired
Hover text2

Allows the hover text to display differently from the link text

Default
Link text
Example
Fake hover text
Stringoptional
Red link?red

Indicates whether the link should appear as a red link. Any truthy value will work.

Example
1
Stringoptional

Examples

  • {{Fake link|Fake page name}} rendered: Fake page name
  • {{Fake link|Fake page name|red=1}} rendered: Fake page name
  • {{Fake link|Fake page name|Fake hover text}} rendered: Fake page name
  • {{Fake link|Fake page name|Fake hover text|red=1}} rendered: Fake page name