More actions
m (add "img" as a named alt parameter to the 1st unnamed variable) |
(now using bb-wiki-nav-button in common.css) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class=" | --><div class="bb-wiki-nav-button" style="width:{{#if:{{{widths|}}}|{{{widths|}}}|{{{width|96px}}}}}; {{{style|}}}"><!-- | ||
--><center>{{{header|}}}</center>{{#if:{{{1|{{{img|}}}}}}|[[File:{{{1|{{{img|}}}}}}|link={{{imglink|File:{{{1}}}}}}|center|{{{width|96px}}}]]}}<!-- | --><center>{{{header|}}}</center>{{#if:{{{1|{{{img|}}}}}}|[[File:{{{1|{{{img|}}}}}}|link={{{imglink|File:{{{1}}}}}}|center|{{{width|96px}}}]]}}<!-- |
Latest revision as of 22:33, 27 February 2021
Usage
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png |img=(named alt of {{{1|}}}) for Cargo queries |imglink=Ragna the Bloodedge |header=goes above the icon |caption=[[Ragna the Bloodedge]] |width=default is 96px |class=CSS classes to style the div wrapper |style=CSS style to style the div wrapper }}
For use with Template:Icon Grid.
The above documentation is transcluded from Template:Icon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |