Template:Iconbox: Difference between revisions

From [N8]
Jump to navigation Jump to search
Zero (talk | contribs)
m Protected "Template:Iconbox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
Line 1: Line 1:
<includeonly><div style="display:flex; align-items:center;">[[File:{{#if:{{{image|}}}|{{{image}}}|{{{1|Achievement name}}}.{{{extension|png}}}}}|{{{1}}} icon]]
<includeonly><div style="display:flex; border radius: 50%; align-items:center;">[[File:{{#if:{{{image|}}}|{{{image}}}|{{{1|Achievement name}}}.{{{extension|png}}}}}|{{{1}}} icon]]
<div style="margin-left:5px;"><div style="font-weight: bold; font-size:larger;">{{#ifeq:{{{link}}}|on|[[{{{1}}}]]|{{{1}}}}}{{anchor|{{{1}}}}}</div><div style="line-height: 1.2em; font-style: italic; font-size:smaller;">{{{2|The description of the achievements}}}</div></div></div></includeonly><noinclude>
<div style="margin-left:5px;"><div style="font-weight: bold; font-size:larger;">{{#ifeq:{{{link}}}|on|[[{{{1}}}]]|{{{1}}}}}{{anchor|{{{1}}}}}</div><div style="line-height: 1.2em; font-style: italic; font-size:smaller;">{{{2|The description of the achievements}}}</div></div></div></includeonly><noinclude>
{{template doc}}
{{template doc}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:18, 1 January 2020

[view] [edit] Template documentation

Usage

One item in a list of icons (items,etc.).

{{Iconbox|name|description}}
{{Iconbox|name|description|link=on}}

Example

{{Iconbox|50-50 Earth|Planet Earth.}}

50-50 Earth icon
50-50 Earth
Planet Earth.


{{Iconbox|50-50 Earth|Planet Earth.|link=on}}

50-50 Earth icon
Planet Earth.