Template:MainPageLink

From Wikicarpedia
Revision as of 09:50, 4 August 2024 by Petul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main Page

Description

Creates translatable link for Main Page.
This template does not have a name on a separate page. Setting the link and name is part of this template.
Documentation generated by Template:PageLinkDocumentation.
Link and name is generated by Template:ExpansionLink.

Parameters

  • text (optional) can overwrite text of link, specially when want to use for example "here", or different grammatical case.
  • anchor (optional) link with anchor.
  • linkonly (optional) [ true | false ] When true return only link with anchor.

Examples

(The output is generated by the buffer, after the change it is necessary to wait for a while)

Wiki Output
{{MainPageLink}} Main Page
{{MainPageLink|text=some text}} some text
{{MainPageLink|linkonly=true}} Main_Page
{{MainPageLink|linkonly=true|anchor=example}} Main_Page#example