More actions
mNo edit summary |
m (fixed character names displaying wider than the icon) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div style="display:inline-block; vertical-align: | --><div style="display:inline-block; vertical-align:top; overflow-x: hidden; overflow-y: hidden; margin:.25em; line-height:normal; width:{{{width|96px}}};"><!-- | ||
-->{{#if:{{{element|}}}|<center><small>{{bbdw|{{{element|}}}}}</small></center>}}<!-- | -->{{#if:{{{element|}}}|<center><small>{{bbdw|{{{element|}}}}}</small></center>}}<!-- | ||
-->{{#if:{{{icon|}}}|[[File:{{{icon|}}}|link={{{pgname|}}}#{{{name|}}}|center| | -->{{#if:{{{icon|}}}|[[File:{{{icon|}}}|link={{{pgname|}}}#{{{name|}}}|center|{{{width|96px}}}]]}}<!-- | ||
--><center><small><!-- | --><center><small><!-- | ||
-->{{#if:{{{pgname|}}}|[[{{{pgname|}}}#{{{name|}}}|{{{name|}}}]]|{{{name|}}}}}<br/> <!-- | -->{{#if:{{{pgname|}}}|[[{{{pgname|}}}#{{{name|}}}|{{{name|}}}]]|{{{name|}}}}}<br/> <!-- | ||
Line 9: | Line 9: | ||
--></div></includeonly><noinclude>A simple icon template for [[Template:BBDW Character Versions]] modified from [[Template:Icon]]. Created to work with Cargo query constraints. | --></div></includeonly><noinclude>A simple icon template for [[Template:BBDW Character Versions]] modified from [[Template:Icon]]. Created to work with Cargo query constraints. | ||
==Usage== | ==Usage== | ||
Line 33: | Line 18: | ||
|rarity= | |rarity= | ||
|element= | |element= | ||
|width=default 96px | |||
}} | }} | ||
</nowiki></pre>[[Category:Templates]] | </nowiki></pre>[[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:19, 17 February 2021
A simple icon template for Template:BBDW Character Versions modified from Template:Icon. Created to work with Cargo query constraints.
Usage
{{BBDW Character Versions/1 |icon= |pgname= |name= |rarity= |element= |width=default 96px }}