Difference between revisions of "Template:BrandIcon"

From SMT: Dx2 Wiki
Jump to: navigation, search
(typo)
(changing default to 32px)
 
Line 1: Line 1:
<includeonly>[[File:Icon BrandEffect {{{1}}}.png|{{{size|50px}}}|link=]]  {{#if:{{{name|}}}|{{{1|}}}|}}</includeonly><noinclude>
+
<includeonly>[[File:Icon BrandEffect {{{1}}}.png|{{{size|32px}}}|link=]]  {{#if:{{{name|}}}|{{{1|}}}|}}</includeonly><noinclude>
 
A template for displaying a brand set icon.
 
A template for displaying a brand set icon.
* Default size is 50 px, but can optionally set a size.
+
* Default size is 32 px, but can optionally set a size.
 
* May optionally include the set's name.  
 
* May optionally include the set's name.  
  
Line 7: Line 7:
 
{{BrandIcon|Divine}}
 
{{BrandIcon|Divine}}
  
<pre>{{BrandIcon|Divine|size=64px}}</pre>
+
<pre>{{BrandIcon|Divine|size=50px}}</pre>
{{BrandIcon|Divine|size=64px}}
+
{{BrandIcon|Divine|size=50px}}
  
 
<pre>{{BrandIcon|Divine|name=1}}</pre>
 
<pre>{{BrandIcon|Divine|name=1}}</pre>
 
{{BrandIcon|Divine|name=1}}
 
{{BrandIcon|Divine|name=1}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:53, 2 March 2025

A template for displaying a brand set icon.

  • Default size is 32 px, but can optionally set a size.
  • May optionally include the set's name.
{{BrandIcon|Divine}}

Icon BrandEffect Divine.png

{{BrandIcon|Divine|size=50px}}

Icon BrandEffect Divine.png

{{BrandIcon|Divine|name=1}}

Icon BrandEffect Divine.png Divine