Template:Inline Item: Difference between revisions

From Zezenia Online Wiki
Add count
Fix styling
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|}}}.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.

Revision as of 19:15, 13 May 2021

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}}