Template:IconEx/Link

From HorizonXI Wiki
< Template:IconEx
Revision as of 00:40, 10 February 2023 by Garnet-HorizonXI (Fandom) (talk | contribs) (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>|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  1. user: The link value provided to the main template by the user.
  2. 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.