Template:BASEPAGENAME/doc

< Template:BASEPAGENAME
Revision as of 18:28, 30 September 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage|Template:BASEPAGENAME ''and other similar templates''.}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see Bharatpedia:Bharatdata) --> {{nutshell|Never write {{!xt|{{{{BASEPAGENAME}}'''|'''''argument''}}}}. Write {{xt|{{{{BASEPAGENAME}}''':'''''argument''}}}} instead.}} {{transclusionless}} == Usage == The magic word {{BASEPAGENAME}} is de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

The magic word BASEPAGENAME is described at Bharatpedia:Magic words#Parser functions. An example of its output is {{BASEPAGENAME:Template:Example/with/subpages}} → "Example/with".

This template should never be used, but when someone uses the magic word "BASEPAGENAME" with a piped parameter, it will prevent breakage. Parameter 1 will be used as the : parameter, other parameters will be discarded.

The page will be added to the hidden category Category:Pages which use a template in place of a magic word (756).

Tracking category