Template:Inline Item: Difference between revisions

From Zezenia Online Wiki
No edit summary
Add count
Line 1: Line 1:
<includeonly><span style="display: inline-flex; flex-direction: row; flex-grow: 0; align-items: flex-start;">[[File:{{{1|}}}.png|frameless|link={{{1|}}}]]<span style="display: inline-block; padding-top: 2px; padding-left: 4px;">[[{{{1|}}}]]</span></span></includeonly><noinclude>
<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>
This template is used to add an inline link to items.
This template is used to add an inline link to items.


== Examples ==
== Examples ==


You may use a {{Inline Item|Premium Card}} 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.


<code><nowiki>{{Inline Item|Premium Card}}</nowiki></code>
<code><nowiki>{{Inline Item|Premium Card}}</nowiki></code>
</noinclude>
</noinclude>

Revision as of 19:43, 18 April 2021

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

Examples

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

{{Inline Item|Premium Card}}