Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

Template:GetFileName

From Dragon Mania Legends (DML) Wiki

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation. (About template documentation)

Example(s)

  • {{#sub:Sweet Forest Habitat.png|0|-4}} gives: Sweet Forest Habitat
  • {{GetFileName|Sweet Forest Habitat.png}} gives: Sweet Forest Habitat

Note: {{PAGENAME}} itself gives the page name without namespace, but would include file extension, this template trims that off.

See Also

Determines a file's title only, removing namespace (if the default, {{PAGENAME}} is used), and removes file extension of the given parameter. This template is primarily used by infobox and data-automation templates.

Template parameters

ParameterDescriptionTypeStatus
Page Name1

no description

Default
{{PAGENAME}}
Stringoptional


This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.