Template:Inline Item: Difference between revisions

From Zezenia Online Wiki
Add count
Add format
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span style="display: inline-flex; flex-direction: row; flex-grow: 0; align-items: flex-start; vertical-align: middle;">{{#if: {{{Count|}}} | <span style="font-size: 80%; padding-right: 4px; padding-top: 4px;">{{{Count}}} x </span> | }}[[File:{{{1|}}}.png|frameless|link={{{1|}}}]]<span style="display: inline-block; padding-top: 4px; padding-left: 4px;">[[{{{1|}}}]]</span></span></includeonly><noinclude>
<includeonly><span style="">{{#if: {{{Count|}}} | <span style="font-size: 80%;">{{{Count}}} x </span> | }}[[File:{{{1|}}}.{{{Format|png}}}|frameless|link={{{1|}}}]]<span style="display: inline-block; padding-left: 4px">[[{{{1|}}}]]</span></span></includeonly><noinclude>
This template is used to add an inline link to items.
This template is used to add an inline link to items.


== Examples ==
== Examples ==
Drinking a {{Inline Item|Health jar}} will heal your character.
<code><nowiki>{{Inline Item|Premium Card}}</nowiki></code>


You may use {{Inline Item|Premium Card|Count=1}} to add 24 hours of Premium Time to an account.
You may use {{Inline Item|Premium Card|Count=1}} to add 24 hours of Premium Time to an account.

Latest revision as of 08:42, 29 September 2023

This template is used to add an inline link to items.

Examples

Drinking a Health jar will heal your character.

{{Inline Item|Premium Card}}

You may use 1 x Premium Card to add 24 hours of Premium Time to an account.

{{Inline Item|Premium Card}}