Anonymous user
General usage and invocation syntax: Difference between revisions
→Parser function method: parameter value is myPage
imported>FrozenPlum m (Add another parameter found) |
miraheze:dpl3>Soukupmi (→Parser function method: parameter value is myPage) |
||
Line 40:
==Parser function method==
This example would be used inside a template, and uses the variable <code><nowiki>{{{1}}}</nowiki></code> passed to the template, which would be set to ''myPage'' here. Parser functions look like templates which start with a hash character (#). They are more closely integrated with the wiki system. They are more powerful, but their syntax looks a bit more complicated. '''The text between these tags is pre-parsed to expand wiki mark-up ''before'' being handed over to the extension module.'''
;Example syntax
|