Jump to content

Template:Dialog/button/1-nam/doc

From Wikinews, the free news source you can write!

This is a subtemplate of {{dialog/button}}. Given the specification of a single dialog parameter for the button, it determines whether a literal value is provided for the parameter (that is, whether the spec contains a double-colon), and if so, extracts the name of the parameter for subsequent use. If no literal value is provided, the template returns the empty string. Uses {{evalx}}.