Difference between revisions of "Ginfo"
From NEC Retro
(Created page with "<includeonly>{{clearvar|fileerror}}<!--{{#ifeq:{{#mediawidth:{{{1|}}}}}|0|{{#vardefine:fileerror|1}}}}{{#ifeq:{{#mediawidth:{{{1|}}}}}||{{#vardefine:fileerror|1}}}}{{#iferror:...") |
m |
||
Line 19: | Line 19: | ||
|[[File:{{{1|}}}|120x120px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}]] | |[[File:{{{1|}}}|120x120px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}]] | ||
}} | }} | ||
− | }}}}</div>{{#if: {{{2|}}} | {{#if: {{{3|}}} | <div style="background: #fff; border: 1px solid #ddd; color: #000; width: 100%"><div style="background: # | + | }}}}</div>{{#if: {{{2|}}} | {{#if: {{{3|}}} | <div style="background: #fff; border: 1px solid #ddd; color: #000; width: 100%"><div style="background: #EA302F; color: #fff; padding: 2px;">{{{2}}}</div><div style="padding: 2px;">{{{3}}}</div></div>}}}}</div></div></includeonly><noinclude> |
{{gallery|widths=200|screens=yes| | {{gallery|widths=200|screens=yes| | ||
{{ginfo|Notavailable.svg|Bonus stage 1|Characters destroy a car, similar to the first bonus stage of ''{{SegaLink|Final Fight}}''.}} | {{ginfo|Notavailable.svg|Bonus stage 1|Characters destroy a car, similar to the first bonus stage of ''{{SegaLink|Final Fight}}''.}} |
Latest revision as of 07:30, 7 July 2023
[[File:Error: String exceeds 1,000 character limit.|120x120px|]]
Error: String exceeds 1,000 character limit.
Displays a gallery item (such as an image or other media) with an infobox. Meant to be used with the gallery template.
Usage
{{gallery|widths=200|screens=yes| {{ginfo|Notavailable.svg|Bonus stage 1|Characters destroy a car, similar to the first bonus stage of ''{{SegaLink|Final Fight}}''.}} {{ginfo|Notavailable.svg|Bonus stage 2|Characters destroy rolling barrels as they fall from a conveyor belt.}} }}
The first argument is the file, the second argument is the heading, and the third argument is the caption text.