Template:Notoriety icon: Difference between revisions

From Corsair Cove Official Wiki
Generates a Notoriety icon at some standardized sizes
 
m Added alt text
Line 1: Line 1:
<includeonly>{{#ifeq: {{{size|md}}} | xs
<includeonly>{{#ifeq: {{{size|md}}} | xs
| [[File:T_ICO_ShipType_Raider.png|x16px]]
| [[File:T_ICO_ShipType_Raider.png|x16px|Notoriety]]
| <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]]</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]]<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>
}}</includeonly><noinclude>
}}</includeonly><noinclude>



Revision as of 03:19, 24 July 2026


Generates a Notoriety icon at standardized sizes.

Usage

Parameter Purpose
size= choose the size, or leave as empty for the default:
  • xs - generates a colored vector icon only, no background image
  • sm
  • md - default
  • 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