Template:Iconbox

From TNOpediA
Revision as of 10:21, 17 June 2024 by DeficitSpender (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] Template documentation


Usage

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

{{Iconbox|Economic Genkokujo|We surpassed the Empire of Manchuria economically.|image=Achievement GNG economic gekokujo.png}}

Economic Genkokujo icon
Economic Genkokujo
We surpassed the Empire of Manchuria economically.


{{Iconbox|Asia's Finest|We reformed the GPF and exorcised corruption.|image=Achievement GNG asias finest.png|link=on}}

Asia's Finest icon
We reformed the GPF and exorcised corruption.