Template:Notoriety icon: Difference between revisions

From Corsair Cove Official Wiki
m Added alt text
changed default to extra small like all other icons
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{size|md}}} | xs
<includeonly>{{#ifeq: {{{size|xs}}} | xs
| [[File:T_ICO_ShipType_Raider.png|x16px|Notoriety]]
| [[File:T_ICO_ShipType_Raider.png|x16px|Notoriety|link=]]
| <div style="position: relative; display: inline-block; width: {{#switch: {{{size|md}}}|sm=25|md=51|lg=76|xl=102}}px; height: {{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px; padding: 0; line-height: 0; font-size: 0;">[[File:T_Flag_Principle_Notoriety.png|x{{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px]]<div style="position: absolute; top: 30%; left: 20%; width: 60%; height: 50%;">[[File:T_ICO_VEC_P_Notoriety1.png|x{{#switch: {{{size|md}}}|sm=16|md=32|lg=48|xl=64}}px|Notoriety]]</div></div>
| <div style="position: relative; display: inline-block; width: {{#switch: {{{size|md}}}|sm=25|md=51|lg=76|xl=102}}px; height: {{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px; padding: 0; line-height: 0; font-size: 0;">[[File:T_Flag_Principle_Notoriety.png|x{{#switch: {{{size|md}}}|sm=32|md=64|lg=96|xl=128}}px|link=]]<div style="position: absolute; top: 30%; left: 20%; width: 60%; height: 50%;">[[File:T_ICO_VEC_P_Notoriety1.png|x{{#switch: {{{size|md}}}|sm=16|md=32|lg=48|xl=64}}px|Notoriety|link=]]</div></div>
}}</includeonly><noinclude>
}}</includeonly><noinclude>


Line 11: Line 11:
! Parameter !! Purpose
! Parameter !! Purpose
|-
|-
| <code>size=</code> || choose the size, or leave as empty for the default:
| <code>size=</code> || the size of the image, or omit this parameter and it will be the default extra small, appropriate for use inline in paragraphs:
* <code>xs</code> - generates a colored vector icon only, no background image
* <code>xs</code> - default, generates a colored vector icon only, no background image
* <code>sm</code>
* <code>sm</code>
* <code>md</code> - default
* <code>md</code>
* <code>lg</code>
* <code>lg</code>
* <code>xl</code>
* <code>xl</code>

Latest revision as of 01:58, 1 August 2026


Generates a Notoriety icon at standardized sizes.

Usage

Parameter Purpose
size= the size of the image, or omit this parameter and it will be the default extra small, appropriate for use inline in paragraphs:
  • xs - default, generates a colored vector icon only, no background image
  • sm
  • md
  • lg
  • xl

Examples

{{Notoriety icon|size=xs}}

Notoriety

{{Notoriety icon|size=sm}}
Notoriety
{{Notoriety icon|size=md}}
Notoriety
{{Notoriety icon|size=lg}}
Notoriety
{{Notoriety icon|size=xl}}
Notoriety


And in a table:

Notoriety extra small
Notoriety
small
Notoriety
medium
Notoriety
large
Notoriety
extra large