Link to self via template test
This is an old revision of this page, as edited January 10, 2018, 11:55 AM by ACL(contribs). It may differ significantly from the current revision.
[TEMPLATE]Infobox test 25
|Header=with user provided parameter
|Field 1={{{1|}}}
|Field 2=[wiki]{{{1|}}}[/wiki]
|Field 3=[wiki="{{{1|}}}"]{{{1|}}}[/wiki]
|Field 4=[if="{{{1|}}}"]{{{1|}}}[else /]no[/if]
|Field 5=[if="{{{1|}}}"][wiki]{{{1|}}}[/wiki][else /]no[/if]
|Field 6=[if="{{{1|}}}"][wiki="{{{1|}}}"]{{{1|}}}[/wiki][else /]no[/if]
[/TEMPLATE]
[TEMPLATE]Infobox test 25
|Header=with PAGENAME variable
|Field 1=[var]PAGENAME[/var]
|Field 2=[wiki][var]PAGENAME[/var][/wiki]
|Field 3=[wiki="[var]PAGENAME[/var]"][var]PAGENAME[/var][/wiki]
|Field 4=[if=true][var]PAGENAME[/var][else /]no[/if]
|Field 5=[if=true][wiki][var]PAGENAME[/var][/wiki][else /]no[/if]
|Field 6=[if=true][wiki="[var]PAGENAME[/var]"][var]PAGENAME[/var][/wiki][else /]no[/if]
[/TEMPLATE]