Template:IconEx/Link: Difference between revisions
From HorizonXI Wiki
(Created page with "<noinclude>{{Tocright}} ==Usage== This is a sub-template for {{Tl|{{#titleparts:{{PAGENAME}} | 1}}}}. It is used to generate the ''link'' parameter for the File tag. ===Syntax=== <code><nowiki>{{IconEx/Link|</nowiki>''user''<nowiki>|</nowiki>''default''<nowiki>}}</nowiki></code> ====User Only==== <code><nowiki>{{IconEx/Link|{{{</nowiki>''userparm''<nowiki>|none}}}}}</nowiki></code> ====With Default==== <code><nowiki>{{IconEx/Link|{{{</nowiki>''userparm''<nowiki>|...") |
(No difference)
|
Latest revision as of 00:40, 10 February 2023
Usage
This is a sub-template for {{IconEx}}.
It is used to generate the link parameter for the File tag.
Syntax
{{IconEx/Link|user|default}}
User Only
{{IconEx/Link|{{{userparm|none}}}}}
With Default
{{IconEx/Link|{{{userparm|none}}}|Some Page Name}}
Parameters
- user: The link value provided to the main template by the user.
- default: The default link value to use if user is blank.
To prevent a link value from being created, do not pass a default value.
Default Output
None. This is a sub-template that outputs the link parameter.
