Template:Entry/doc

From Enter the Gungeon Wiki
Jump to: navigation, search
Template-info.png Documentation

This is a helper template for highlighting links and shortening them. It is mainly used for category links within Template:Item Types and Template:Gun Types.

Syntax

{{entry
|img = 
|link = 
|text = 
|hl = {{{hl|}}}
}}

Parameters

Aside from image and size, all parameters can be input as wikitext, including links, line breaks, and sometimes other templates.

Parameter Optional Description
img Icon to appear before link. File location existing in wiki. The prefix File: is not required.
link Yes Link location. If omitted, the link will be set to :Category:{{{text|}}}
text Link text.
hl Highlighter string. Makes link bold, if link text appears anywhere within highlighter string.
Inherited from Template Item Types, and typically contains multiple link texts. Always equals {{{hl|}}}.


Example

{{Entry|img=Ice Cube.png|text=Coolness|hl={{{hl|}}}}}

Preview: Ice Cube.png  Coolness

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.