Template:MainPageLink

From Wikicarpedia
Revision as of 17:59, 30 July 2024 by Petul (talk | contribs)
Jump to navigation Jump to search

Main Page

Description

Creates translatable link for {{{{{pagetemplate}}}}}.
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
{{{{{pagetemplate}}}}} {{{{{pagetemplate}}}}}
{{{{{pagetemplate}}}|text=some text}} text=some text}}
{{{{{pagetemplate}}}|linkonly=true}} linkonly=true}}
{{{{{pagetemplate}}}|linkonly=true|anchor=example}} linkonly=true|anchor=example}}