Template:Iconbox: Difference between revisions
Content deleted Content added
Created page with "<includeonly><div style="display:flex; align-items:center;">[[File:{{#if:{{{image|}}}|{{{image}}}|{{{1|Achievement name}}}.{{{extension|png}}}}}|{{{1}}} icon|64px]] <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> {{te..." |
mNo edit summary |
||
Line 1:
<includeonly><div style="display:flex; align-items:center;">[[File:{{#if:{{{image|}}}|{{{image}}}|{{{1|Achievement name}}}.{{{extension|png}}}}}|{{{1}}} icon|64px]]
<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 iconbox/doc}}
[[Category:Templates]]
</noinclude>
|
Latest revision as of 11:23, 19 June 2024
Usage[edit source]
One item in a list of icons (achievements, disasters, etc.).
Parameter | Description | Status |
---|---|---|
1 (first unnamed parameter) | Name of achievement | required |
2 (second unnamed parameter) | In-game/Steam description of achievement | required |
link | Set to "on" to link to an article with the same name | optional |
extension | Set to the file extension of the achievement image. | optional (defaults to .png, ignored if image is provided) |
image | Name of image file (without File:) | optional (defaults to using the first parameter) |
Example[edit source]
{{Iconbox|Economic Genkokujo|We surpassed the Empire of Manchuria economically.|image=Achievement GNG economic gekokujo.png}}
{{Iconbox|Asia's Finest|We reformed the GPF and exorcised corruption.|image=Achievement GNG asias finest.png|link=on}}