Template:GetSubpage/doc: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
No edit summary
Icie (talk | contribs)
No edit summary
 
Line 18: Line 18:
"category"
"category"
]
]
},
"category": {
"description": "specifies that a colon will be the delimiter"
}
}
},
},

Latest revision as of 05:33, 16 January 2026

Returns the subpage portion of given text eg: {{GetSubpage|Test Drive Meme - March 2025/FAQ Page}} gives FAQ Page

Use category to return the name portion of a category eg {{GetSubpage|Category:Test Drive Meme|category}} gives Test Drive Meme

Gives the subpage portion of the provided text

Template parameters

ParameterDescriptionTypeStatus
Page name to retrieve the subpage from1

no description

Page namerequired
type2

if "category" extracts the name of the category

Suggested values
category
Stringoptional