Template:Icon: Difference between revisions

From Beekeepers
Jump to navigationJump to search
No edit summary
No edit summary
Tag: Manual revert
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div class="icon-container" style="display:inline-flex; flex-direction:column; text-align:center; vertical-align:top;">
<div class="icon-container" style="display:inline-block; text-align:center; vertical-align:top;">
<div>[[File:{{{1}}}.png|frameless|center|125px|link={{{2|{{{1}}}}}}]]</div>
<div>[[{{{caption|{{{|2|{{{1}}}}}}}}}|{{{2|{{{1}}}}}}]]</div></div></includeonly>
<noinclude>
== Parameters ==
{| class="wikitable"
|-
! Parameter
! Function
|-
| <pre>1=</pre>
| Image of the Icon.
|-
| <pre>2=</pre>
| Link for the image.
|-
| <pre>caption=</pre>
| Caption for the Icon.
|}


    <!-- Image -->
== Exmaple ==
    | {{#if: {{{2|}}}
<pre>
        | [[File:{{{1}}}.png|frameless|center|125px|link={{{2}}}]]
{{Icon|BoringBee|Boring Bee|caption=Boring Bee}}
        | [[File:{{{1}}}.png|frameless|center|125px|link={{{1}}}]]
</pre>
    }}
{{Icon|BoringBee|Boring Bee|caption=Boring Bee}}


    <!-- Caption -->
<pre>
   
{{Icon|Buzzy Bee}}
</div>
</pre>
</includeonly>
{{Icon|Buzzy Bee}}

Latest revision as of 19:02, 23 November 2026


Parameters

[edit]
Parameter Function
1=
Image of the Icon.
2=
Link for the image.
caption=
Caption for the Icon.

Exmaple

[edit]
{{Icon|BoringBee|Boring Bee|caption=Boring Bee}}


{{Icon|Buzzy Bee}}